INFO: task syz-executor.5:15517 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29280 pid:15517 ppid: 6811 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 tls_sw_sendmsg+0x245/0x17f0 net/tls/tls_sw.c:957 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:644 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 sock_write_iter+0x289/0x3c0 net/socket.c:1057 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x1ee/0x250 fs/read_write.c:643 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+0x44/0xae RIP: 0033:0x7f713a336ae9 RSP: 002b:00007f713786a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f713a44a0e0 RCX: 00007f713a336ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f713a390f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9f7a052f R14: 00007f713786a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6236: 3 locks held by kworker/1:24/12479: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90004bf7db0 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff888021f744d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2283 1 lock held by syz-executor.5/15517: #0: ffff888021f744d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tls_sw_sendmsg+0x245/0x17f0 net/tls/tls_sw.c:957 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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: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: 9358 Comm: kworker/u4:7 Not tainted 5.15.0-syzkaller #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_off+0x52/0x1b0 kernel/trace/trace_preemptirq.c:84 Code: 44 c1 f9 ff 65 c7 05 29 30 85 7e 01 00 00 00 65 8b 1d c2 6a 84 7e 81 e3 00 00 f0 00 31 ff 89 de e8 43 c3 f9 ff 85 db 74 09 5b <5d> 41 5c e9 16 c1 f9 ff e8 11 c1 f9 ff 48 8b 6c 24 18 66 90 e8 05 RSP: 0018:ffffc9000409fa28 EFLAGS: 00000093 RAX: 0000000000000000 RBX: 00000000000d9878 RCX: 0000000000000000 RDX: ffff88807cd55700 RSI: ffffffff817e056b RDI: 0000000000000003 RBP: ffffffff893d7c3e R08: 0000000000000000 R09: 0000000000000003 R10: ffffffff817e054d R11: 0000000000000000 R12: 0000000000000206 R13: 1ffff92000813f5a R14: ffffffff9050d300 R15: ffffffff9050d2f8 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4fd674000 CR3: 000000000b68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] _raw_spin_lock_irqsave+0x4e/0x50 kernel/locking/spinlock.c:162 __debug_object_init+0xb1/0xd10 lib/debugobjects.c:569 init_timer_on_stack_key kernel/time/timer.c:752 [inline] schedule_timeout+0xf2/0x2a0 kernel/time/timer.c:1879 toggle_allocation_gate mm/kfence/core.c:739 [inline] toggle_allocation_gate+0x305/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: 44 c1 f9 ff rex.R sar $0xff,%ecx 4: 65 c7 05 29 30 85 7e movl $0x1,%gs:0x7e853029(%rip) # 0x7e853038 b: 01 00 00 00 f: 65 8b 1d c2 6a 84 7e mov %gs:0x7e846ac2(%rip),%ebx # 0x7e846ad8 16: 81 e3 00 00 f0 00 and $0xf00000,%ebx 1c: 31 ff xor %edi,%edi 1e: 89 de mov %ebx,%esi 20: e8 43 c3 f9 ff callq 0xfff9c368 25: 85 db test %ebx,%ebx 27: 74 09 je 0x32 29: 5b pop %rbx * 2a: 5d pop %rbp <-- trapping instruction 2b: 41 5c pop %r12 2d: e9 16 c1 f9 ff jmpq 0xfff9c148 32: e8 11 c1 f9 ff callq 0xfff9c148 37: 48 8b 6c 24 18 mov 0x18(%rsp),%rbp 3c: 66 90 xchg %ax,%ax 3e: e8 .byte 0xe8 3f: 05 .byte 0x5