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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free
Action: Apply Patch
AI Analysis

Impact

This kernel flaw arises when functions that create IPsec bundles read a network device pointer without holding a reference. A concurrent RTM_DELLINK replaces dst->dev via dst_dev_put() and frees the old net_device, causing a stale pointer to be later dereferenced during destination resolution. The likely attack vector is a race condition triggered by concurrent interface deletion while IPsec bundle creation occurs, which can lead to use‑after‑free, kernel memory corruption, or a system crash. The weakness is a classic dereference vulnerability coupled with a concurrent modification race.

Affected Systems

All Linux kernel installations that have not yet applied the fix for the 2026‑98364 bug are affected. The advisory does not list specific kernel releases, so any kernel version lacking the patch could be vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, yet the EPSS score of < 1% suggests a very low probability of exploitation in contemporary settings. The bug is not listed in the CISA KEV catalog, implying no large‑scale exploitation has been observed. The likely attack vector is the race condition between interface deletion and IPsec bundle creation, and if successfully triggered, an attacker could achieve kernel memory corruption or denial of service, maintaining a high severity assessment but low exploitation likelihood.

Generated by OpenCVE AI on October 9, 2026 at 06:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch for CVE‑2026‑98364.
  • If a kernel upgrade is not immediately possible, temporarily disable IPsec bundle creation or related functionality that triggers xfrm_bundle_create until the update can be applied.
  • Enforce stringent SELinux or AppArmor policies and restrict kernel module loading to reduce the attack surface while the vulnerability remains unresolved.

Generated by OpenCVE AI on October 9, 2026 at 06:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 09 Oct 2026 00:15:00 +0000


Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 06 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title xfrm: hold net_device reference under RCU in bundle creation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:18:16.366Z

Reserved: 2026-09-25T10:25:14.344Z

Link: CVE-2026-98364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:30.547

Modified: 2026-10-19T10:18:39.290

Link: CVE-2026-98364

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98364 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T06:15:18Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference