CVE Explore

Vulnerability in Linux

CVE-2026-98260

CVSS v3
7.8 High
Public exploits
83 repositories
EPSS
0.002 · 12.9th percentile
Published
2026-10-06

In the Linux kernel, the following vulnerability has been resolved:

exec: Cleanup POSIX timers right after de_thread()

A per-thread CPU timer holds a reference to the PID of the thread it is
attached to and, while it is armed, its node is queued in that thread's
posix_cputimers. The task is looked up by that PID.

When a non-leader thread exec()s, de_thread() changes which task owns
that PID. pid_task(timer->it.cpu.pid, PIDTYPE_PID) then returns NULL,
but the node is still queued on tsk, which is alive. timer_lock_sighand()
takes a failed lookup to mean that the node is already dequeued, so it
has nothing to undo.

begin_new_exec() calls posix_cpu_timers_exit(me) right after
exec_task_namespaces() and that removes the leftover node, so the state
normally stays invisible. But bprm->point_of_no_return is set before
de_thread(), so if unshare_files(), set_mm_exe_file(), exec_mmap() or
exec_task_namespaces() fails, the task dies before it gets there.
exit_itimers() then frees the k_itimer while its node is still queued,
and reaping tsk later erases that freed node from the rbtree.

In short:

the non-leader thread B the parent

timer_create(CLOCK_THREAD_CPUTIME_ID)
timer_settime()
arm_timer() // the node is queued on B
execve()
de_thread(B)
exchange_tids(B, leader) // B's PID now belongs to the leader
release_task(leader)
__exit_signal(leader)
posix_cpu_timers_exit(leader) // cleans leader's queue, not B's
__unhash_process(leader) // that PID has no task anymore
exec_mmap()
mmap_read_lock_killable(old_mm)
kill(B, SIGKILL)
// -EINTR
get_signal()
do_exit()
exit_itimers()
posix_timer_delete()
posix_cpu_timer_del()
posix_timer_unhash_and_free() // freed while still queued
wait4()
release_task(B)
posix_cpu_timers_exit(B)
cleanup_timerqueue()
timerqueue_del() // use-after-free

Move the POSIX timer cleanup right after de_thread() before any of the
later failure conditions brings the task into do_exit().

[ tglx: Move the cleanup right after de_thread() ]

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 12.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Public exploits and proof-of-concept code

83 public repositories with exploit or proof-of-concept code for this CVE:

  • Yunnijian/Shark (244 stars, last pushed 2026-11-13): CVE-2026-98260-多机型 Android 一键临时 Root 与管理器切换工具:支持 OnePlus / OPPO / Realme / iQOO,KernelSU / KernelSU Next / BakaSU / SukiSU Ultra / FinaSU
  • zsw125/o3root (95 stars, last pushed 2026-11-08): Shizuku-driven CVE-2026-98260 root + KernelSU runtime LKM loader for Xiaomi yingtian / lhasa (kernel 6.18.21)
  • kpgc10kai/TimerRoot (94 stars, last pushed 2026-11-03): Android front end for CVE-2026-98260: root shell + KernelSU late-load through Shizuku
  • villager1314/CVE-2026-98260-Analysis (77 stars, last pushed 2026-10-26)
  • Again1996-bit/CVE-2026-98260-GhostKey (69 stars, last pushed 2026-10-29): GhostKey - CVE-2026-98260 一键提权工具(Shizuku + NDK Native)
  • YuKongA/CVE-2026-98260 (68 stars, last pushed 2026-11-19): 6.12.69-android16-6-g242e1a07f878
  • woshigenm/CVE-2026-98260 (67 stars, last pushed 2026-11-12): Android LPE (CVE-2026-98260) on Honor MagicPad3 Pro 13.3 (YLP-W00), kernel 6.12.38 — PoC/EXP, uid-0 shell, KernelSU app
  • ylh440104/InfinityCore-Android-CVE-2026-98260 (66 stars, last pushed 2026-10-25): CVE-2026-98260 (Timer) Android/ARM64 port
  • Yunnijian/OnePlus16-Jailbreak (37 stars, last pushed 2026-11-04): OnePlus 16 (PYB110) jailbreak: CVE-2026-98260 + KernelSU / KernelSU Next / BakaSU / SukiSU Ultra LKM
  • yoro1836/SamTimer (33 stars, last pushed 2026-11-08): One-tap Android root for Samsung Galaxy devices, built around the CVE-2026-98260 timer exploit.

73 more are listed on the interactive page.

References