CVE-2026-98229
xfrm: save input state data before secpath resets
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: xfrm: save input state data before secpath resets xfrm_input() stores the current xfrm_state in the skb secpath while it continues receive-side processing. Some input paths can reset that secpath before xfrm_input() has finished dereferencing the state. Receive callback users such as VTI and XFRM interfaces can reset the secpath. The VTI receive path does so before checking whether the packet crosses network namespaces, while the XFRM interface path does so only for cross-network-namespace packets. The XFRM_MAX_DEPTH error path can also reset the secpath before the final drop callback reports the current state's protocol. If secpath_reset() drops the last state reference while the state is concurrently deleted, xfrm_input() can still dereference the freed state when selecting transport_finish() or reporting the drop callback protocol. Save the state protocol on the stack while the state is still valid, and use the already saved address family for transport_finish(). A larval XFRM_STATE_ACQ state has no type, so retain nexthdr as its protocol. This preserves the existing drop-path fallback while avoiding the post-reset state dereferences without adding an extra state reference to every received packet.
EPSS 0.17% · 6.2th 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.12-tools | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| Linux | Linux | 3cf5cdecd99c9c186a5ea518d93bbf3045b6e3aa |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0, df3893c176e9b0bb39b28ab5ec8113fa20ad1ee0 |
| Linux | Linux | 3.15, 0, 6.12.112 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | 7.3, *, * |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | perf6.18 | 0 |
| linux | linux_kernel | 3.15, 3.15, 3.15 |
…and 7 more
Timeline
- Oct 6, 2026 EPSS Score (5 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-98229
vulnetix vdb fixes CVE-2026-98229
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-98229/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart