INFO: task syz-executor.5:23670 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211108-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27776 pid:23670 ppid: 7032 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 io_uring_cancel_generic+0x53d/0x690 fs/io_uring.c:9846 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2830 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:0x7f43d7757ae7 RSP: 002b:00007f43d4ccd218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 00000000000000ca RBX: 00007f43d786af68 RCX: 00007f43d7757ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f43d786af68 RBP: 00007f43d786af60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f43d786af6c R13: 00007ffec5b3b47f R14: 00007f43d4ccd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by in:imklog/6234: 2 locks held by agetty/6462: #0: ffff888022ef3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc9000294c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-next-20211108-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 13295 Comm: kworker/u4:3 Not tainted 5.15.0-next-20211108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_release kernel/locking/lockdep.c:5323 [inline] RIP: 0010:lock_release+0x22c/0x720 kernel/locking/lockdep.c:5657 Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 94 04 00 00 <8b> 73 24 85 f6 0f 85 28 04 00 00 48 8d 7b 22 48 b8 00 00 00 00 00 RSP: 0000:ffffc9000bf379a8 EFLAGS: 00000046 RAX: 0000000000000007 RBX: ffff88802f8b2848 RCX: ffffc9000bf379f8 RDX: 0000000000000000 RSI: ffffffff8ba4d5a8 RDI: ffff88802f8b286c RBP: 1ffff920017e6f37 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8ba4d5a8 R13: 0000000000000005 R14: ffff88802f8b27a0 R15: ffff88802f8b1d40 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1cbc81b11 CR3: 000000000b88e000 CR4: 00000000003526f0 Call Trace: __mutex_unlock_slowpath+0x99/0x5e0 kernel/locking/mutex.c:900 arch_jump_label_transform_queue+0xa0/0x100 arch/x86/kernel/jump_label.c:139 __jump_label_update+0x12e/0x400 kernel/jump_label.c:451 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:746 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:724 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 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: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 89 fa mov %rdi,%rdx d: 48 c1 ea 03 shr $0x3,%rdx 11: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 15: 48 89 f8 mov %rdi,%rax 18: 83 e0 07 and $0x7,%eax 1b: 83 c0 03 add $0x3,%eax 1e: 38 d0 cmp %dl,%al 20: 7c 08 jl 0x2a 22: 84 d2 test %dl,%dl 24: 0f 85 94 04 00 00 jne 0x4be * 2a: 8b 73 24 mov 0x24(%rbx),%esi <-- trapping instruction 2d: 85 f6 test %esi,%esi 2f: 0f 85 28 04 00 00 jne 0x45d 35: 48 8d 7b 22 lea 0x22(%rbx),%rdi 39: 48 rex.W 3a: b8 00 00 00 00 mov $0x0,%eax