VDB

CVE-2026-98230

CVE-2026-98230 PUBLISHED CVSS 7 HIGH

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.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.12%
1.7th percentile

Affected products

VendorProductVersions
LinuxLinuxaa48a18fdb0911572d133057cd579db704b87da4, 0045e3d80613cc7174dc15f189ee6fc4e73b9365, 0045e3d80613cc7174dc15f189ee6fc4e73b9365
LinuxLinux6.13, 0, 6.12.112
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023python3-perf6.180
amazon:2023perf6.180
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.120
amazon:2023bpftool6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.12-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra-common0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›