INFO: task syz.3.14:5446 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.14 state:D stack:27424 pid:5446 tgid:5421 ppid:5220 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6674 __schedule_loop kernel/sched/core.c:6751 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6766 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1715 [inline] sb_start_write include/linux/fs.h:1851 [inline] quotactl_block fs/quota/quota.c:899 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl+0x89e/0xa30 fs/quota/quota.c:917 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff35eb7def9 RSP: 002b:00007ff35f927038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007ff35ed36058 RCX: 00007ff35eb7def9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffff80000800 RBP: 00007ff35ebf0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff35ed36058 R15: 00007fff06d03c78 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 5 locks held by kworker/u8:3/52: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000bd7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000bd7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcac1d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xaa0 net/core/dev.c:11930 #4: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e93d478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u8:7/2521: #0: ffff88814b517948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814b517948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90009137d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90009137d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4736 3 locks held by kworker/u8:9/2974: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90009e67d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90009e67d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by dhcpcd/4885: #0: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1aa0 net/ipv4/devinet.c:1097 2 locks held by getty/4979: #0: ffff88802ecef0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:4/5274: #0: ffff88801ac81148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc9000460fd00 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000460fd00 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff888055f80278 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_read_only_work+0x25/0x40 fs/bcachefs/super.c:391 1 lock held by syz.3.14/5446: #0: ffff88807e89c420 (sb_writers#21){++++}-{0:0}, at: do_syscall_x64 arch/x86/entry/common.c:52 [inline] #0: ffff88807e89c420 (sb_writers#21){++++}-{0:0}, at: do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 2 locks held by syz-executor/5439: #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff888055f80278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xfd/0x540 fs/bcachefs/super.c:617 1 lock held by syz.1.167/6747: #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 1 lock held by syz.1.198/7025: #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.233/7115: #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/7590: #0: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643 1 lock held by syz.1.297/7634: #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880299900e0 (&type->s_umount_key#110){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.304/7683: #0: ffffffff8fcb8cc8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x48c/0x2400 drivers/net/tun.c:3121 1 lock held by syz.4.311/7707: #0: ffffffff8e93d340 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4561 2 locks held by syz.2.312/7711: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.11.0-syzkaller-08481-g88264981f208 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_release kernel/locking/lockdep.c:5527 [inline] RIP: 0010:lock_release+0x35b/0xa30 kernel/locking/lockdep.c:5843 Code: 0e 4c 89 f7 48 89 d3 e8 13 aa 8a 00 48 89 da 4d 8b 36 48 8b 5c 24 20 48 81 c3 d0 0a 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 14 48 89 df 4d 89 fd 49 89 d7 e8 d5 aa 8a 00 4c 89 fa 4d 89 ef RSP: 0018:ffffc90000117a20 EFLAGS: 00000046 RAX: 1ffff11003a56c9a RBX: ffff88801d2b64d0 RCX: ffffc90000117a03 RDX: 0000000000000002 RSI: ffff88801d2b64d8 RDI: ffff88801d2b6530 RBP: ffffc90000117b48 R08: ffffffff901b4b2f R09: 1ffffffff2036965 R10: dffffc0000000000 R11: fffffbfff2036966 R12: 0000000000000002 R13: 0000000000020022 R14: 2ce4822c53ec0be5 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555558d445c8 CR3: 000000007ef84000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244