INFO: task syz-executor.0:5314 blocked for more than 143 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26200 pid: 5314 ppid: 7117 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_read_slowpath+0x4c5/0x990 kernel/locking/rwsem.c:993 __down_read_common kernel/locking/rwsem.c:1214 [inline] __down_read kernel/locking/rwsem.c:1223 [inline] down_read+0xe4/0x440 kernel/locking/rwsem.c:1466 inode_lock_shared include/linux/fs.h:796 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x400/0x6a0 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x1bb/0x860 fs/namei.c:2449 filename_lookup+0x1c6/0x590 fs/namei.c:2478 user_path_at_empty+0x42/0x60 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:489 [inline] __se_sys_chdir fs/open.c:483 [inline] __x64_sys_chdir+0xb7/0x260 fs/open.c:483 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7f47810709 RSP: 002b:00007f7f44d66188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f7f47915020 RCX: 00007f7f47810709 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f7f4786acb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3d92351f R14: 00007f7f44d66300 R15: 0000000000022000 INFO: task syz-executor.0:5318 blocked for more than 144 seconds. Not tainted 5.15.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27960 pid: 5318 ppid: 7117 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107 __down_write_common kernel/locking/rwsem.c:1262 [inline] __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1271 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1518 inode_lock include/linux/fs.h:786 [inline] open_last_lookups fs/namei.c:3349 [inline] path_openat+0x941/0x2740 fs/namei.c:3558 do_filp_open+0x1aa/0x400 fs/namei.c:3588 do_sys_openat2+0x16d/0x4d0 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7f47810709 RSP: 002b:00007f7f44d45188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7f479150e0 RCX: 00007f7f47810709 RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000200 RBP: 00007f7f4786acb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3d92351f R14: 00007f7f44d45300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8b97d420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6447: #0: ffff88801f6391b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by rs:main Q:Reg/6448: #0: ffff8880289893b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffff8880b9d1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39d/0x480 kernel/sched/psi.c:880 1 lock held by systemd-udevd/18193: 3 locks held by systemd-udevd/18245: 3 locks held by syz-executor.0/5301: 1 lock held by syz-executor.0/5314: #0: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:796 [inline] #0: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:1970 2 locks held by syz-executor.0/5318: #0: ffff888073612460 (sb_writers#21){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3341 [inline] #0: ffff888073612460 (sb_writers#21){.+.+}-{0:0}, at: path_openat+0x25c9/0x2740 fs/namei.c:3558 #1: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #1: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #1: ffff8880984a5c30 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x941/0x2740 fs/namei.c:3558 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: rcu_gp process_srcu RIP: 0010:delay_tsc+0x2e/0xb0 arch/x86/lib/delay.c:79 Code: fd bf 01 00 00 00 41 54 55 53 e8 fd c1 56 fd e8 f8 13 3d 05 41 89 c4 0f 01 f9 66 90 48 c1 e2 20 48 09 c2 48 89 d5 eb 16 f3 90 01 00 00 00 e8 d8 c1 56 fd e8 d3 13 3d 05 44 39 e0 75 36 0f 01 RSP: 0018:ffffc90000edfba8 EFLAGS: 00000286 RAX: 0000000080000000 RBX: 00000499df3cbd80 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 00000499df3cb928 R08: 0000000000000008 R09: ffffc90000edfb7f R10: ffffffff83f37ff4 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000002ced R14: fffffbfff2057e06 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a4c786000 CR3: 00000000824e5000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: try_check_zero+0x222/0x420 kernel/rcu/srcutree.c:702 srcu_advance_state kernel/rcu/srcutree.c:1227 [inline] process_srcu+0x2f2/0xec0 kernel/rcu/srcutree.c:1325 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: fd std 1: bf 01 00 00 00 mov $0x1,%edi 6: 41 54 push %r12 8: 55 push %rbp 9: 53 push %rbx a: e8 fd c1 56 fd callq 0xfd56c20c f: e8 f8 13 3d 05 callq 0x53d140c 14: 41 89 c4 mov %eax,%r12d 17: 0f 01 f9 rdtscp 1a: 66 90 xchg %ax,%ax 1c: 48 c1 e2 20 shl $0x20,%rdx 20: 48 09 c2 or %rax,%rdx 23: 48 89 d5 mov %rdx,%rbp 26: eb 16 jmp 0x3e 28: f3 90 pause * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 d8 c1 56 fd callq 0xfd56c20c 34: e8 d3 13 3d 05 callq 0x53d140c 39: 44 39 e0 cmp %r12d,%eax 3c: 75 36 jne 0x74 3e: 0f .byte 0xf 3f: 01 .byte 0x1