INFO: task hung in do_con_write

Status: upstream: reported on 2026/12/01 22:47
Reported-by: syzbot+d9f72d31f3397f8c87e6@syzkaller.appspotmail.com
First crash: 2d16h, last: 2d16h
▶ ▼ Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in do_con_write serial 1 4 2339d 2507d 0/30 auto-closed as invalid on 2020/10/06 18:58
linux-5.15 INFO: task hung in do_con_write 1 2 64d 66d 0/3 upstream: reported on 2026/09/29 06:32
upstream INFO: task hung in do_con_write (5) kernel 1 14 667d 760d 0/30 closed as invalid on 2025/05/05 18:47
linux-4.14 INFO: task hung in do_con_write 1 9 2320d 2536d 0/1 auto-closed as invalid on 2020/11/25 15:01
upstream INFO: task hung in do_con_write (2) serial 1 2 1895d 1905d 0/30 auto-closed as invalid on 2021/12/25 05:43
upstream INFO: task hung in do_con_write (4) serial 1 1 1095d 1092d 0/30 auto-obsoleted due to no activity on 2024/03/04 00:42
upstream INFO: task hung in do_con_write (3) serial 1 1 1559d 1559d 0/30 auto-obsoleted due to no activity on 2022/11/25 16:33
linux-4.19 INFO: task hung in do_con_write 1 3 2320d 2377d 0/1 auto-closed as invalid on 2020/11/25 06:45

Sample crash report:
INFO: task kworker/u4:0:9 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:0    state:D stack:22432 pid:9     ppid:2      flags:0x00004000
Workqueue: events_unbound flush_to_ldisc
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5257 [inline]
 __schedule+0x1089/0x4140 kernel/sched/core.c:6584
 schedule+0xb9/0x180 kernel/sched/core.c:6660
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2145
 ___down_common kernel/locking/semaphore.c:229 [inline]
 __down_common+0x321/0x7a0 kernel/locking/semaphore.c:250
 down+0x7c/0xd0 kernel/locking/semaphore.c:64
 console_lock+0x141/0x1c0 kernel/printk/printk.c:2629
 do_con_write+0xfb/0x6c60 drivers/tty/vt/vt.c:2911
 con_put_char+0x7f/0xc0 drivers/tty/vt/vt.c:3306
 tty_put_char+0xc5/0x150 drivers/tty/tty_io.c:3158
 __process_echoes+0x3dc/0x8f0 drivers/tty/n_tty.c:716
 flush_echoes drivers/tty/n_tty.c:817 [inline]
 __receive_buf drivers/tty/n_tty.c:1625 [inline]
 n_tty_receive_buf_common+0xda0/0x1470 drivers/tty/n_tty.c:1721
 tty_port_default_receive_buf+0x69/0x90 drivers/tty/tty_port.c:39
 receive_buf drivers/tty/tty_buffer.c:515 [inline]
 flush_to_ldisc+0x2b9/0x800 drivers/tty/tty_buffer.c:565
 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>
INFO: task kworker/0:8:5581 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:8     state:D stack:22768 pid:5581  ppid:2      flags:0x00004000
Workqueue: events console_callback
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5257 [inline]
 __schedule+0x1089/0x4140 kernel/sched/core.c:6584
 schedule+0xb9/0x180 kernel/sched/core.c:6660
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2145
 ___down_common kernel/locking/semaphore.c:229 [inline]
 __down_common+0x321/0x7a0 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:2983
 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>
INFO: task kworker/0:9:5583 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:9     state:D stack:23504 pid:5583  ppid:2      flags:0x00004000
Workqueue: events vc_SAK
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5257 [inline]
 __schedule+0x1089/0x4140 kernel/sched/core.c:6584
 schedule+0xb9/0x180 kernel/sched/core.c:6660
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6719
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x562/0xb40 kernel/locking/mutex.c:747
 tty_buffer_flush+0x78/0x3e0 drivers/tty/tty_buffer.c:230
 tty_ldisc_flush+0x6a/0xc0 drivers/tty/tty_ldisc.c:389
 __do_SAK+0x25c/0x630 drivers/tty/tty_io.c:3028
 vc_SAK+0x74/0x210 drivers/tty/vt/vt_ioctl.c:997
 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>
