INFO: task hung in set_selection_kernel (2)

Status: auto-obsoleted due to no activity on 2026/10/13 23:46
Subsystems: kernel
Labels: prio:low
[Documentation on labels]
First crash: 84d, last: 54d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
b5afec31 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in set_selection_kernel (2) 2026/07/28 00:00 2026/07/28 00:00 2026/07/28 00:58 4cb2b096
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in set_selection_kernel 1 1 79d 79d 0/3 upstream: reported on 2026/07/30 13:51
linux-5.15 INFO: task hung in set_selection_kernel 1 1 48d 48d 0/3 upstream: reported on 2026/08/30 10:37
upstream INFO: task hung in set_selection_kernel serial 1 1 253d 253d 0/29 auto-obsoleted due to no activity on 2026/05/07 20:17

Sample crash report:
INFO: task syz.1.949:9778 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.1.949       state:D stack:28728 pid:9778  tgid:9777  ppid:5594   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5520 [inline]
 __schedule+0x1259/0x6920 kernel/sched/core.c:7270
 __schedule_loop kernel/sched/core.c:7347 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7362
 schedule_timeout+0x1b2/0x280 kernel/time/sleep_timeout.c:75
 ___down_common kernel/locking/semaphore.c:293 [inline]
 __down_common+0x371/0x8b0 kernel/locking/semaphore.c:318
 down+0x74/0xa0 kernel/locking/semaphore.c:100
 console_lock+0x5b/0xa0 kernel/printk/printk.c:2896
 class_console_lock_constructor include/linux/console.h:734 [inline]
 set_selection_kernel+0x39/0x1430 drivers/tty/vt/selection.c:379
 set_selection_user+0xeb/0x140 drivers/tty/vt/selection.c:207
 tioclinux+0x1b0/0x640 drivers/tty/vt/vt.c:3578
 vt_ioctl+0x145d/0x3150 drivers/tty/vt/vt_ioctl.c:755
 tty_ioctl+0x26a/0x1640 drivers/tty/tty_io.c:2765
 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:61 [inline]
 do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faa2639e0d9
RSP: 002b:00007faa27284028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007faa26625fa0 RCX: 00007faa2639e0d9
RDX: 0000200000000000 RSI: 000000000000541c RDI: 0000000000000003
RBP: 00007faa26435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007faa26626038 R14: 00007faa26625fa0 R15: 00007fff7b07a638
 </TASK>

Showing all locks held in the system:
locks held by rcu_tasks_kthre/28: 1, on CPU#0:
 #0: ffffffff8ede9588 (rcu_tasks.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0x622/0xd90 kernel/rcu/tasks.h:613
locks held by khungtaskd/31: 1, last CPU#0:
 #0: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6793
locks held by kworker/u8:3/49: 2, on CPU#0:
 #0: ffff88801c08c140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3362
 #1: ffffc90000b97d08 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3363
locks held by kworker/u8:11/3388: 2, last CPU#0:
 #0: ffff888035cd7140 ((wq_completion)wg-kex-wg1#15){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3362
 #1: ffffc9000eb67d08 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3363
locks held by getty/5354: 2, on CPU#0:
 #0: ffff8880375fc0a0 (&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
locks held by udevd/5620: 1, last CPU#0:
 #0: ffffffff8f8fddb8 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline]
 #0: ffffffff8f8fddb8 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:305 [inline]
 #0: ffffffff8f8fddb8 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline]
 #0: ffffffff8f8fddb8 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_check_open_permission+0x169/0x3c0 security/tomoyo/file.c:772
