INFO: task syz-executor.2:9631 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28920 pid:9631 tgid:9627 ppid:5093 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd70 kernel/locking/mutex.c:752 __fdget_pos+0x258/0x320 fs/file.c:1191 fdget_pos include/linux/file.h:74 [inline] __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x1c3/0x4d0 fs/readdir.c:311 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f570607dda9 RSP: 002b:00007f5706e8e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f57061ac050 RCX: 00007f570607dda9 RDX: 00000000000000aa RSI: 0000000020000280 RDI: 0000000000000006 RBP: 00007f57060ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f57061ac050 R15: 00007ffd8a23c658 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4816: #0: ffff88802a74d0a0 (&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+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5088: #0: ffff888081d240e0 (&type->s_umount_key#51){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888081d240e0 (&type->s_umount_key#51){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888081d240e0 (&type->s_umount_key#51){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 4 locks held by kworker/u4:0/7325: 3 locks held by syz-executor.2/9628: 1 lock held by syz-executor.2/9631: #0: ffff88802af594c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 3 locks held by syz-executor.4/9956: 1 lock held by syz-executor.4/9957: #0: ffff888035da3248 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 3 locks held by syz-executor.1/11124: 1 lock held by syz-executor.1/11126: #0: ffff888024faad48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 3 locks held by syz-executor.3/11403: 1 lock held by syz-executor.3/11413: #0: ffff88803508efc8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 1 lock held by syz-executor.1/11448: 4 locks held by syz-executor.4/11447: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9956 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:kasan_check_range+0xc/0x290 mm/kasan/generic.c:188 Code: 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 41 54 53 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 RSP: 0018:ffffc90009717640 EFLAGS: 00000246 RAX: ffffffff8214b92e RBX: ffff888038784ee0 RCX: ffffffff8214b93f RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888038784ee0 RBP: 1ffff920012e2f28 R08: ffffffff82724897 R09: 1ffff110070f09d0 R10: dffffc0000000000 R11: ffffed10070f09d1 R12: dffffc0000000000 R13: 0000000000000005 R14: ffff888038784e80 R15: ffffc90009717940 FS: 00007fdc285746c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c013389000 CR3: 0000000066a98000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] __brelse+0x1f/0xa0 fs/buffer.c:1231 brelse include/linux/buffer_head.h:309 [inline] __exfat_ent_get fs/exfat/fatent.c:58 [inline] exfat_ent_get+0x1d7/0x400 fs/exfat/fatent.c:97 exfat_readdir fs/exfat/dir.c:187 [inline] exfat_iterate+0x1376/0x33e0 fs/exfat/dir.c:261 wrap_directory_iterator+0x94/0xe0 fs/readdir.c:67 iterate_dir+0x539/0x6f0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents+0x1ef/0x4d0 fs/readdir.c:311 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fdc2787dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc285740c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fdc279abf80 RCX: 00007fdc2787dda9 RDX: 00000000000000b6 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fdc278ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fdc279abf80 R15: 00007ffd53ba8b48