INFO: task syz-executor.0:27254 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26992 pid:27254 ppid: 3657 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 tls_sw_sendmsg+0x251/0x1820 net/tls/tls_sw.c:954 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:652 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 sock_write_iter+0x284/0x3c0 net/socket.c:1108 call_write_iter include/linux/fs.h:2058 [inline] do_iter_readv_writev+0x3d1/0x640 fs/read_write.c:742 do_iter_write+0x182/0x700 fs/read_write.c:868 vfs_writev+0x1aa/0x630 fs/read_write.c:941 do_writev+0x279/0x2f0 fs/read_write.c:984 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f4484089109 RSP: 002b:00007f4485275168 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f448419bf60 RCX: 00007f4484089109 RDX: 0000000000000001 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007f44840e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f44846cfb1f R14: 00007f4485275300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd86660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3289: #0: ffff888147804098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 3 locks held by kworker/1:7/3686: #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000329fda8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88809c7404d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2223 2 locks held by kworker/u4:9/7420: 1 lock held by syz-executor.0/27254: #0: ffff88809c7404d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x251/0x1820 net/tls/tls_sw.c:954 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 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+0x1e6/0x230 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+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7420 Comm: kworker/u4:9 Not tainted 5.19.0-rc5-syzkaller-00056-ge35e5b6f695d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:mark_lock.part.0+0x15/0x1910 kernel/locking/lockdep.c:4591 Code: 8f e8 5f be 9b 02 48 98 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 41 56 41 55 41 89 d5 48 ba 00 00 00 00 00 fc ff df 41 54 <49> 89 f4 55 53 48 81 ec 38 01 00 00 48 8d 5c 24 38 48 89 3c 24 48 RSP: 0018:ffffc9000acef940 EFLAGS: 00000002 RAX: 0000000000000004 RBX: 0000000000000003 RCX: 1ffffffff20d0226 RDX: dffffc0000000000 RSI: ffff88807bfee358 RDI: ffff88807bfed880 RBP: 0000000000000006 R08: 0000000000000000 R09: ffffffff90680907 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88807bfed880 R13: 0000000000000006 R14: ffff88807bfee2e0 R15: ffffffff8bec6480 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000a09948 CR3: 000000000ba8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4596 [inline] mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4234 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4260 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4319 [inline] lockdep_hardirqs_on_prepare+0x28b/0x400 kernel/locking/lockdep.c:4271 trace_hardirqs_on+0x2d/0x120 kernel/trace/trace_preemptirq.c:49 __text_poke+0x6df/0x8e0 arch/x86/kernel/alternative.c:1112 text_poke arch/x86/kernel/alternative.c:1137 [inline] text_poke_bp_batch+0x44a/0x6c0 arch/x86/kernel/alternative.c:1483 text_poke_flush arch/x86/kernel/alternative.c:1589 [inline] text_poke_flush arch/x86/kernel/alternative.c:1586 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1596 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:811 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:803 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 5f be 9b 02 callq 0x29bbe64 5: 48 98 cltq 7: c3 retq 8: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) f: 00 00 00 00 13: 90 nop 14: 41 57 push %r15 16: 41 56 push %r14 18: 41 55 push %r13 1a: 41 89 d5 mov %edx,%r13d 1d: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 24: fc ff df 27: 41 54 push %r12 * 29: 49 89 f4 mov %rsi,%r12 <-- trapping instruction 2c: 55 push %rbp 2d: 53 push %rbx 2e: 48 81 ec 38 01 00 00 sub $0x138,%rsp 35: 48 8d 5c 24 38 lea 0x38(%rsp),%rbx 3a: 48 89 3c 24 mov %rdi,(%rsp) 3e: 48 rex.W