INFO: task syz-executor.2:1511 blocked for more than 143 seconds. Not tainted 5.17.0-rc4-syzkaller-00051-gc5d9ae265b10 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28080 pid: 1511 ppid: 3623 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785 tls_sw_sendmsg+0x2ca/0x1990 net/tls/tls_sw.c:957 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] sock_write_iter+0x37c/0x4e0 net/socket.c:1061 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0xb11/0xe90 fs/read_write.c:590 ksys_write+0x18f/0x2c0 fs/read_write.c:643 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:0x7f3611af1059 RSP: 002b:00007f3610445168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3611c04030 RCX: 00007f3611af1059 RDX: 0000000000000004 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f3611b4b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc422dadaf R14: 00007f3610445300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1d460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/2953: 2 locks held by getty/3279: #0: ffff88814ab79098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2077 3 locks held by kworker/0:21/1430: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280 #1: ffffc90004267d20 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282 #2: ffff8880231ec8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x111/0x150 net/tls/tls_sw.c:2299 1 lock held by syz-executor.2/1511: #0: ffff8880231ec8d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x2ca/0x1990 net/tls/tls_sw.c:957 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc4-syzkaller-00051-gc5d9ae265b10 #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:212 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15352 Comm: kworker/u4:19 Not tainted 5.17.0-rc4-syzkaller-00051-gc5d9ae265b10 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:validate_chain+0xc6/0x8250 kernel/locking/lockdep.c:3757 Code: f2 f2 f2 f2 00 00 00 4b 89 44 25 1b 48 b8 f2 f2 f2 f2 f2 00 f2 f2 4b 89 44 25 27 48 b8 f2 05 f2 f2 f2 05 f3 f3 4b 89 44 25 2f <43> c6 44 25 37 f3 48 89 b4 24 98 00 00 00 48 8d 5e 20 48 89 d8 48 RSP: 0018:ffffc9000f6c7160 EFLAGS: 00000802 RAX: f3f305f2f2f205f2 RBX: 000000000000008f RCX: 74d2cd9d99b1225f RDX: 0000000000000000 RSI: ffff88806bf12828 RDI: ffff88806bf11d00 RBP: ffffc9000f6c7470 R08: dffffc0000000000 R09: fffffbfff1ffb7c7 R10: fffffbfff1ffb7c7 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92001ed8e4c R14: 74d2cd9d99b1225f R15: 74d2cd9d99b1225f FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c018ff62a0 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5027 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5639 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] __get_locked_pte+0x2ad/0x390 mm/memory.c:1745 get_locked_pte include/linux/mm.h:2128 [inline] __text_poke+0x280/0x9f0 arch/x86/kernel/alternative.c:1000 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x487/0x920 arch/x86/kernel/alternative.c:1313 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:735 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: f2 f2 f2 f2 00 00 repnz repnz repnz repnz add %al,(%rax) 6: 00 4b 89 add %cl,-0x77(%rbx) 9: 44 25 1b 48 b8 f2 rex.R and $0xf2b8481b,%eax f: f2 f2 f2 f2 00 f2 repnz repnz repnz repnz add %dh,%dl 15: f2 4b 89 44 25 27 repnz mov %rax,0x27(%r13,%r12,1) 1b: 48 b8 f2 05 f2 f2 f2 movabs $0xf3f305f2f2f205f2,%rax 22: 05 f3 f3 25: 4b 89 44 25 2f mov %rax,0x2f(%r13,%r12,1) * 2a: 43 c6 44 25 37 f3 movb $0xf3,0x37(%r13,%r12,1) <-- trapping instruction 30: 48 89 b4 24 98 00 00 mov %rsi,0x98(%rsp) 37: 00 38: 48 8d 5e 20 lea 0x20(%rsi),%rbx 3c: 48 89 d8 mov %rbx,%rax 3f: 48 rex.W