# CVE-2026-98260: exec: Cleanup POSIX timers right after de\_thread()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-06 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2026-98260, DEBIAN-CVE-2026-98260, RHSA-2026:83738, RHSA-2026:83739, RHSA-2026:83775, RHSA-2026:83797
- Record: https://cvemate.com/vulnerability/CVE-2026-98260 · JSON: https://cvemate.com/vulnerability/CVE-2026-98260/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.339%, percentile 29.35%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 254)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.190-1 \| \< 6.12.113-1 \| \< 7.2.8-1
- debian linux-6.12 (Debian): \< 6.12.113-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-149.149 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1073.82 \| \< 7.0.0-1020.21

## References (first 20 of 43)

- <https://git.kernel.org/stable/c/6f1977cea3e85cd8ab55fb337d3e1725fe61d1ce>
- <https://git.kernel.org/stable/c/d9ae467e617ca29b825493a362bf0d75ad5f4ac3>
- <https://git.kernel.org/stable/c/75aa08b93c65766040f9ca99f41ac85ad22596b6>
- <https://git.kernel.org/stable/c/d602877baf36c43c788a5f472c977e0be414029f>
- <https://git.kernel.org/stable/c/acb03d3881818581052924a9bbbe92b8741ed448>
- <https://ubuntu.com/security/CVE-2026-98260>
- <https://www.cve.org/CVERecord?id=CVE-2026-98260>
- <https://git.kernel.org/linus/acb03d3881818581052924a9bbbe92b8741ed448>
- <https://security-tracker.debian.org/tracker/CVE-2026-98260>
- <https://access.redhat.com/errata/RHSA-2026:83738>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2546491>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_83738.json>
- <https://access.redhat.com/security/cve/CVE-2026-98260>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-98260>
- <https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98260.mbox>
- <https://access.redhat.com/errata/RHSA-2026:83739>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_83739.json>
- <https://access.redhat.com/errata/RHSA-2026:83775>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_83775.json>

---

Data as of 2026-12-05T07:00:10.960Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
