INFO: task hung in console_callback

Status: upstream: reported on 2026/07/28 03:01
Reported-by: syzbot+1f23399eb1702fa4a02b@syzkaller.appspotmail.com
First crash: 9d09h, last: 6d17h
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in console_callback serial 1 7 2220d 2388d 0/29 closed as dup on 2020/08/16 15:22
linux-6.6 INFO: task hung in console_callback origin:upstream 1 syz, C inconclusive 1 248d 248d 0/2 upstream: reported C repro on 2025/11/30 20:20
upstream INFO: task hung in console_callback (2) serial 1 1 1613d 1613d 0/29 auto-closed as invalid on 2022/06/05 01:15
linux-4.14 INFO: task hung in console_callback 1 1 2327d 2327d 0/1 auto-closed as invalid on 2020/07/20 15:40
linux-4.19 INFO: task hung in console_callback (2) 1 1 2084d 2084d 0/1 auto-closed as invalid on 2021/03/20 18:26
upstream INFO: task hung in console_callback (6) prio:high input usb 1 syz, C error error 40 6h24m 386d 0/29 upstream: reported C repro on 2025/07/15 17:43
linux-5.15 INFO: task hung in console_callback 1 2 1d22h 2d06h 0/3 upstream: reported on 2026/08/04 05:49
upstream INFO: task hung in console_callback (4) serial 1 65 1040d 1047d 0/29 auto-obsoleted due to no activity on 2023/12/09 22:03
upstream INFO: task hung in console_callback (5) serial 1 572 499d 618d 0/29 auto-obsoleted due to no activity on 2025/06/03 01:53
upstream INFO: task hung in console_callback (3) serial 1 11 1442d 1487d 0/29 auto-obsoleted due to no activity on 2022/11/22 14:53
linux-4.19 INFO: task hung in console_callback 1 1 2399d 2399d 0/1 auto-closed as invalid on 2020/05/10 04:25

Sample crash report:
INFO: task kworker/0:17:6872 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:17    state:D stack:23376 pid:6872  ppid:2      flags:0x00004000
Workqueue: events console_callback
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
 console_callback+0x66/0x440 drivers/tty/vt/vt.c:2980
 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cb2e4f0 (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: ffffffff8cb2ed10 (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: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6527
3 locks held by kworker/u4:2/39:
1 lock held by udevd/3639:
2 locks held by getty/4027:
 #0: ffff88814d0aa098 (&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:17/6872:
 #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc90008c2fd00 (console_work){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
2 locks held by kworker/u4:8/8771:
 #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
 #1: ffffc90005357d00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267
1 lock held by syz.4.2438/10571:
4 locks held by syz.0.2878/11762:
 #0: ffff88807aec9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffff8880176280b8 (&buf->lock){+.+.}-{3:3}, at: tiocsti+0x192/0x270 drivers/tty/tty_io.c:2286
 #2: ffff88807aec92e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_receive_buf_common+0x79/0x1470 drivers/tty/n_tty.c:1684
 #3: ffffc90003d55380 (&ldata->output_lock){+.+.}-{3:3}, at: flush_echoes drivers/tty/n_tty.c:815 [inline]
 #3: ffffc90003d55380 (&ldata->output_lock){+.+.}-{3:3}, at: __receive_buf drivers/tty/n_tty.c:1625 [inline]
 #3: ffffc90003d55380 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_receive_buf_common+0xd51/0x1470 drivers/tty/n_tty.c:1721
2 locks held by syz.0.2878/11763:
 #0: ffff88807aec9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffff8880176280b8 (&buf->lock){+.+.}-{3:3}, at: tiocsti+0x192/0x270 drivers/tty/tty_io.c:2286
2 locks held by syz.6.2928/11893:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
 #1: ffff888056ab31c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x70/0x4c0 drivers/tty/tty_io.c:1414
1 lock held by syz.5.2939/11915:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.7.2947/11933:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.8.2959/11979:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz-executor/11984:
1 lock held by syz.1.3145/12708:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.3.3170/12818:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.4.3186/12877:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.4.3186/12879:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline]
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x204/0xcb0 drivers/tty/tty_io.c:2128
1 lock held by syz.2.3201/12945:
 #0: ffffffff8d290808 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xcc/0x2c0 drivers/tty/pty.c:823
1 lock held by syz-executor/12979:
1 lock held by sed/12993:

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

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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/30 19:25 linux-6.1.y fb28aa725e05 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in console_callback
2026/07/28 03:00 linux-6.1.y dc5c83b7f5f8 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in console_callback
* Struck through repros no longer work on HEAD.