INFO: task syz.0.321:4940 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.321 state:D stack:28288 pid: 4940 ppid: 3568 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 iterate_supers+0x127/0x1e0 fs/super.c:716 ksys_sync+0xd7/0x1c0 fs/sync.c:104 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f638f9a9ef9 RSP: 002b:00007f638dde0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f638fb62130 RCX: 00007f638f9a9ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f638fa1cb76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f638fb62130 R15: 00007ffd36d64298 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3334: #0: ffff888029b51098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/u4:8/3708: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483 #1: ffff8880b9127848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 3 locks held by syz.2.145/4309: 2 locks held by syz.0.321/4940: #0: ffff888060a7c0e0 (&type->s_umount_key#108){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 #1: ffff88807b88c0e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 2 locks held by syz.1.583/5937: #0: ffff888060a7c0e0 (&type->s_umount_key#108){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 #1: ffff88807b88c0e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 2 locks held by syz-executor/6020: #0: ffff888020820918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888020808468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4309 Comm: syz.2.145 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data kernel/kcov.c:227 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x30/0x80 kernel/kcov.c:293 Code: 8b 15 e4 11 82 7e 65 8b 05 e5 11 82 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 34 16 00 00 00 74 52 8b 82 10 16 00 00 <83> f8 03 75 47 48 8b 8a 18 16 00 00 44 8b 92 14 16 00 00 49 c1 e2 RSP: 0018:ffffc90004037768 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8880604d2d10 RCX: dffffc0000000000 RDX: ffff88801b5a3b80 RSI: 0000000000000003 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff81e5ad1f R09: ffffed100c09a5a3 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff8880604d2cb0 R15: ffffc900040379c0 FS: 00007fe5663006c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3381fffc CR3: 0000000073e29000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __brelse+0x3f/0x90 fs/buffer.c:1144 brelse include/linux/buffer_head.h:325 [inline] __exfat_ent_get fs/exfat/fatent.c:57 [inline] exfat_ent_get+0x1d3/0x400 fs/exfat/fatent.c:96 exfat_readdir fs/exfat/dir.c:184 [inline] exfat_iterate+0xda2/0x34a0 fs/exfat/dir.c:258 iterate_dir+0x224/0x570 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x209/0x4f0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe567e87ef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe566300038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fe56803ff80 RCX: 00007fe567e87ef9 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000005 RBP: 00007fe567efab76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe56803ff80 R15: 00007ffeb578e6c8