INFO: task syz-executor.0:16031 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27792 pid:16031 ppid: 6526 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:996 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1224 inode_lock_shared include/linux/fs.h:793 [inline] open_last_lookups fs/namei.c:3349 [inline] path_openat+0x844/0x3660 fs/namei.c:3556 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe189fdae9 RSP: 002b:00007efe15f52188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007efe18b11020 RCX: 00007efe189fdae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007efe18a57f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28cb3def R14: 00007efe15f52300 R15: 0000000000022000 INFO: task syz-executor.0:16035 blocked for more than 144 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27696 pid:16035 ppid: 6526 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:996 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1224 inode_lock_shared include/linux/fs.h:793 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x508/0x790 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2449 filename_lookup+0x270/0x640 fs/namei.c:2478 user_path_at_empty+0x40/0x1a0 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x10a/0x3f0 fs/stat.c:221 vfs_fstatat fs/stat.c:243 [inline] vfs_lstat include/linux/fs.h:3358 [inline] __do_sys_newlstat fs/stat.c:398 [inline] __se_sys_newlstat+0xba/0x750 fs/stat.c:392 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe189fdae9 RSP: 002b:00007efe15f31188 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00007efe18b110e0 RCX: 00007efe189fdae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007efe18a57f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28cb3def R14: 00007efe15f31300 R15: 0000000000022000 INFO: task syz-executor.0:16077 blocked for more than 145 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26960 pid:16077 ppid: 6526 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:996 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1224 inode_lock_shared include/linux/fs.h:793 [inline] lookup_slow fs/namei.c:1673 [inline] walk_component+0x508/0x790 fs/namei.c:1970 lookup_last fs/namei.c:2425 [inline] path_lookupat+0x19d/0x6c0 fs/namei.c:2449 filename_lookup+0x270/0x640 fs/namei.c:2478 user_path_at_empty+0x40/0x1a0 fs/namei.c:2801 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:489 [inline] __se_sys_chdir+0xa4/0x2a0 fs/open.c:483 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe189fdae9 RSP: 002b:00007efe15f10188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007efe18b111a0 RCX: 00007efe189fdae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007efe18a57f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28cb3def R14: 00007efe15f10300 R15: 0000000000022000 INFO: task syz-executor.0:16081 blocked for more than 146 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27664 pid:16081 ppid: 6526 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_write_slowpath+0xd47/0x1440 kernel/locking/rwsem.c:1117 __down_write_common kernel/locking/rwsem.c:1272 [inline] __down_write kernel/locking/rwsem.c:1281 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1528 inode_lock include/linux/fs.h:783 [inline] open_last_lookups fs/namei.c:3347 [inline] path_openat+0x853/0x3660 fs/namei.c:3556 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_creat fs/open.c:1304 [inline] __se_sys_creat fs/open.c:1298 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe189fdae9 RSP: 002b:00007efe15eef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007efe18b11260 RCX: 00007efe189fdae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007efe18a57f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28cb3def R14: 00007efe15eef300 R15: 0000000000022000 INFO: task syz-executor.0:16082 blocked for more than 147 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27792 pid:16082 ppid: 6526 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x541/0x980 kernel/locking/rwsem.c:996 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1224 inode_lock_shared include/linux/fs.h:793 [inline] open_last_lookups fs/namei.c:3349 [inline] path_openat+0x844/0x3660 fs/namei.c:3556 do_filp_open+0x277/0x4f0 fs/namei.c:3586 do_sys_openat2+0x13b/0x500 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe189fdae9 RSP: 002b:00007efe15ece188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007efe18b11320 RCX: 00007efe189fdae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007efe18a57f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe28cb3def R14: 00007efe15ece300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cd1da80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6198: #0: ffff88807a70c0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by systemd-udevd/17152: 2 locks held by kworker/u4:3/6634: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 2 locks held by syz-executor.0/16015: 1 lock held by syz-executor.0/16031: #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x844/0x3660 fs/namei.c:3556 1 lock held by syz-executor.0/16035: #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x508/0x790 fs/namei.c:1970 1 lock held by syz-executor.0/16077: #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1673 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x508/0x790 fs/namei.c:1970 2 locks held by syz-executor.0/16081: #0: ffff88803aa38460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 1 lock held by syz-executor.0/16082: #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline] #0: ffff888085687c00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x844/0x3660 fs/namei.c:3556 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2964 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:_compound_head include/linux/page-flags.h:200 [inline] RIP: 0010:check_heap_object mm/usercopy.c:236 [inline] RIP: 0010:__check_object_size+0xfd/0x3f0 mm/usercopy.c:286 Code: e7 c0 49 bc 00 00 00 00 00 ea ff ff 4b 8d 6c 27 08 48 89 e8 48 c1 e8 03 80 3c 18 00 74 08 48 89 ef e8 37 5c f7 ff 48 8b 6d 00 <89> eb 83 e3 01 31 ff 48 89 de e8 e4 93 ab ff 48 85 db 0f 85 ed 01 RSP: 0018:ffffc9000202fc58 EFLAGS: 00000246 RAX: 1ffffd4000391759 RBX: dffffc0000000000 RCX: ffff88807ba93a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffea0001c8ba01 R08: ffffffff813bae57 R09: ffffffff81d8e5dd R10: 0000000000000003 R11: ffff88807ba93a00 R12: ffffea0000000000 R13: 0000000000000fe0 R14: ffff8880722eb320 R15: 0000000001c8bac0 FS: 00007f72578b18c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7255183000 CR3: 000000001e056000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_object_size include/linux/thread_info.h:185 [inline] strncpy_from_user+0x9f/0x350 lib/strncpy_from_user.c:137 getname_flags+0xf0/0x650 fs/namei.c:149 do_sys_openat2+0xd2/0x500 fs/open.c:1206 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1232 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7256e40840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fffd13ec608 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fffd13ec910 RCX: 00007f7256e40840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000564fa9b8bbd0 RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000564fa9b7e040 R14: 00007fffd13ec8d0 R15: 0000564fa9b8b9f0 ---------------- Code disassembly (best guess): 0: e7 c0 out %eax,$0xc0 2: 49 bc 00 00 00 00 00 movabs $0xffffea0000000000,%r12 9: ea ff ff c: 4b 8d 6c 27 08 lea 0x8(%r15,%r12,1),%rbp 11: 48 89 e8 mov %rbp,%rax 14: 48 c1 e8 03 shr $0x3,%rax 18: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 1c: 74 08 je 0x26 1e: 48 89 ef mov %rbp,%rdi 21: e8 37 5c f7 ff callq 0xfff75c5d 26: 48 8b 6d 00 mov 0x0(%rbp),%rbp * 2a: 89 eb mov %ebp,%ebx <-- trapping instruction 2c: 83 e3 01 and $0x1,%ebx 2f: 31 ff xor %edi,%edi 31: 48 89 de mov %rbx,%rsi 34: e8 e4 93 ab ff callq 0xffab941d 39: 48 85 db test %rbx,%rbx 3c: 0f .byte 0xf 3d: 85 ed test %ebp,%ebp 3f: 01 .byte 0x1