locks held by syz.2.938/9735: 6, last CPU#0:
 #0: ffff8880553fb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffff8880553fb128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:939 [inline]
 #1: ffff8880553fb128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:958 [inline]
 #1: ffff8880553fb128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write.isra.0+0x24b/0x890 drivers/tty/tty_io.c:1054
 #2: ffff8880553fb2c8 (&tty->termios_rwsem){++++}-{4:4}, at: class_rwsem_read_constructor include/linux/rwsem.h:259 [inline]
 #2: ffff8880553fb2c8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1b8/0x1160 drivers/tty/n_tty.c:2349
 #3: ffffc900043a5370 (&ldata->output_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
 #3: ffffc900043a5370 (&ldata->output_lock){+.+.}-{4:4}, at: process_output_block drivers/tty/n_tty.c:513 [inline]
 #3: ffffc900043a5370 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x54c/0x1160 drivers/tty/n_tty.c:2366
 #4: ffffffff8edd6040 (console_lock){+.+.}-{0:0}, at: class_console_lock_constructor include/linux/console.h:734 [inline]
 #4: ffffffff8edd6040 (console_lock){+.+.}-{0:0}, at: do_con_write+0x15b/0x4980 drivers/tty/vt/vt.c:3290
 #5: ffffffff8edd60b8 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:314 [inline]
 #5: ffffffff8edd60b8 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:439 [inline]
 #5: ffffffff8edd60b8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:291 [inline]
 #5: ffffffff8edd60b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0xfd/0xf10 kernel/printk/printk.c:3246
locks held by syz.1.949/9778: 1, on CPU#0:
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x34/0x1430 drivers/tty/vt/selection.c:378
locks held by syz.3.1029/10285: 1, on CPU#0:
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x34/0x1430 drivers/tty/vt/selection.c:378
locks held by syz.5.1043/10372: 1, on CPU#0:
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
 #0: ffffffff8fbb23e0 (vc_sel.lock){+.+.}-{4:4}, at: set_selection_kernel+0x34/0x1430 drivers/tty/vt/selection.c:378
locks held by syz-executor/10733: 4, last CPU#0:
 #0: ffffffff8ef3a430 (dup_mmap_sem){++++}-{0:0}, at: dup_mm kernel/fork.c:1542 [inline]
 #0: ffffffff8ef3a430 (dup_mmap_sem){++++}-{0:0}, at: copy_mm kernel/fork.c:1595 [inline]
 #0: ffffffff8ef3a430 (dup_mmap_sem){++++}-{0:0}, at: copy_process+0x4815/0x8370 kernel/fork.c:2307
 #1: ffff88807d479d38 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:562 [inline]
 #1: ffff88807d479d38 (&mm->mmap_lock){++++}-{4:4}, at: dup_mmap+0x127/0x2370 mm/mmap.c:1716
 #2: ffff88807c795cf8 (&mm->mmap_lock/1){+.+.}-{4:4}, at: mmap_write_lock_nested include/linux/mmap_lock.h:552 [inline]
 #2: ffff88807c795cf8 (&mm->mmap_lock/1){+.+.}-{4:4}, at: dup_mmap+0x1c9/0x2370 mm/mmap.c:1723
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290
locks held by modprobe/11503: 4, last CPU#0:
 #0: ffff88808cd8d1c8 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x11d/0x590 mm/mmap_lock.c:310
 #1: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #1: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #1: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: do_fault_around mm/memory.c:5895 [inline]
 #1: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: do_read_fault mm/memory.c:5929 [inline]
 #1: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: do_fault+0x9a8/0x1830 mm/memory.c:6072
 #2: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #2: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #2: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: filemap_map_pages+0x1d1/0x2020 mm/filemap.c:3921
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #3: ffffffff8ede9de0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290

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

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:123
 nmi_trigger_cpumask_backtrace+0x21f/0x2a0 lib/nmi_backtrace.c:66
 trigger_all_cpu_backtrace include/linux/nmi.h:164 [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+0x373/0x450 kernel/kthread.c:436
 ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/24 23:42 upstream 0a0d1d55dad5 23caa175 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in set_selection_kernel
2026/08/24 10:22 upstream 4352b8aee980 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/08/23 18:44 upstream 2709dd5ae32f 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in set_selection_kernel
2026/08/23 16:31 upstream 2709dd5ae32f 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/08/14 09:39 upstream 3aa1dcaa4f6f b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/08/01 07:56 upstream 0131b508c0e2 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/08/01 07:55 upstream 0131b508c0e2 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/07/30 06:27 upstream 11028ab62899 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/07/30 05:28 upstream 11028ab62899 cb1587ea .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/07/27 10:22 upstream 4235cb24ec1e 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
2026/07/26 03:26 upstream 3dab139d4795 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in set_selection_kernel
* Struck through repros no longer work on HEAD.