INFO: task syz-executor.3:9291 blocked for more than 143 seconds. Not tainted 5.16.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27632 pid: 9291 ppid: 4392 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+0xdb7/0x1480 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1524 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:0x7f6f49524e99 RSP: 002b:00007f6f47e37168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f6f496381d0 RCX: 00007f6f49524e99 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 00000000200002c0 RBP: 00007f6f4957eff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc392b095f R14: 00007f6f47e37300 R15: 0000000000022000 INFO: task syz-executor.3:9292 blocked for more than 143 seconds. Not tainted 5.16.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28240 pid: 9292 ppid: 4392 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+0xdb7/0x1480 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write_nested+0x16f/0x180 kernel/locking/rwsem.c:1634 inode_lock_nested include/linux/fs.h:818 [inline] filename_create+0x1da/0x4e0 fs/namei.c:3654 do_mkdirat+0xae/0x530 fs/namei.c:3898 __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927 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:0x7f6f49523fa7 RSP: 002b:00007f6f47e15f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6f49523fa7 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 00000000200000c0 RBP: 00007f6f47e16020 R08: 0000000000000000 R09: 00000000008c8879 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000020000000 R13: 00000000200000c0 R14: 00007f6f47e15fe0 R15: 0000000000000000 INFO: task syz-executor.3:9293 blocked for more than 144 seconds. Not tainted 5.16.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28464 pid: 9293 ppid: 4392 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+0xdb7/0x1480 kernel/locking/rwsem.c:1151 __down_write_common kernel/locking/rwsem.c:1268 [inline] __down_write kernel/locking/rwsem.c:1277 [inline] down_write_nested+0x16f/0x180 kernel/locking/rwsem.c:1634 lock_rename+0x182/0x1a0 do_renameat2+0x75d/0x1450 fs/namei.c:4718 __do_sys_rename fs/namei.c:4823 [inline] __se_sys_rename fs/namei.c:4821 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4821 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:0x7f6f49524e99 RSP: 002b:00007f6f47df5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f6f49638370 RCX: 00007f6f49524e99 RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 0000000020000340 RBP: 00007f6f4957eff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc392b095f R14: 00007f6f47df5300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1de00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3294: #0: ffff88814abbf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by kworker/0:0/23576: #0: ffff888011466538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90003b9fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 1 lock held by syz-executor.3/9290: 2 locks held by syz-executor.3/9291: #0: ffff888074cfa460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888037006c10 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #1: ffff888037006c10 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline] #1: ffff888037006c10 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556 2 locks held by syz-executor.3/9292: #0: ffff888074cfa460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888037006c10 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:818 [inline] #1: ffff888037006c10 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x1da/0x4e0 fs/namei.c:3654 2 locks held by syz-executor.3/9293: #0: ffff888074cfa460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376 #1: ffff888037006c10 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0 2 locks held by dhcpcd/9359: #0: ffff8881415c0120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1645 [inline] #0: ffff8881415c0120 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xce0 net/packet/af_packet.c:3173 #1: ffffffff8cb22668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8cb22668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x740 kernel/rcu/tree_exp.h:836 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc8-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: 3183 Comm: dhcpcd Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:poll_schedule_timeout+0x10d/0x150 fs/select.c:244 Code: 87 06 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a5 80 a4 ff 48 8b 3c 24 48 8b 74 24 08 31 d2 e8 35 1d 2d 08 89 c5 <43> 80 3c 27 00 75 9a eb a0 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc90002bcf878 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888017f43a18 RCX: 63bc6064998a6400 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888017f450f0 RBP: 0000000000000000 R08: ffffffff818b1f40 R09: ffffc90002bcf5e0 R10: fffff52000579ecc R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888017f450f0 R14: ffffc90002bcf9e0 R15: 1ffff11002fe8a1e FS: 00007f7bd4856740(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005598bd01e680 CR3: 000000007400e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_poll fs/select.c:961 [inline] do_sys_poll+0xd83/0x11c0 fs/select.c:1011 __do_sys_ppoll fs/select.c:1117 [inline] __se_sys_ppoll+0x29c/0x330 fs/select.c:1097 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:0x7f7bd49429fb Code: f3 0f 6f 02 4c 8d 64 24 20 0f 11 44 24 20 64 8b 04 25 18 00 00 00 85 c0 75 25 41 b8 08 00 00 00 4c 89 e2 b8 0f 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 65 48 83 c4 30 41 5c c3 66 0f 1f 44 00 00 4c RSP: 002b:00007ffe4edb95e0 EFLAGS: 00000246 ORIG_RAX: 000000000000010f RAX: ffffffffffffffda RBX: 00005598bd52be20 RCX: 00007f7bd49429fb RDX: 00007ffe4edb9600 RSI: 0000000000000004 RDI: 00005598bd536b60 RBP: 00007ffe4edb9920 R08: 0000000000000008 R09: 0000000000000010 R10: 00007ffe4edb9920 R11: 0000000000000246 R12: 00007ffe4edb9600 R13: 00005598bd01d610 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 87 06 xchg %eax,(%rsi) 2: 89 e8 mov %ebp,%eax 4: 48 83 c4 10 add $0x10,%rsp 8: 5b pop %rbx 9: 41 5c pop %r12 b: 41 5d pop %r13 d: 41 5e pop %r14 f: 41 5f pop %r15 11: 5d pop %rbp 12: c3 retq 13: e8 a5 80 a4 ff callq 0xffa480bd 18: 48 8b 3c 24 mov (%rsp),%rdi 1c: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 21: 31 d2 xor %edx,%edx 23: e8 35 1d 2d 08 callq 0x82d1d5d 28: 89 c5 mov %eax,%ebp * 2a: 43 80 3c 27 00 cmpb $0x0,(%r15,%r12,1) <-- trapping instruction 2f: 75 9a jne 0xffffffcb 31: eb a0 jmp 0xffffffd3 33: 44 89 f1 mov %r14d,%ecx 36: 80 e1 07 and $0x7,%cl 39: 80 c1 03 add $0x3,%cl 3c: 38 c1 cmp %al,%cl 3e: 0f .byte 0xf 3f: 8c .byte 0x8c