INFO: task hung in show_bind

Status: upstream: reported on 2026/09/03 22:30
Reported-by: syzbot+caeab9ac24b635755ab5@syzkaller.appspotmail.com
First crash: 18d, last: 18d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in show_bind kernel 1 1 526d 526d 0/29 auto-obsoleted due to no activity on 2025/07/13 06:09

Sample crash report:
INFO: task syz.5.3123:14594 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.3123      state:D stack:24592 pid:14594 ppid:13241  flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6563
 schedule+0xb9/0x180 kernel/sched/core.c:6639
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2144
 ___down_common kernel/locking/semaphore.c:229 [inline]
 __down_common+0x30c/0x740 kernel/locking/semaphore.c:250
 down+0x7c/0xd0 kernel/locking/semaphore.c:64
 console_lock+0x141/0x1c0 kernel/printk/printk.c:2629
 show_bind+0x41/0x230 drivers/tty/vt/vt.c:3947
 dev_attr_show+0x50/0xb0 drivers/base/core.c:2372
 sysfs_kf_seq_show+0x349/0x4b0 fs/sysfs/file.c:59
 seq_read_iter+0x460/0xc50 fs/seq_file.c:230
 __kernel_read+0x2dd/0x6e0 fs/read_write.c:428
 integrity_kernel_read+0x86/0xd0 security/integrity/iint.c:228
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
 ima_calc_file_hash+0xb12/0x1950 security/integrity/ima/ima_crypto.c:573
 ima_collect_measurement+0x503/0xb50 security/integrity/ima/ima_api.c:293
 process_measurement+0x119b/0x1c40 security/integrity/ima/ima_main.c:351
 ima_file_check+0xc8/0x110 security/integrity/ima/ima_main.c:534
 do_open fs/namei.c:3679 [inline]
 path_openat+0x272b/0x2f10 fs/namei.c:3834
 do_filp_open+0x1ee/0x420 fs/namei.c:3861
 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320
 do_sys_open fs/open.c:1336 [inline]
 __do_sys_openat fs/open.c:1352 [inline]
 __se_sys_openat fs/open.c:1347 [inline]
 __x64_sys_openat+0x135/0x160 fs/open.c:1347
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6aae39e159
RSP: 002b:00007f6aaf1fc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f6aae625fa0 RCX: 00007f6aae39e159
RDX: 0000000000000001 RSI: 0000200000000240 RDI: ffffffffffffff9c
RBP: 00007f6aae435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6aae626038 R14: 00007f6aae625fa0 R15: 00007ffe9eabf2a8
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cb2e5b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xef0 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8cb2edd0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xef0 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/28:
 #0: ffffffff8cb2dc20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8cb2dc20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8cb2dc20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6527
1 lock held by khugepaged/35:
3 locks held by kworker/u4:4/76:
 #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc900015c7d00 ((work_completion)(&buf->work)){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #2: ffff8880176280b8 (&buf->lock){+.+.}-{3:3}, at: flush_to_ldisc+0x34/0x800 drivers/tty/tty_buffer.c:537
2 locks held by getty/4026:
 #0: ffff88814e618098 (&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+0x41e/0x1360 drivers/tty/n_tty.c:2198
2 locks held by kworker/0:5/4318:
 #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc900043a7d00 (console_work){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
3 locks held by kworker/u4:6/4328:
2 locks held by syz.1.990/7188:
5 locks held by syz.1.2978/14007:
4 locks held by syz.5.3123/14594:
 #0: ffff8880564aeae8 (&iint_mutex_key[depth]){+.+.}-{3:3}, at: process_measurement+0x717/0x1c40 security/integrity/ima/ima_main.c:261
 #1: ffff88804825e2f0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0x9d/0xc50 fs/seq_file.c:182
 #2: ffff888042fe1488 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x59/0x410 fs/kernfs/file.c:172
 #3: ffff88801a2473a8 (kn->active#121){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
 #3: ffff88801a2473a8 (kn->active#121){.+.+}-{0:0}, at: kernfs_seq_start+0xae/0x410 fs/kernfs/file.c:173
5 locks held by syz.3.3255/15045:
 #0: ffff8880676beae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2ae/0x360 fs/file.c:1038
 #1: ffff88802bf92460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x270/0x9a0 fs/read_write.c:580
 #2: ffff88805728b088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1d8/0x520 fs/kernfs/file.c:343
 #3: ffff8880236583a8 (kn->active#95){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
 #3: ffff8880236583a8 (kn->active#95){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x520 fs/kernfs/file.c:344
 #4: ffff888023c102a8 (&port->mutex){+.+.}-{3:3}, at: console_store+0xde/0x4f0 drivers/tty/serial/serial_core.c:3017
2 locks held by syz.8.3438/15670:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
 #1: ffff888058c981c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x70/0x4c0 drivers/tty/tty_io.c:1414
1 lock held by syz.2.3511/15964:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.4.3554/16192:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.5.3631/16475:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.0.3645/16543:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.1.3773/17071:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.7.3780/17092:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.8.3786/17118:
 #0: ffffffff8d290c68 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by cmp/17141:

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

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 07/24/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+0xf0e/0xf50 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>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/03 22:30 linux-6.1.y cf82dcca9634 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in show_bind
* Struck through repros no longer work on HEAD.