INFO: task hung in tty_ioctl (3)

Status: auto-obsoleted due to no activity on 2026/10/27 23:44
Subsystems: serial
Labels: prio:high
[Documentation on labels]
First crash: 94d, last: 94d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
9bd92284 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in tty_ioctl (3) 2026/07/31 00:00 2026/07/31 00:00 2026/07/31 00:55 aaffb173
▶ ▼ Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in tty_ioctl serial 1 6 2901d 2969d 0/29 auto-closed as invalid on 2019/05/20 08:04
upstream INFO: task hung in tty_ioctl (2) serial 1 syz inconclusive 3 1745d 1843d 0/29 closed as invalid on 2022/02/08 10:20
android-44 INFO: task hung in tty_ioctl 1 syz, C 4 2855d 2759d 0/2 public: reported C repro on 2019/04/13 00:00
android-414 INFO: task hung in tty_ioctl 1 syz, C 3 2905d 2760d 0/1 public: reported C repro on 2019/04/12 00:01
linux-6.1 INFO: task hung in tty_ioctl 1 1 755d 755d 0/3 auto-obsoleted due to no activity on 2025/01/15 00:27
android-49 INFO: task hung in tty_ioctl 1 syz, C 22 2528d 2758d 0/3 public: reported C repro on 2019/04/14 00:00

Sample crash report:
INFO: task syz.3.3406:31664 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.3406      state:D stack:28776 pid:31664 tgid:31658 ppid:24617  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x125c/0x6730 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7326
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
 __mutex_lock_common kernel/locking/mutex.c:726 [inline]
 __mutex_lock+0xccc/0x1bd0 kernel/locking/mutex.c:821
 tiocsti drivers/tty/tty_io.c:2288 [inline]
 tty_ioctl+0x89d/0x1640 drivers/tty/tty_io.c:2706
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb52039de99
RSP: 002b:00007fb5211ed028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb520626090 RCX: 00007fb52039de99
RDX: 0000200000001e80 RSI: 0000000000005412 RDI: 0000000000000004
RBP: 00007fb520433eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb520626128 R14: 00007fb520626090 R15: 00007ffefbb65178
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/31:
 #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
 #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
 #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
2 locks held by getty/5366:
 #0: ffff8880370460a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffffc900032332e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:5/5611:
3 locks held by kworker/u8:28/29912:
 #0: ffff888032d9f940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc90003d77d08 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
 #2: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #2: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x11f/0x1360 net/ipv6/addrconf.c:4229
3 locks held by kworker/u8:29/29913:
 #0: ffff88801bc44140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
 #1: ffffc90003d47d08 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
 #2: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:313
7 locks held by syz.2.3361/31259:
2 locks held by syz.3.3406/31664:
 #0: ffff888022bda0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffff88801bc620b8 (&buf->lock){+.+.}-{4:4}, at: tiocsti drivers/tty/tty_io.c:2288 [inline]
 #1: ffff88801bc620b8 (&buf->lock){+.+.}-{4:4}, at: tty_ioctl+0x89d/0x1640 drivers/tty/tty_io.c:2706
2 locks held by syz.7.3564/968:
 #0: ffff888022bda0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffff88801bc620b8 (&buf->lock){+.+.}-{4:4}, at: tiocsti drivers/tty/tty_io.c:2288 [inline]
 #1: ffff88801bc620b8 (&buf->lock){+.+.}-{4:4}, at: tty_ioctl+0x89d/0x1640 drivers/tty/tty_io.c:2706
1 lock held by syz-executor/3822:
 #0: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
 #0: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
 #0: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8bb/0x2380 net/core/rtnetlink.c:4158
5 locks held by syz.4.3873/4487:
1 lock held by syz.2.3876/4501:
 #0: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #0: ffffffff90a9f940 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x1bd/0x1f10 net/ipv4/devinet.c:1120

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:122
 nmi_trigger_cpumask_backtrace+0x21c/0x2a0 lib/nmi_backtrace.c:65
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x141/0x190 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
 watchdog+0xcb1/0x1030 kernel/hung_task.c:561
 kthread+0x370/0x450 kernel/kthread.c:436
 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/29 23:40 upstream fc02acf6ac0c cb1587ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in tty_ioctl
* Struck through repros no longer work on HEAD.