CVE-2026-98230
xfrm: use hlist_del_init_rcu for state_cache and state_cache_input
Reported by linux · Published October 6, 2026
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.
EPSS 0.12% · 1.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-livepatch-6.12.113-138.209 | Amazon Linux | 1:1.0-0.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | aa48a18fdb0911572d133057cd579db704b87da4, 0045e3d80613cc7174dc15f189ee6fc4e73b9365, 0045e3d80613cc7174dc15f189ee6fc4e73b9365 |
| Linux | Linux | 6.13, 0, 6.12.112 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…and 7 more
Timeline
- Oct 6, 2026 EPSS Score (3 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98230
vulnetix vdb fixes CVE-2026-98230
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98230/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart