INFO: task syz-executor422:4183 blocked for more than 143 seconds. Not tainted 5.15.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor422 state:D stack:28304 pid: 4183 ppid: 4179 flags:0x00004006 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 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 inode_lock_nested include/linux/fs.h:824 [inline] do_rmdir+0x225/0x670 fs/namei.c:4197 __do_sys_rmdir fs/namei.c:4229 [inline] __se_sys_rmdir fs/namei.c:4227 [inline] __x64_sys_rmdir+0x45/0x50 fs/namei.c:4227 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:0x7f86836ff789 RSP: 002b:00007f868369b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f86837876d8 RCX: 00007f86836ff789 RDX: 00007f86836d8ef6 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f86837876d0 R08: 00007ffd026242e7 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f868375307e R13: 00007f86837530e0 R14: 0030656c69662f2e R15: 0031656c69662f2e Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3926: #0: ffff88814cb63098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ce32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by syz-executor422/4181: 2 locks held by syz-executor422/4183: #0: ffff88802bb3c460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888073b902b0 (&sb->s_type->i_mutex_key#15/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888073b902b0 (&sb->s_type->i_mutex_key#15/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4181 Comm: syz-executor422 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 57 e0 3c 8c eb 0a 48 c7 c7 8f e0 3c 8c 4c 89 fe e8 66 25 73 08 31 db eb d7 cc cc <89> f6 48 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 RSP: 0018:ffffc90002daf7c0 EFLAGS: 00000282 RAX: ffffffff81e5d43a RBX: ffff888073bd65d0 RCX: ffff888020e93b80 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888073bd65d0 RBP: ffffc90002dafd68 R08: 0000000000000001 R09: ffffffff823c43b3 R10: 0000000000000002 R11: ffff888020e93b80 R12: ffff8880b4dcc1e0 R13: 000000000000000f R14: 0000000000000080 R15: 1ffff920005b5f38 FS: 00007f86836bc6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d6cb322600 CR3: 0000000072b64000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] __brelse+0x1b/0x90 fs/buffer.c:1144 brelse include/linux/buffer_head.h:325 [inline] exfat_readdir fs/exfat/dir.c:128 [inline] exfat_iterate+0xe81/0x34a0 fs/exfat/dir.c:258 iterate_dir+0x224/0x570 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0x1e8/0x4c0 fs/readdir.c:271 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:0x7f86836ff789 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 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:00007f86836bc218 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f86837876c8 RCX: 00007f86836ff789 RDX: 00000000000000b6 RSI: 0000000020001fc0 RDI: 0000000000000004 RBP: 00007f86837876c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f868375307e R13: 00007f86837530e0 R14: 0030656c69662f2e R15: 0031656c69662f2e