CVE-2026-98230
published high CVSS 3.1 · 7.0xfrm: use hlist_del_init_rcu for state_cache and state_cache_input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaa48a18fdb0911572d133057cd579db704b87da4 to < fb38fb7420d5f7192f9e2b6ac835ede149cd7ac5 · 0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 4748c27e2e6a1969e02f1df46e62f79d2799b80b · 0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 9b74a47a4cbd0d29faff4f3b199212c73e6b6220 · 0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 2afb8dc1f4390f164db8352f8e685e126e9db566 · 5e4334dc39443645415450163ff5ff1ee7e79784 · 6.12.13 to < 6.12.112 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.54 through 6.18.* (unaffected · semver) · 7.2.8 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3192 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3335 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.113-1~deb12u1 | DLA-4850-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | linux | Advisory build | 6.12.113-1 | DSA-6568-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bad unlink is in __xfrm_state_delete(), reached when SAs are removed via XFRM_MSG_DELSA/FLUSHSA/EXPIRE over NETLINK_XFRM or the af_key socket, or via xfrm_timer_handler expiry. ESP packets only walk state_cache_input in xfrm_input_state_lookup() and carry no malformed data that causes the double unlink, so the vector is local. AC:H - A second unlink needs __xfrm_state_delete() to see a non-DEAD state that was already removed, but every caller holds x->lock and checks km.state. The only path found that skips the VALID check is mlx5e_ipsec_handle_event(), which calls xfrm_state_check_expire() on a hardware hard-limit event and needs mlx5 packet offload, so the attacker cannot reliably arrange it. PR:L - Adding, expiring and flushing SAs over NETLINK_XFRM needs CAP_NET_ADMIN only in the user namespace that owns the netns. An unprivileged user gets it with unshare -Urn, and each netns has its own state_cache_input percpu lists and xfrm_state_lock. UI:N - The attacker drives the SA lifecycle (add, expire, delete, flush) and the traffic that fills the state caches themselves. No other user has to do anything. S:U - The corrupted hlist nodes are inside struct xfrm_state in kernel slab memory, so the impact stays within the kernel's own security authority. C:H - After the stale-pprev unlink, the state_cache_input chain can keep a freed xfrm_state, which hlist_for_each_entry_rcu in xfrm_input_state_lookup() then dereferences (the read UAF the commit reports). With slab reuse, an attacker can control the contents of that object. I:H - __hlist_del() on an already-unlinked state_cache/state_cache_input node does WRITE_ONCE(*pprev, next) through a stale pointer, a write use-after-free into reused slab memory that corrupts RCU hash-chain linkage. A:H - Writing through LIST_POISON2, or walking the corrupted per-CPU state_cache_input or policy state_cache_list chain, causes a general protection fault or KASAN oops in softirq or netns cleanup context, which takes down the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | aa48a18fdb0911572d133057cd579db704b87da4 to < fb38fb7420d5f7192f9e2b6ac835ede149cd7ac5 (affected · git)0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 4748c27e2e6a1969e02f1df46e62f79d2799b80b (affected · git)0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 9b74a47a4cbd0d29faff4f3b199212c73e6b6220 (affected · git)0045e3d80613cc7174dc15f189ee6fc4e73b9365 to < 2afb8dc1f4390f164db8352f8e685e126e9db566 (affected · git)5e4334dc39443645415450163ff5ff1ee7e79784 (affected · git)6.12.13 to < 6.12.112 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.54 through 6.18.* (unaffected · semver)7.2.8 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
xfrm: use hlist_del_init_rcu for state_cache and state_cache_input
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 31bd631121cb5a48a4577bdf8cdd688f859c56729ad68a766b012a3d3276ff4f
- Ingested
- 19 Oct 2026, 09:35:31 UTC
- Source record
- Official CVE record