INFO: task syz.0.15:4993 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: 4993 ppid: 4743 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:0x7f6be86dd849 RSP: 002b:00007f6be793a058 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f6be88a3080 RCX: 00007f6be86dd849 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f6be8750986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f6be88a3080 R15: 00007fffd7c87db8 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:5/1283: 2 locks held by getty/3928: #0: ffff88802c1b7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&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/4992: 2 locks held by syz.0.15/4993: #0: ffff888024172460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068e182b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068e182b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 3 locks held by syz.1.16/5008: 2 locks held by syz.1.16/5009: #0: ffff88807a9d6460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068f782b0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068f782b0 (&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/5024: 2 locks held by syz.2.17/5025: #0: ffff888023d50460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068e18930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068e18930 (&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/5040: 2 locks held by syz.3.18/5041: #0: ffff8880251c6460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068e18fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068e18fb0 (&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/5064: 2 locks held by syz.4.19/5065: #0: ffff888074088460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068f78930 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068f78930 (&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/5088: 2 locks held by syz.5.20/5089: #0: ffff88807310e460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068f78fb0 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068f78fb0 (&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/5118: 2 locks held by syz.6.21/5119: #0: ffff888020b36460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068e19630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068e19630 (&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/5143: 2 locks held by syz.7.22/5144: #0: ffff88807e58c460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888068f79630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888068f79630 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x670 fs/namei.c:4197 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4992 Comm: syz.0.15 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:344 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:895 [inline] RIP: 0010:trace_block_touch_buffer include/trace/events/block.h:45 [inline] RIP: 0010:touch_buffer+0x68/0x200 fs/buffer.c:62 Code: 00 00 e8 8b ef 9a ff 89 e8 c1 e8 06 48 8d 3c c5 68 60 0a 8e be 08 00 00 00 e8 24 cd e4 ff 89 e8 31 ed 48 0f a3 05 f0 ca 24 0c <0f> 92 c3 40 0f 92 c5 bf 02 00 00 00 89 ee e8 b5 f1 9a ff 31 ff 89 RSP: 0018:ffffc900010ef450 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 0000000000000200 RCX: ffffffff81e5956c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0a6068 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1c14c0e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888070e8a910 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000036540 FS: 00007f6be795b6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbc52f1866 CR3: 000000007ab91000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __find_get_block+0x2d7/0x1350 fs/buffer.c:1314 __getblk_gfp+0x2d/0xaf0 fs/buffer.c:1332 __bread_gfp+0x2a/0x390 fs/buffer.c:1381 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:0x7f6be86dd849 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:00007f6be795b058 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f6be88a2fa0 RCX: 00007f6be86dd849 RDX: 00000000000000b6 RSI: 0000000020001fc0 RDI: 0000000000000004 RBP: 00007f6be8750986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6be88a2fa0 R15: 00007fffd7c87db8