CVE-2026-98364
xfrm: hold net_device reference under RCU in bundle creation
Mitigation
- Upgrade Linux to 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1 or later.
Who should check
- Anyone running Linux >= 25ee3286dcbc830a833354bb1d15567956844813, < 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807; >= 25ee3286dcbc830a833354bb1d15567956844813, < 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1
- Anyone running Linux 2.6.25
Vulnerability facts
- Affected
- Linux >= 25ee3286dcbc830a833354bb1d15567956844813, < 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807; >= 25ee3286dcbc830a833354bb1d15567956844813, < 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1; Linux 2.6.25
- Fixed in
- Linux 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807, Linux 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: hold net_device reference under RCU in bundle creation xfrm_bundle_create() and xfrm_create_dummy_bundle() read dst->dev into a local pointer without taking a device reference, then pass it to xfrm_fill_dst(). A concurrent RTM_DELLINK replaces dst->dev via dst_dev_put() and frees the old net_device, causing a use-after-free when xfrm6_fill_dst() later dereferences the stale dev pointer. BUG: KASAN: slab-use-after-free in xfrm6_fill_dst+0x82c/0x860 (net/ipv6/xfrm6_policy.c:86 netdev_hold()) Read of size 8 at addr ffff8880142fe588 by task exploit/153 Call Trace: xfrm6_fill_dst+0x82c/0x860 xfrm_resolve_and_create_bundle+0x21d4/0x2bd0 xfrm_lookup_with_ifid+0x485/0x1640 ip6_dst_lookup_flow+0x19b/0x1e0 udpv6_sendmsg+0x1443/0x2dd0 Fix this by reading dst->dev via dst_dev_rcu() and keeping the RCU read-side critical section active until xfrm_fill_dst() has taken the required device references.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98364. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98364.md Affected: Linux >= 25ee3286dcbc830a833354bb1d15567956844813, < 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807; >= 25ee3286dcbc830a833354bb1d15567956844813, < 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1; Linux 2.6.25 Fixed in: Linux 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807, Linux 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98364 being exploited?
There is no confirmed exploitation: CVE-2026-98364 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98364?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98364?
Linux >= 25ee3286dcbc830a833354bb1d15567956844813, < 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807; >= 25ee3286dcbc830a833354bb1d15567956844813, < 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1; Linux 2.6.25.
Is there a fix for CVE-2026-98364?
Yes. Fixed in Linux 8d85d6bc9c46dc41cb2be0eac53f8ab068c3a807, Linux 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1. Upgrade Linux to 9fa903b24b1f46b4ff5443bcd4aca23e5c57f9c1 or later.
How do I check if I'm affected by CVE-2026-98364?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.