CVE-2026-98230·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: xfrm: use hlist_del_init_rcu for state_cache and state_cache_input Commit 14acf9652e56 ("xfrm: defensively unhash xfrm_state lists in __xfrm_state_delete") converted bydst/bysrc/byseq/byspi from hlist_del_rcu() to hlist_del_init_rcu() so that a second __xfrm_state_delete() on the same object becomes a no-op rather than a write through LIST_POISON pprev. It missed state_cache and state_cache_input, which kept hlist_del_rcu(): - hlist_del_rcu() leaves pprev = LIST_POISON2 (non-NULL), so hlist_unhashed() returns false. - hlist_del_init_rcu() leaves pprev = NULL, so hlist_unhashed() returns true. A second __xfrm_state_delete() therefore enters __hlist_del() on the already-deleted state_cache/state_cache_input nodes and does WRITE_ONCE(*pprev, next) through LIST_POISON2 — a write use-after-free once the slab is reused. The corruption can in turn cause a subsequent hlist_for_each_entry_rcu traversal to follow a dangling next pointer, producing the read use-after-free reported in xfrm_input_state_lookup(). Switch state_cache and state_cache_input to hlist_del_init_rcu() to match the other four lists, closing the write use-after-free and, with it, the read use-after-free it spawns.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.112, 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.12% — 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-98230 scores 7 on CVSS, so a successful attack would be serious — but at 0.12%, 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 a patched stable release to fix a use-after-free vulnerability in the xfrm (IPsec transform) subsystem. If you run kernel 6.12.x, update to 6.12.112 or later; if you run 6.18.x, update to 6.18.54 or later; if you run 7.2.x, update to 7.2.8 or later. Contact your Linux distribution for a backported security package rather than manually building mainline kernel 7.3.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Compare against fixed versions: If output shows 6.12.0-6.12.111, 6.18.0-6.18.53, or 7.2.0-7.2.7, the system is vulnerable
- Search kernel logs for xfrm-related crashes: sudo grep -i 'use-after-free\|xfrm_input_state_lookup\|list_poison' /var/log/kern.log /var/log/messages 2>/dev/null
- Verify patch applied: grep -i 'hlist_del_init_rcu' /boot/config-$(uname -r) or check kernel source git log for commit 2afb8dc1f4390
FAQ
What is CVE-2026-98230?
This is a use-after-free vulnerability in the Linux kernel's xfrm (IPsec transform) subsystem. Improper list deletion logic allows a double-delete to write through a poisoned pointer, causing memory corruption that can lead to a subsequent read crash when xfrm state lookups traverse corrupted list structures.
Is CVE-2026-98230 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploit code is available. However, the memory corruption could potentially be weaponized by a local attacker with kernel access.
What versions of Kernel are affected by CVE-2026-98230?
Kernel versions 6.12.0 through 6.12.111, 6.18.0 through 6.18.53, and 7.2.0 through 7.2.7 are vulnerable. Kernel 7.3 mainline and the fixed stable releases (6.12.112+, 6.18.54+, 7.2.8+) are patched.
How do I check if my server is vulnerable to CVE-2026-98230?
Run 'uname -r' and compare the output against the affected ranges. For example, if you see 6.12.105, your system is vulnerable; if you see 6.12.112, it is patched.
Does Defensia detect CVE-2026-98230?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98230 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-98230. Free for 1 server.
Get started free