syzbot


INFO: task hung in tls_sk_proto_close (3)

Status: upstream: reported on 2026/04/15 08:35
Reported-by: syzbot+dfdbcce49884d291c82d@syzkaller.appspotmail.com
First crash: 4d00h, last: 3d04h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in tls_sk_proto_close 1 2 890d 938d 0/3 auto-obsoleted due to no activity on 2024/02/18 21:46
linux-5.15 INFO: task hung in tls_sk_proto_close (2) 1 1 794d 794d 0/3 auto-obsoleted due to no activity on 2024/05/24 11:00
linux-5.15 INFO: task hung in tls_sk_proto_close (3) 1 1 207d 207d 0/3 auto-obsoleted due to no activity on 2026/01/02 00:20
linux-5.15 INFO: task hung in tls_sk_proto_close 1 4 942d 1001d 0/3 auto-obsoleted due to no activity on 2023/12/28 14:26
upstream INFO: task hung in tls_sk_proto_close net 1 C done error 977 73d 2211d 0/29 auto-obsoleted due to no activity on 2026/04/16 05:24
linux-6.1 INFO: task hung in tls_sk_proto_close (2) 1 1 182d 182d 0/3 auto-obsoleted due to no activity on 2026/01/27 08:36
upstream INFO: task can't die in p9_fd_close 1 C done 58 1455d 2061d 0/29 closed as dup on 2022/08/26 12:44

Sample crash report:
INFO: task syz.5.3105:16510 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.3105      state:D stack:24336 pid:16510 ppid:9005   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 schedule+0xb9/0x180 kernel/sched/core.c:6638
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2144
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x2c7/0x5a0 kernel/sched/completion.c:138
 __flush_work+0x952/0xae0 kernel/workqueue.c:3076
 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3163
 tls_sk_proto_close+0xc4/0x8f0 net/tls/tls_main.c:328
 inet_release+0x139/0x180 net/ipv4/af_inet.c:430
 __sock_release net/socket.c:654 [inline]
 sock_close+0xd5/0x240 net/socket.c:1399
 __fput+0x22c/0x920 fs/file_table.c:320
 task_work_run+0x1d0/0x260 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f075cb9c819
RSP: 002b:00007fff43abb7b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f075ce17da0 RCX: 00007f075cb9c819
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f075ce17da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007f075ce17cb0 R11: 0000000000000246 R12: 00000000000b0a50
R13: 00007f075ce1618c R14: 00000000000b08c3 R15: 00007f075ce16180
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cb2df30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8cb2e750 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
3 locks held by kworker/0:1/14:
 #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc90000137d00 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffff8880577040d8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0xfd/0x1f0 net/tls/tls_sw.c:2602
1 lock held by khungtaskd/28:
 #0: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513
3 locks held by kworker/1:2/951:
 #0: ffff88801767ad38 ((wq_completion)pm){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc90003bc7d00 ((work_completion)(&hcd->wakeup_work)){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffff888145bf9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline]
 #2: ffff888145bf9190 (&dev->mutex){....}-{3:3}, at: usb_remote_wakeup+0x1f/0xf0 drivers/usb/core/hub.c:3834
3 locks held by udevd/3637:
 #0: ffff8880b8e3ab18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:546
 #1: ffff8880b8f27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x398/0x6d0 kernel/sched/psi.c:999
 #2: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #2: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #2: ffffffff8cb2d5a0 (rcu_read_lock){....}-{1:2}, at: dput+0x37/0x1d0 fs/dcache.c:904
2 locks held by getty/4025:
 #0: ffff88802f733098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x429/0x1390 drivers/tty/n_tty.c:2198
4 locks held by kworker/u4:15/5453:
 #0: ffff8880b8e3ab18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:546
 #1: ffff8880b8f27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x398/0x6d0 kernel/sched/psi.c:999
 #2: ffff8880b8e3ab18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa5/0x140 kernel/sched/core.c:546
 #3: ffffffff96ecfd20 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x68/0x4f0 lib/debugobjects.c:698
1 lock held by syz.5.3105/16510:
 #0: ffff888039463e10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
 #0: ffff888039463e10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline]
 #0: ffff888039463e10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1399
2 locks held by sed/18011:

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3e6/0x460 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xeee/0xf30 kernel/hung_task.c:377
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 951 Comm: kworker/1:2 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:put_dec_trunc8+0x7d/0x340 lib/vsprintf.c:229
Code: 89 fe e8 a6 09 63 f7 41 83 ff 63 0f 87 dd 01 00 00 e8 37 06 63 f7 4f 8d bc 3f 20 c3 b1 8b 4c 89 f8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 d5 01 00 00 45 0f b7 3f 48 89 d8 48 c1 e8 03 42 0f b6
RSP: 0018:ffffc90003bc6c88 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffffc90003bc6d40 RCX: 0000000000100000
RDX: ffffc9001a0fa000 RSI: 0000000000012f1e RDI: 0000000000012f1f
RBP: 000000000000038e R08: ffffc90003bc6d57 R09: ffffc90003bc6d40
R10: dffffc0000000000 R11: fffff52000778dab R12: dffffc0000000000
R13: 000000000000038e R14: 0000000000000009 R15: ffffffff8bb1c334
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5663fd9440 CR3: 000000007e01e000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 number+0x31a/0xf60 lib/vsprintf.c:508
 vsnprintf+0x12d2/0x1c20 lib/vsprintf.c:2871
 sprintf+0xe4/0x140 lib/vsprintf.c:3009
 print_time kernel/printk/printk.c:1274 [inline]
 info_print_prefix+0x168/0x360 kernel/printk/printk.c:1300
 record_print_text+0x173/0x440 kernel/printk/printk.c:1349
 console_emit_next_record+0x598/0xba0 kernel/printk/printk.c:2760
 console_flush_all kernel/printk/printk.c:-1 [inline]
 console_unlock+0x223/0x630 kernel/printk/printk.c:2906
 vprintk_emit+0x4b3/0x6a0 kernel/printk/printk.c:2303
 dev_vprintk_emit+0x34e/0x400 drivers/base/core.c:4933
 dev_printk_emit+0xeb/0x139 drivers/base/core.c:4944
 _dev_info+0x11b/0x16c drivers/base/core.c:5002
 hub_port_init+0x5ed/0x2ad0 drivers/usb/core/hub.c:4949
 hub_port_connect drivers/usb/core/hub.c:5446 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5657 [inline]
 port_event drivers/usb/core/hub.c:5817 [inline]
 hub_event+0x2958/0x5560 drivers/usb/core/hub.c:5899
 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/16 03:52 linux-6.1.y 8e8fc038cad5 df15c5f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in tls_sk_proto_close
2026/04/15 08:34 linux-6.1.y 8e8fc038cad5 e2e976a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in tls_sk_proto_close
* Struck through repros no longer work on HEAD.