INFO: task syz-executor253:3652 blocked for more than 143 seconds. Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor253 state:D stack:24832 pid: 3652 ppid: 3633 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x939/0xea0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_timeout+0xac/0x300 kernel/time/timer.c:1860 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work kernel/workqueue.c:3075 [inline] __cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162 tls_sk_proto_close+0x120/0x970 net/tls/tls_main.c:307 inet_release+0x184/0x1e0 net/ipv4/af_inet.c:428 __sock_release net/socket.c:650 [inline] sock_close+0xd7/0x260 net/socket.c:1318 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6bda683753 RSP: 002b:00007fff98f72d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f6bda683753 RDX: fffffffffffffe60 RSI: 00000000200005c0 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffffe60 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff98f72db0 R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1ae60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3280: #0: ffff88801e241098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b832e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075 1 lock held by kworker/u4:2/3640: #0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:554 3 locks held by kworker/0:4/3643: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000309fd00 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88801daa70d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2300 1 lock held by syz-executor253/3652: #0: ffff888071a0be10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:748 [inline] #0: ffff888071a0be10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff888071a0be10 (&sb->s_type->i_mutex_key#9){+.+.}-{3:3}, at: sock_close+0x93/0x260 net/socket.c:1318 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #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+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3667 Comm: kworker/u4:3 Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4234 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x3b0/0x7b0 kernel/locking/lockdep.c:4294 Code: c0 75 53 8b 43 20 a9 00 00 04 00 74 2b 25 00 00 03 00 83 f8 01 ba 07 00 00 00 83 da 00 48 8b 7c 24 10 48 89 de e8 90 9e 00 00 <48> ba 00 00 00 00 00 fc ff df 85 c0 74 7e 49 ff c5 41 0f b6 04 17 RSP: 0018:ffffc900031ef6e0 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffff88807838e228 RCX: ffffffff81674358 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fb0efd0 RBP: ffffc900031ef7a0 R08: dffffc0000000000 R09: fffffbfff1f61dfb R10: fffffbfff1f61dfb R11: 1ffffffff1f61dfa R12: ffff88807838e248 R13: 0000000000000005 R14: ffff88807838e158 R15: 1ffff1100f071c2b FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec7ad0438 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x6f/0x80 kernel/trace/trace_preemptirq.c:49 __text_poke+0x799/0x9a0 arch/x86/kernel/alternative.c:1096 text_poke arch/x86/kernel/alternative.c:1121 [inline] text_poke_bp_batch+0x6a5/0x960 arch/x86/kernel/alternative.c:1436 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:764 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: c0 75 53 8b shlb $0x8b,0x53(%rbp) 4: 43 20 a9 00 00 04 00 rex.XB and %bpl,0x40000(%r9) b: 74 2b je 0x38 d: 25 00 00 03 00 and $0x30000,%eax 12: 83 f8 01 cmp $0x1,%eax 15: ba 07 00 00 00 mov $0x7,%edx 1a: 83 da 00 sbb $0x0,%edx 1d: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 22: 48 89 de mov %rbx,%rsi 25: e8 90 9e 00 00 callq 0x9eba * 2a: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx <-- trapping instruction 31: fc ff df 34: 85 c0 test %eax,%eax 36: 74 7e je 0xb6 38: 49 ff c5 inc %r13 3b: 41 0f b6 04 17 movzbl (%r15,%rdx,1),%eax