CVE-2026-98260 exec: Cleanup POSIX timers right after de_thread()

High 7.8 Published Updated

A use-after-free in the Linux kernel's exec path allows local attackers to execute arbitrary code or escalate privileges via race conditions during thread execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-98260?

CVE-2026-98260 is a high-severity use after free vulnerability in Linux, published on 6 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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() ]

Which versions are affected by CVE-2026-98260?

Linux distribution packages (40)
bpftool-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:7.0.0-284.198.1.el9_2
kernel-64k-debug-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-devel-matched Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-devel-matched Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debug-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debug-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debug-devel-matched Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debuginfo-common-aarch64 Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debuginfo-common-ppc64le Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debuginfo-common-s390x Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-debuginfo-common-x86_64 Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-devel-matched Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-doc Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-tools-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-zfcpdump-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-zfcpdump-devel Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
kernel-zfcpdump-devel-matched Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
perf Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
perf-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
python3-perf-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
rtla Red Hat:rhel_e4s:9.2::appstreamAll versions0:5.14.0-284.198.1.el9_2
bpftool Red Hat:rhel_e4s:9.2::baseosAll versions0:7.0.0-284.198.1.el9_2
bpftool-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:7.0.0-284.198.1.el9_2
kernel Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-core Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-core Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-modules Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-modules-core Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debug-modules-extra Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-debuginfo Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-modules Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2
kernel-64k-modules-core Red Hat:rhel_e4s:9.2::baseosAll versions0:5.14.0-284.198.1.el9_2

How do I fix CVE-2026-98260?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-98260 being exploited?

There is no known exploitation of CVE-2026-98260 in the wild and no public exploit code.

Public exploit code: 27 proofs of concept on GitHub.

Sources

Also known as AZL-106044, BELL-CVE-2026-98260, DEBIAN-CVE-2026-98260, GHSA-pr95-77xq-3v99, RHSA-2026:83738, RHSA-2026:83739 and 3 more.

Is CVE-2026-98260 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free