INFO: task syz-executor.3:5527 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27632 pid:5527 tgid:5520 ppid:5090 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:803 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] do_fchmodat fs/open.c:696 [inline] __do_sys_fchmodat fs/open.c:717 [inline] __se_sys_fchmodat fs/open.c:714 [inline] __x64_sys_fchmodat+0x10d/0x1f0 fs/open.c:714 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f9f4607dda9 RSP: 002b:00007f9f46d040c8 EFLAGS: 00000246 ORIG_RAX: 000000000000010c RAX: ffffffffffffffda RBX: 00007f9f461ac050 RCX: 00007f9f4607dda9 RDX: 000000008cffffff RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f9f460ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9f461ac050 R15: 00007ffce72af548 Showing all locks held in the system: 3 locks held by kworker/u8:1/11: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4818: #0: ffff88802a4ff0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.3/5521: 1 lock held by syz-executor.3/5527: #0: ffff8880a18402b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff8880a18402b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880a18402b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 4 locks held by syz-executor.2/5651: 1 lock held by syz-executor.2/5661: #0: ffff8880a1840940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff8880a1840940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880a1840940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 3 locks held by syz-executor.1/5769: 1 lock held by syz-executor.1/5776: #0: ffff88809f4382b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff88809f4382b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88809f4382b8 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 3 locks held by syz-executor.0/5866: 1 lock held by syz-executor.0/5876: #0: ffff88809f438940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff88809f438940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88809f438940 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 3 locks held by syz-executor.4/6057: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #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+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5521 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:current_gfp_context include/linux/sched/mm.h:237 [inline] RIP: 0010:fs_reclaim_acquire+0x1e/0x150 mm/page_alloc.c:3702 Code: 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 55 65 48 8b 2d d9 1a 29 7e 53 89 fb 48 8d 7d 2c <48> 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 RSP: 0018:ffffc900035ef670 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 0000000000108c48 RCX: ffffc90009af9000 RDX: 0000000000040000 RSI: ffffffff8209fe63 RDI: ffff888016f95a2c RBP: ffff888016f95a00 R08: 0000000000000007 R09: 0000018000000000 R10: 0000018000000000 R11: 0000000000000003 R12: ffff88801d493980 R13: 00000000000000a0 R14: 0000000000000200 R15: 0000000000000400 FS: 00007f9f46d256c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eaa9c22e48 CR3: 0000000028cb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: might_alloc include/linux/sched/mm.h:303 [inline] bdev_getblk+0x40/0xc0 fs/buffer.c:1425 __bread_gfp+0xa9/0x370 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:321 [inline] exfat_get_dentry+0x1a9/0x6b0 fs/exfat/dir.c:770 exfat_readdir+0x528/0x1520 fs/exfat/dir.c:121 exfat_iterate+0x3c2/0xad0 fs/exfat/dir.c:261 wrap_directory_iterator+0xa5/0xe0 fs/readdir.c:67 iterate_dir+0x292/0x9e0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents fs/readdir.c:311 [inline] __x64_sys_getdents+0x14f/0x2d0 fs/readdir.c:311 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f9f4607dda9 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:00007f9f46d250c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f9f461abf80 RCX: 00007f9f4607dda9 RDX: 00000000000000ee RSI: 0000000020000180 RDI: 0000000000000004 RBP: 00007f9f460ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9f461abf80 R15: 00007ffce72af548