INFO: task hung in paste_selection

Status: upstream: reported on 2026/09/17 00:25
Reported-by: syzbot+c34f6bcb49d45f47131f@syzkaller.appspotmail.com
First crash: 71d, last: 13d
▶ ▼ Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in paste_selection 1 syz, C done 10 2467d 2542d 1/1 fixed on 2020/03/26 13:10
upstream INFO: task hung in paste_selection (2) kernel 1 syz, C inconclusive error 12 100d 1926d 0/30 auto-obsoleted due to no activity on 2026/11/27 05:03
upstream INFO: task hung in paste_selection serial 1 syz, C inconclusive done 8 2483d 2548d 15/30 fixed on 2020/04/15 17:19
linux-4.14 INFO: task hung in paste_selection (3) 1 1 2133d 2133d 0/1 auto-closed as invalid on 2021/05/24 08:55
linux-4.14 INFO: task hung in paste_selection (2) 1 1 2325d 2325d 0/1 auto-closed as invalid on 2020/11/12 23:24
linux-4.14 INFO: task hung in paste_selection 1 syz, C done 8 2467d 2542d 1/1 fixed on 2020/03/27 08:38

Sample crash report:
INFO: task syz.4.220:5068 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.220       state:D stack:26928 pid: 5068 ppid:  4191 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2093
 __down_common+0x289/0x3b0 kernel/locking/semaphore.c:228
 down+0x7e/0xd0 kernel/locking/semaphore.c:63
 console_lock+0x29/0x70 kernel/printk/printk.c:2557
 paste_selection+0xee/0x4e0 drivers/tty/vt/selection.c:383
 vt_ioctl+0x441/0x1ca0 drivers/tty/vt/vt_ioctl.c:764
 tty_ioctl+0x848/0xc30 drivers/tty/tty_io.c:2795
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f8ddeeb64d9
RSP: 002b:00007f8ddd0e2028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8ddf133090 RCX: 00007f8ddeeb64d9
RDX: 00002000000002c0 RSI: 000000000000541c RDI: 0000000000000004
RBP: 00007f8ddef4504e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8ddf133128 R14: 00007f8ddf133090 R15: 00007ffeaf3bfd18
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3947:
 #0: ffff88814ce60098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc900026562e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
2 locks held by syz.4.220/5067:
4 locks held by syz.3.323/5558:
 #0: ffff88801adbe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffff88801adbe130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:952 [inline]
 #1: ffff88801adbe130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:975 [inline]
 #1: ffff88801adbe130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x23c/0x8a0 drivers/tty/tty_io.c:1100
 #2: ffff88801adbe2e8 (&tty->termios_rwsem){++++}-{3:3}, at: n_tty_write+0x1ec/0x1220 drivers/tty/n_tty.c:2322
 #3: ffffc900011fc378 (&ldata->output_lock){+.+.}-{3:3}, at: n_tty_write+0x592/0x1220 drivers/tty/n_tty.c:2361
2 locks held by syz.7.481/6264:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2049 [inline]
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2132
 #1: ffff88807a9041c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev+0x6f/0x470 drivers/tty/tty_io.c:1417
1 lock held by syz.6.491/6297:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823
2 locks held by syz-executor/6404:
1 lock held by syz.0.523/6416:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: ptmx_open+0xd2/0x2c0 drivers/tty/pty.c:823
1 lock held by syz.5.532/6484:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2049 [inline]
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2132
1 lock held by syz.1.562/6647:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2049 [inline]
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2132
2 locks held by syz.9.578/6810:
2 locks held by syz.4.590/6852:
1 lock held by syz.2.592/6859:
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2049 [inline]
 #0: ffffffff8d7f6ee8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x20a/0xcd0 drivers/tty/tty_io.c:2132

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

NMI backtrace for cpu 0
CPU: 0 PID: 27 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/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xe1b/0xe60 kernel/hung_task.c:369
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/14 09:19 linux-5.15.y 29c6cdaac04a 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in paste_selection
2026/11/11 08:04 linux-5.15.y 29c6cdaac04a d3056657 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in paste_selection
2026/10/12 15:21 linux-5.15.y a051a4bf909f 745a967f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in paste_selection
2026/10/01 10:59 linux-5.15.y 0248c33e835e 38f7f0d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in paste_selection
2026/09/17 00:24 linux-5.15.y 0248c33e835e 95928915 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in paste_selection
* Struck through repros no longer work on HEAD.