INFO: task syz.9.1904:12718 blocked for more than 143 seconds. Not tainted 6.12.0-rc5-next-20241030-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.1904 state:D stack:26936 pid:12718 tgid:12710 ppid:8758 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5327 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6707 __schedule_loop kernel/sched/core.c:6784 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6799 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6856 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 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:0x7fe5a9d7e719 RSP: 002b:00007fe5aabc2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fe5a9f36058 RCX: 00007fe5a9d7e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fe5a9df132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fe5a9f36058 R15: 00007ffcb13de658 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e939f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5604: #0: ffff8880362f20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032232f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/10908: 2 locks held by syz.9.1904/12718: #0: ffff8880339500e0 (&type->s_umount_key#79){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880339500e0 (&type->s_umount_key#79){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88807d0a00e8 (&sbi->s_lock){+.+.}-{4:4}, at: exfat_sync_fs+0xb0/0x160 fs/exfat/super.c:56 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-next-20241030-syzkaller #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:234 [inline] watchdog+0xffb/0x1040 kernel/hung_task.c:397 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 10908 Comm: syz-executor Not tainted 6.12.0-rc5-next-20241030-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:debug_lockdep_rcu_enabled+0x2a/0x40 kernel/rcu/update.c:321 Code: f3 0f 1e fa 31 c0 83 3d 17 3c 59 04 00 74 1e 83 3d 9a 6d 59 04 00 74 15 65 48 8b 0c 25 00 d5 03 00 31 c0 83 b9 dc 0a 00 00 00 <0f> 94 c0 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 RSP: 0018:ffffc9000cd7f498 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888060055e80 RCX: ffff88801ef0da00 RDX: 0000000000000000 RSI: 0000000000000141 RDI: ffffffff8c19bce0 RBP: ffffc9000cd7f5b8 R08: ffffffff82243ee3 R09: 1ffffffff2039fee R10: dffffc0000000000 R11: fffffbfff2039fef R12: 0000000000000000 R13: ffff888024e4c500 R14: 0000000000000141 R15: 1ffff920019afe9c FS: 000055555eea8500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ca8e8 CR3: 0000000062424000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __might_resched+0x90/0x780 kernel/sched/core.c:8633 might_alloc include/linux/sched/mm.h:321 [inline] bdev_getblk+0x89/0x550 fs/buffer.c:1427 __bread_gfp+0x86/0x400 fs/buffer.c:1485 sb_bread include/linux/buffer_head.h:346 [inline] __exfat_ent_get fs/exfat/fatent.c:48 [inline] exfat_ent_get+0x14d/0x400 fs/exfat/fatent.c:97 exfat_readdir fs/exfat/dir.c:187 [inline] exfat_iterate+0x1311/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:0x7fa1457b08b3 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:00007ffcf674ac18 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 000055555eec3600 RCX: 00007fa1457b08b3 RDX: 0000000000008000 RSI: 000055555eec3600 RDI: 0000000000000005 RBP: 000055555eec35d4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000010 R14: 000055555eec35d0 R15: 00007ffcf674cec0