INFO: task syz-executor.1:4975 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25680 pid: 4975 ppid: 3629 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1041 __down_read_common kernel/locking/rwsem.c:1223 [inline] __down_read kernel/locking/rwsem.c:1232 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1472 mmap_read_lock include/linux/mmap_lock.h:117 [inline] exit_mm kernel/exit.c:483 [inline] do_exit+0xa0a/0x2b40 kernel/exit.c:819 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc8dbe01e99 RSP: 002b:00007fc8da777168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: fffffffffffffff5 RBX: 00007fc8dbf14f60 RCX: 00007fc8dbe01e99 RDX: 0000000000000078 RSI: 0000000020000300 RDI: 0000000000000005 RBP: 00007fc8dbe5bff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8a2a875f R14: 00007fc8da777300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb812a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/u4:2/44: 2 locks held by getty/3281: #0: ffff88814af26098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.1/4971: #0: ffff888021230268 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff888021230268 (&mm->mmap_lock#2){++++}-{3:3}, at: do_mprotect_pkey+0x1e0/0x980 mm/mprotect.c:551 1 lock held by syz-executor.1/4975: #0: ffff888021230268 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff888021230268 (&mm->mmap_lock#2){++++}-{3:3}, at: exit_mm kernel/exit.c:483 [inline] #0: ffff888021230268 (&mm->mmap_lock#2){++++}-{3:3}, at: do_exit+0xa0a/0x2b40 kernel/exit.c:819 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-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:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0x405/0x4f0 kernel/kthread.c:327 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: 136 Comm: kworker/0:2 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:unwind_next_frame+0x147e/0x1ce0 arch/x86/kernel/unwind_orc.c:617 Code: 85 48 05 00 00 83 e0 07 38 c2 40 0f 9e c6 84 d2 0f 95 c0 40 84 c6 0f 85 31 05 00 00 49 0f bf 00 48 01 44 24 60 e9 ea f1 ff ff <48> b8 00 00 00 00 00 fc ff df 48 8b 54 24 08 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc900027f7748 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920004feef1 RCX: 1ffff920004fef0c RDX: 1ffff920004fef04 RSI: ffffc900027f7ee8 RDI: ffffc900027f7ee8 RBP: 0000000000000001 R08: ffffffff8e0d8fb2 R09: 0000000000000001 R10: fffff520004fef0f R11: 000000000008808a R12: ffffc900027f7f18 R13: ffffc900027f7855 R14: ffffc900027f7820 R15: ffffc900027f7854 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bb5e0b5d68 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa6/0xd0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:269 [inline] kmem_cache_alloc_node_trace+0x208/0x5b0 mm/slab.c:3619 __do_kmalloc_node mm/slab.c:3639 [inline] __kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3654 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1127 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:745 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline] nsim_dev_trap_report_work+0x29a/0xbc0 drivers/net/netdevsim/dev.c:843 process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 85 48 05 test %ecx,0x5(%rax) 3: 00 00 add %al,(%rax) 5: 83 e0 07 and $0x7,%eax 8: 38 c2 cmp %al,%dl a: 40 0f 9e c6 setle %sil e: 84 d2 test %dl,%dl 10: 0f 95 c0 setne %al 13: 40 84 c6 test %al,%sil 16: 0f 85 31 05 00 00 jne 0x54d 1c: 49 0f bf 00 movswq (%r8),%rax 20: 48 01 44 24 60 add %rax,0x60(%rsp) 25: e9 ea f1 ff ff jmpq 0xfffff214 * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 39: 48 c1 ea 03 shr $0x3,%rdx 3d: 80 .byte 0x80 3e: 3c 02 cmp $0x2,%al