INFO: task syz.0.15:4986 blocked for more than 143 seconds. Not tainted 5.15.175-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:28304 pid: 4986 ppid: 4795 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 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:0x7fbe7416d849 RSP: 002b:00007fbe733ca058 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007fbe74333080 RCX: 00007fbe7416d849 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007fbe741e0986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fbe74333080 R15: 00007ffd58167788 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1fd20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:4/1245: 2 locks held by getty/3923: #0: ffff88814cfa3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by syz.0.15/4985: 2 locks held by syz.0.15/4986: #0: ffff888025d3c460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e5102b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e5102b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 8 locks held by syz.1.16/5005: 2 locks held by syz.1.16/5006: #0: ffff88805b4c2460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e510930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e510930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.2.17/5021: 2 locks held by syz.2.17/5022: #0: ffff88801fa3a460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e510fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e510fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.3.18/5037: 2 locks held by syz.3.18/5038: #0: ffff88807e8ca460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e6b02b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e6b02b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.4.19/5060: 2 locks held by syz.4.19/5061: #0: ffff88806a2b0460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e511630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e511630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.5.20/5085: 2 locks held by syz.5.20/5086: #0: ffff88807a6d0460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e6b0930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e6b0930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.6.21/5115: 2 locks held by syz.6.21/5116: #0: ffff888022bd0460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e511cb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e511cb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.7.22/5140: 2 locks held by syz.7.22/5141: #0: ffff88807c3d6460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805e6b0fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805e6b0fb0 (&sb->s_type->i_mutex_key#21/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.175-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: 5085 Comm: syz.5.20 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:205 Code: 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d c8 dd 89 0c 48 89 de 5b e9 07 05 49 00 cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0d d4 ea 81 7e 65 8b 15 d5 ea 81 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc9000330f688 EFLAGS: 00000202 RAX: ffffffff81e5fab6 RBX: ffff8880711ef488 RCX: ffff8880200a3b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff81e5f9d7 R09: fffff94000316e01 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100e23de91 R13: 00000000000000a0 R14: 0000000000000008 R15: dffffc0000000000 FS: 00007fd2013256c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a33319866 CR3: 000000005ab8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bread_gfp+0x146/0x390 fs/buffer.c:1383 sb_bread include/linux/buffer_head.h:337 [inline] exfat_get_dentry+0x678/0x970 fs/exfat/dir.c:741 exfat_readdir fs/exfat/dir.c:122 [inline] exfat_iterate+0xc09/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:0x7fd2020a7849 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:00007fd201325058 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fd20226cfa0 RCX: 00007fd2020a7849 RDX: 00000000000000b6 RSI: 0000000020001fc0 RDI: 0000000000000004 RBP: 00007fd20211a986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd20226cfa0 R15: 00007fff21f30a98