CVE-2026-98258·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98258 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to patch a use-after-free vulnerability in POSIX CPU timer handling that can crash the system or cause kernel memory corruption. If you're running kernel 6.18.x, update to 6.18.54 or later; if on 7.2.x, update to 7.2.8 or later; if on 7.3+, ensure you have the latest stable release. Most users should apply their distribution's kernel security update rather than manually upgrading to mainline.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if your version is before the patched release (6.18.54, 7.2.8, or 7.3+): if your version is 6.18.0-6.18.53, 7.2.0-7.2.7, or any version before 7.3, you are vulnerable
- Monitor kernel logs for use-after-free panics or UAF warnings: sudo dmesg | grep -i 'UAF\|use.after.free\|BUG: unable to handle page fault'
- After patching, reboot the system and confirm the new kernel version: sudo reboot && uname -r (verify it shows the updated version)
FAQ
What is CVE-2026-98258?
This vulnerability is a use-after-free (UAF) flaw in the Linux kernel's POSIX CPU timer expiry handling code. A race condition allows timer cleanup code to free a timer structure while the expiry handler is still traversing it, potentially causing kernel crashes or memory corruption.
Is CVE-2026-98258 being actively exploited?
No, this CVE is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it should still be patched promptly as a local attacker could potentially trigger the race condition.
What versions of Kernel are affected by CVE-2026-98258?
Kernels before 6.18.54, 7.2.8, and all versions before mainline 7.3 are affected. The vulnerability was introduced in commit bf635681c906 and fixed in the stable branches noted above.
How do I check if my server is vulnerable to CVE-2026-98258?
Run 'uname -r' to display your kernel version. If it shows 6.18.0 through 6.18.53, 7.2.0 through 7.2.7, or any version below 7.3, you are vulnerable and should update immediately.
Does Defensia detect CVE-2026-98258?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98258 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98258. Free for 1 server.
Get started free