INFO: task syz-executor.0:5998 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.0 state:D stack:28896 pid:5998 tgid:5994 ppid:5076 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 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_parentat+0xaa/0x1b0 fs/namei.c:2532 __filename_parentat+0x1f0/0x630 fs/namei.c:2556 filename_parentat fs/namei.c:2574 [inline] filename_create+0xba/0x530 fs/namei.c:3873 do_mknodat+0x187/0x5d0 fs/namei.c:4038 __do_sys_mknodat fs/namei.c:4082 [inline] __se_sys_mknodat fs/namei.c:4079 [inline] __x64_sys_mknodat+0xb1/0xe0 fs/namei.c:4079 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:0x7f14f1c7dda9 RSP: 002b:00007f14f2a1d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007f14f1dac050 RCX: 00007f14f1c7dda9 RDX: 0000000000000100 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007f14f1cca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f14f1dac050 R15: 00007ffec4762b28 Showing all locks held in the system: 1 lock held by khungtaskd/30: #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/4816: #0: ffff88802a79c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.4/5630: 2 locks held by syz-executor.2/5968: 2 locks held by syz-executor.0/5995: 1 lock held by syz-executor.0/5998: #0: ffff888076bf4c18 (&type->i_mutex_dir_key#9){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff888076bf4c18 (&type->i_mutex_dir_key#9){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff888076bf4c18 (&type->i_mutex_dir_key#9){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 4 locks held by syz-executor.0/6131: 2 locks held by kworker/u8:10/6159: 2 locks held by syz-executor.3/6537: 1 lock held by syz-executor.1/7380: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5630 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:mark_lock+0xc3/0xc60 kernel/locking/lockdep.c:4656 Code: 84 97 00 00 00 41 bd 01 00 00 00 44 89 f1 41 d3 e5 4d 63 ed 48 89 df e8 9b 6b ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d 78 60 <48> 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 9d 09 00 00 4c 89 ee 48 23 RSP: 0018:ffffc9000356f390 EFLAGS: 00000082 RAX: ffffffff93dcc058 RBX: ffff888022f56528 RCX: ffffffff816a5d5e RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff93dcc0b8 RBP: ffffc9000356f4d0 R08: 0000000000000000 R09: fffffbfff27b4e3b R10: ffffffff93da71df R11: 0000000000000002 R12: ffff888022f55a00 R13: 0000000000000040 R14: 0000000000000006 R15: 1ffff920006ade78 FS: 00007f0cb4e026c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020151000 CR3: 0000000025574000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4591 [inline] __lock_acquire+0x979/0x3b30 kernel/locking/lockdep.c:5091 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __find_get_block_slow fs/buffer.c:207 [inline] __find_get_block fs/buffer.c:1401 [inline] __find_get_block+0x1a0/0xc70 fs/buffer.c:1395 bdev_getblk+0x2c/0xc0 fs/buffer.c:1423 __bread_gfp+0xa9/0x370 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:321 [inline] get_branch+0x2cb/0x6c0 fs/sysv/itree.c:102 get_block+0x1a1/0x15a0 fs/sysv/itree.c:222 block_read_full_folio+0x38f/0xa70 fs/buffer.c:2384 filemap_read_folio+0xe9/0x2c0 mm/filemap.c:2333 do_read_cache_folio+0x209/0x550 mm/filemap.c:3703 do_read_cache_page mm/filemap.c:3769 [inline] read_cache_page+0x5b/0x160 mm/filemap.c:3778 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1e5/0x690 fs/sysv/dir.c:157 sysv_inode_by_name+0x71/0x3b0 fs/sysv/dir.c:374 sysv_lookup fs/sysv/namei.c:38 [inline] sysv_lookup+0x8c/0x100 fs/sysv/namei.c:31 lookup_one_qstr_excl+0x11d/0x190 fs/namei.c:1607 do_rmdir+0x247/0x410 fs/namei.c:4257 __do_sys_rmdir fs/namei.c:4287 [inline] __se_sys_rmdir fs/namei.c:4285 [inline] __x64_sys_rmdir+0xc7/0x110 fs/namei.c:4285 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:0x7f0cb407dda9 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:00007f0cb4e020c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f0cb41abf80 RCX: 00007f0cb407dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 RBP: 00007f0cb40ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0cb41abf80 R15: 00007ffdc5c64b98