INFO: task syz.7.131:7243 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.131 state:D stack:24112 pid:7243 tgid:7242 ppid:6511 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 exfat_sync_fs+0xb0/0x160 fs/exfat/super.c:56 iterate_supers+0xc6/0x190 fs/super.c:934 ksys_sync+0xdb/0x1c0 fs/sync.c:104 __do_sys_sync+0xe/0x20 fs/sync.c:113 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:0x7fc7bcf7e719 RSP: 002b:00007fc7bdd9e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fc7bd135f80 RCX: 00007fc7bcf7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fc7bcff139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc7bd135f80 R15: 00007ffead9e9d48 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff88814cfc0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814cfc0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000107d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:2/35: 3 locks held by kworker/0:2/969: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90003b07d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003b07d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff88805635d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 2 locks held by kworker/u8:6/1132: #0: ffff88801eab0948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801eab0948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90003e57d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003e57d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 2 locks held by dhcpcd/5496: #0: ffffffff8fca5e88 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x661/0x8e0 net/socket.c:1308 #1: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0x112/0x9d0 net/8021q/vlan.c:553 2 locks held by getty/5588: #0: ffff88814cff10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5830: 2 locks held by syz.7.131/7243: #0: ffff888034aaa0e0 (&type->s_umount_key#52){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888034aaa0e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88807ae540e8 (&sbi->s_lock){+.+.}-{3:3}, at: exfat_sync_fs+0xb0/0x160 fs/exfat/super.c:56 1 lock held by syz-executor/8164: #0: ffff888011a620e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888011a620e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888011a620e0 (&type->s_umount_key#73){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 4 locks held by bch-reclaim/loo/8967: #0: ffff8880663cb0a8 (&j->reclaim_lock){+.+.}-{3:3}, at: bch2_journal_reclaim_thread+0x167/0x560 fs/bcachefs/journal_reclaim.c:739 #1: ffff888066384398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:151 [inline] #1: ffff888066384398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:250 [inline] #1: ffff888066384398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7de/0xd20 fs/bcachefs/btree_iter.c:3228 #2: ffff888066384740 (&wb->flushing.lock){+.+.}-{3:3}, at: btree_write_buffer_flush_seq+0x1a39/0x1bc0 fs/bcachefs/btree_write_buffer.c:509 #3: ffff8880663a66d0 (&c->gc_lock){++++}-{3:3}, at: bch2_btree_update_start+0x682/0x14e0 fs/bcachefs/btree_update_interior.c:1202 3 locks held by syz-executor/9320: #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 #1: ffff88806dc99428 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50 #2: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #2: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 4 locks held by syz.0.335/9508: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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: 5830 Comm: syz-executor Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x454/0x780 kernel/locking/lockdep.c:4407 Code: ff df e9 41 ff ff ff 48 c7 c7 40 dc 0a 8c e8 23 b7 4e 0a 48 ba 00 00 00 00 00 fc ff df b8 ff ff ff ff 65 0f c1 05 0c 7b 92 7e <83> f8 01 4c 8b 7c 24 18 75 38 48 c7 44 24 20 0e 36 e0 45 4a c7 04 RSP: 0018:ffffc90003d17300 EFLAGS: 00000057 RAX: 0000000000000001 RBX: ffff88803201a958 RCX: ffffffff8170bf9a RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c603460 RBP: ffffc90003d173a8 R08: ffffffff94297907 R09: 1ffffffff2852f20 R10: dffffc0000000000 R11: fffffbfff2852f21 R12: ffff88803201a978 R13: 0000000000000003 R14: ffff88803201a8d8 R15: 1ffff1100640351b FS: 000055557c13e500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f87aa1ff000 CR3: 00000000664c8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 lookup_bh_lru fs/buffer.c:1388 [inline] __find_get_block+0x573/0x1150 fs/buffer.c:1400 bdev_getblk+0x33/0x550 fs/buffer.c:1431 __bread_gfp+0x86/0x400 fs/buffer.c:1491 sb_bread include/linux/buffer_head.h:346 [inline] exfat_get_dentry+0x53b/0x730 fs/exfat/dir.c:691 exfat_readdir fs/exfat/dir.c:121 [inline] exfat_iterate+0xb69/0x3390 fs/exfat/dir.c:261 wrap_directory_iterator+0x91/0xd0 fs/readdir.c:65 iterate_dir+0x571/0x800 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:407 [inline] __se_sys_getdents64+0x1d3/0x4a0 fs/readdir.c:392 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:0x7f6d6b3b08b3 Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 62 43 f8 ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 d8 RSP: 002b:00007ffd0d1a96b8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 000055557c159600 RCX: 00007f6d6b3b08b3 RDX: 0000000000008000 RSI: 000055557c159600 RDI: 0000000000000005 RBP: 000055557c1595d4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000010 R14: 000055557c1595d0 R15: 00007ffd0d1ab960