INFO: task syz.4.5059:15651 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.5059      state:D stack:26992 pid:15651 ppid:4274   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5257 [inline]
 __schedule+0x1089/0x4140 kernel/sched/core.c:6584
 schedule+0xb9/0x180 kernel/sched/core.c:6660
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6719
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x562/0xb40 kernel/locking/mutex.c:747
 process_output drivers/tty/n_tty.c:503 [inline]
 n_tty_write+0xde6/0x1240 drivers/tty/n_tty.c:2389
 do_tty_write drivers/tty/tty_io.c:1020 [inline]
 file_tty_write+0x4cd/0x8b0 drivers/tty/tty_io.c:1091
 call_write_iter include/linux/fs.h:2273 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x482/0x9a0 fs/read_write.c:584
 ksys_write+0x14d/0x260 fs/read_write.c:637
 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:0x7ff5e3da9c99
RSP: 002b:00007ff5e4d43028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff5e4035fa0 RCX: 00007ff5e3da9c99
RDX: 00000000000001b7 RSI: 0000200000003a40 RDI: 0000000000000004
RBP: 00007ff5e3e3b18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff5e4036038 R14: 00007ff5e4035fa0 R15: 00007ffc53d6e028
 </TASK>
INFO: lockdep is turned off.
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 11/06/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>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 20900 Comm: modprobe Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:mas_validate_parent_slot lib/maple_tree.c:-1 [inline]
RIP: 0010:mt_validate+0x1064/0x4c60 lib/maple_tree.c:7242
Code: 24 18 01 00 00 0f 85 b2 00 00 00 e8 a6 ff 5a f7 48 c7 c7 a0 11 0e 98 be 04 00 00 00 e8 95 a1 ac f7 f0 ff 05 de 7d e6 0d eb 0e <4d> 39 ec 0f 84 01 01 00 00 e8 7e ff 5a f7 49 bc 00 00 00 00 00 fc
RSP: 0018:ffffc9003341f8e0 EFLAGS: 00000202
RAX: ffffffff8a279364 RBX: 0000000000000002 RCX: 0000000000000000
RDX: ffff88805409da00 RSI: 0000000000000003 RDI: 0000000000000002
RBP: ffffc9003341fa90 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff301c234 R12: ffff88808ae6de0c
R13: ffff88808ae6ce0c R14: 0000000000000003 R15: ffff88808ae6cc60
FS:  00007f1079907c80(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1079c6f000 CR3: 0000000096257000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 validate_mm_mt+0xd9/0x420 mm/mmap.c:295
 __split_vma+0x30/0x4f0 mm/mmap.c:2371
 mprotect_fixup+0x5dc/0x840 mm/mprotect.c:623
 do_mprotect_pkey+0x7ff/0xba0 mm/mprotect.c:792
 __do_sys_mprotect mm/mprotect.c:819 [inline]
 __se_sys_mprotect mm/mprotect.c:816 [inline]
 __x64_sys_mprotect+0x7c/0x90 mm/mprotect.c:816
 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:0x7f1079c962c7
Code: 89 3d fd 3f 01 00 eb 90 0f 1f 00 f7 d8 89 05 f0 3f 01 00 48 c7 c0 ff ff ff ff eb 91 0f 1f 80 00 00 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d c9 3f 01 00 f7 d8 89 01 48 83
RSP: 002b:00007fff592264c8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: ffffffffffffffda RBX: 00007f1079caa310 RCX: 00007f1079c962c7
RDX: 0000000000000001 RSI: 0000000000001000 RDI: 0000564461f45000
RBP: 00007fff59226790 R08: 0000000000000000 R09: 00007f1079bc204a
R10: 00007f1079caa310 R11: 0000000000000206 R12: 0000000000000000
R13: 00000130d5f91b46 R14: 0000000000000000 R15: 00007f1079caa310
 </TASK>

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