INFO: task syz-executor.0:24572 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26960 pid:24572 ppid: 6532 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:0x7fd5c3f3dae9 RSP: 002b:00007fd5c1492188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd5c4051020 RCX: 00007fd5c3f3dae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007fd5c3f97f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd84724c1f R14: 00007fd5c1492300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1dd40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6173: #0: ffff88807b537c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by kworker/u4:19/10290: 2 locks held by syz-executor.0/24572: #0: ffff88809712c460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff88808d2196d0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff88808d2196d0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff88808d2196d0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 2 locks held by syz-executor.0/24588: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 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: 2966 Comm: systemd-journal Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x33a/0x2b00 kernel/locking/lockdep.c:4961 Code: 1a 00 00 48 8b 9c 24 88 00 00 00 83 fb 31 48 8b 7c 24 18 0f 83 b9 22 00 00 48 89 54 24 78 4c 8d 24 9b 4a 8d 9c e7 80 0a 00 00 <48> 89 d8 48 c1 e8 03 48 89 44 24 38 8a 04 30 84 c0 0f 85 c3 1b 00 RSP: 0018:ffffc90001cef520 EFLAGS: 00000046 RAX: ffffffff8f8e0b00 RBX: ffff88807a830a80 RCX: 0000000000000000 RDX: 0000000000000028 RSI: dffffc0000000000 RDI: ffff88807a830000 RBP: ffffc90001cef670 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff1bfd15e R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000028 R15: ffff88807a830a58 FS: 00007fa4024e08c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3fecdd000 CR3: 0000000022c72000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] dput+0x56/0x6e0 fs/dcache.c:874 path_put fs/namei.c:557 [inline] terminate_walk+0x3dc/0x570 fs/namei.c:676 path_openat+0x278a/0x3660 fs/namei.c:3560 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:0x7fa401a6f840 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:00007ffe5a91ae18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe5a91b120 RCX: 00007fa401a6f840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055e703ddf630 RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055e703dd4040 R14: 00007ffe5a91b0e0 R15: 000055e703ddf450 ---------------- Code disassembly (best guess): 0: 1a 00 sbb (%rax),%al 2: 00 48 8b add %cl,-0x75(%rax) 5: 9c pushfq 6: 24 88 and $0x88,%al 8: 00 00 add %al,(%rax) a: 00 83 fb 31 48 8b add %al,-0x74b7ce05(%rbx) 10: 7c 24 jl 0x36 12: 18 0f sbb %cl,(%rdi) 14: 83 b9 22 00 00 48 89 cmpl $0xffffff89,0x48000022(%rcx) 1b: 54 push %rsp 1c: 24 78 and $0x78,%al 1e: 4c 8d 24 9b lea (%rbx,%rbx,4),%r12 22: 4a 8d 9c e7 80 0a 00 lea 0xa80(%rdi,%r12,8),%rbx 29: 00 * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 48 89 44 24 38 mov %rax,0x38(%rsp) 36: 8a 04 30 mov (%rax,%rsi,1),%al 39: 84 c0 test %al,%al 3b: 0f .byte 0xf 3c: 85 c3 test %eax,%ebx 3e: 1b 00 sbb (%rax),%eax