INFO: task syz-executor.2:16264 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24200 pid:16264 ppid:3673 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 d_wait_lookup+0x1ca/0x2b0 fs/dcache.c:2625 d_alloc_parallel+0x9a3/0x1240 fs/dcache.c:2707 __lookup_slow+0xfd/0x3a0 fs/namei.c:1670 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 vfs_statx+0x117/0x4a0 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0xed/0x7d0 fs/stat.c:431 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f22f1c8b639 RSP: 002b:00007f22f2aac168 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f22f1dac050 RCX: 00007f22f1c8b639 RDX: 0000000020000580 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007f22f1ce6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff226fdd7f R14: 00007f22f2aac300 R15: 0000000000022000 INFO: task syz-executor.2:16265 blocked for more than 144 seconds. Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24552 pid:16265 ppid:3673 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 d_wait_lookup+0x1ca/0x2b0 fs/dcache.c:2625 d_alloc_parallel+0x9a3/0x1240 fs/dcache.c:2707 lookup_open fs/namei.c:3338 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x8fb/0x2df0 fs/namei.c:3710 do_filp_open+0x264/0x4f0 fs/namei.c:3740 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f22f1c8b639 RSP: 002b:00007f22f2a8b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f22f1dac120 RCX: 00007f22f1c8b639 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f22f1ce6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff226fdd7f R14: 00007f22f2a8b300 R15: 0000000000022000 INFO: task syz-executor.2:16270 blocked for more than 145 seconds. Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24088 pid:16270 ppid:3673 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 d_wait_lookup+0x1ca/0x2b0 fs/dcache.c:2625 d_alloc_parallel+0x9a3/0x1240 fs/dcache.c:2707 __lookup_slow+0xfd/0x3a0 fs/namei.c:1670 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 vfs_statx+0x117/0x4a0 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0xed/0x7d0 fs/stat.c:431 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f22f1c8b639 RSP: 002b:00007f22f2a49168 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f22f1dac2c0 RCX: 00007f22f1c8b639 RDX: 0000000020000580 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007f22f1ce6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff226fdd7f R14: 00007f22f2a49300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8d327160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by khugepaged/34: 3 locks held by kworker/u4:2/41: 2 locks held by getty/3309: #0: ffff88814bd38098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.2/16258: #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.2/16264: #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.2/16265: #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: open_last_lookups fs/namei.c:3480 [inline] #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: path_openat+0x7aa/0x2df0 fs/namei.c:3710 1 lock held by syz-executor.2/16266: 1 lock held by syz-executor.2/16270: #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050c30 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.5/16399: 1 lock held by syz-executor.5/16406: #0: ffff888086050190 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050190 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 1 lock held by syz-executor.5/16410: 1 lock held by syz-executor.5/16432: #0: ffff888086050190 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888086050190 (&type->i_mutex_dir_key#11){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16399 Comm: syz-executor.5 Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:lockdep_hardirqs_on_prepare+0x62/0x790 kernel/locking/lockdep.c:4275 Code: 41 48 c7 44 24 28 d5 69 aa 8c 48 c7 44 24 30 f0 14 6a 81 48 8d 5c 24 20 48 c1 eb 03 48 b8 f1 f1 f1 f1 00 f3 f3 f3 48 89 04 13 <48> c7 c0 14 ca 97 8e 48 c1 e8 03 8a 04 10 84 c0 0f 85 5a 05 00 00 RSP: 0018:ffffc90015d0f0c0 EFLAGS: 00000802 RAX: f3f3f300f1f1f1f1 RBX: 1ffff92002ba1e1c RCX: 0000000000040000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff81fdf64c RBP: ffffc90015d0f168 R08: ffffffff81fdf555 R09: fffff9400047240f R10: fffff9400047240f R11: 1ffffd400047240e R12: fffffffffffffff1 R13: 0000000000000000 R14: 0000000000000200 R15: 0000000000035db0 FS: 00007fad485fc700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1608984058 CR3: 000000007db9b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49 lookup_bh_lru fs/buffer.c:1291 [inline] __find_get_block+0x28c/0x1110 fs/buffer.c:1303 __getblk_slow fs/buffer.c:1034 [inline] __getblk_gfp+0x11e/0x290 fs/buffer.c:1333 __bread_gfp+0x28/0x320 fs/buffer.c:1367 sb_bread include/linux/buffer_head.h:338 [inline] get_branch fs/minix/itree_common.c:46 [inline] get_block+0x312/0x1660 fs/minix/itree_common.c:166 block_read_full_folio+0x3b3/0xfa0 fs/buffer.c:2271 filemap_read_folio+0x187/0x7d0 mm/filemap.c:2407 do_read_cache_folio+0x2d3/0x790 mm/filemap.c:3534 do_read_cache_page mm/filemap.c:3576 [inline] read_cache_page+0x56/0x270 mm/filemap.c:3585 read_mapping_page include/linux/pagemap.h:756 [inline] dir_get_page fs/minix/dir.c:70 [inline] minix_find_entry+0x1b4/0x590 fs/minix/dir.c:170 minix_inode_by_name+0x7b/0x220 fs/minix/dir.c:454 minix_lookup+0xbf/0x150 fs/minix/namei.c:30 __lookup_slow+0x266/0x3a0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x296/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fad4788b639 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fad485fc168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fad479abf80 RCX: 00007fad4788b639 RDX: 0000000020000140 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00007fad478e6ae9 R08: 00000000200001c0 R09: 0000000000000000 R10: 00000000002a8001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9024691f R14: 00007fad485fc300 R15: 0000000000022000