Description
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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use-After-Free potentially leading to kernel privilege escalation or crash
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the Linux kernel's handling of the XFRM security path during packet input processing. While xfrm_input records the current state, certain receive callbacks reset that reference before the function finishes dereferencing it. If secpath_reset drops the sole reference while the state is concurrently deleted, the function touches freed memory, leading to a Use-After-Free condition that can enable arbitrary kernel code execution or denial of service.

Affected Systems

All Linux kernel releases that have not applied the patch which modifies secpath handling can be vulnerable. The vulnerable product is the Linux kernel offered by Linux distributions; no specific version range is visible, so any kernel built with the original logic may be affected.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score is under 1% and the vulnerability is not in the CISA KEV catalog, indicating limited public exploitation risk. An attacker able to send crafted network traffic that activates VTI or XFRM interfaces—such as cross‑namespace packets—may trigger the Use-After-Free, potentially achieving kernel privilege escalation or causing a reboot. Based on the description, it is inferred that network access is sufficient to exploit the flaw.

Generated by OpenCVE AI on October 10, 2026 at 01:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that fixes the secpath handling bug
  • Limit or disable traffic that can reset the security path, for example by restricting VTI and cross‑namespace XFRM packets
  • Continuously monitor vendor advisories for any further patches or mitigations

Generated by OpenCVE AI on October 10, 2026 at 01:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Sat, 10 Oct 2026 00:30:00 +0000


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

Type Values Removed Values Added
Weaknesses CWE-416

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

Type Values Removed Values Added
Weaknesses CWE-416

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'}


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

Type Values Removed Values Added
Weaknesses CWE-416

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

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 13:15: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: 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.
Title xfrm: save input state data before secpath resets
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:16:01.147Z

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

Link: CVE-2026-98229

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-98229

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-98229 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T01:45:15Z

Weaknesses