Description
In the Linux kernel, the following vulnerability has been resolved:

xfrm: Fix xfrm state cache insertion race

The xfrm input state cache insertion code checks the validity of
the state before acquiring the global xfrm_state_lock. Thus it's
possible for someone else to kill the state after it passed the
validity check, and then the insertion will add the dead state
to the cache.

Fix this by moving the validity check inside the lock.

This entire function is called on the input path, where BH must
be off (e.g., the caller of this function xfrm_input acquires
its spinlocks without disabling BH).

So there is no need to disable BH here or take the RCU read lock.
Remove both and replace them with an assertion that trips if BH
is accidentally enabled on some future calling path.
Published: 2026-08-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, a race condition occurs when an incoming network state is inserted into the xfrm cache; the code validates the state before acquiring the global lock, allowing another thread to delete or invalidate it afterward. This flaw allows a dead or stale state to be cached, corrupting kernel data structures and potentially causing a crash or unpredictable behavior. The vulnerability is a classic race condition, identified as CWE‑367.

Affected Systems

All Linux kernel builds that lack the fix commit 041859f and its integrated successors are vulnerable. The advisory does not specify exact versions, so any kernel version prior to applying this patch may be affected.

Risk and Exploitability

Based on the description, it is inferred that triggering the race requires local kernel‑level privilege or privileged network traffic. The CVSS score of 9.8 indicates a high‑severity kernel race condition. The EPSS score of < 1% suggests a low likelihood of exploitation in the near term, and the vulnerability is not listed in CISA KEV. A successful exploitation could lead to kernel instability, denial of service, or possible escalation of privileges if an attacker can manipulate cached states.

Generated by OpenCVE AI on August 22, 2026 at 05:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates commit 041859f or later to eliminate the race condition.
  • Restart the system to load the updated kernel.
  • If an update cannot be applied immediately, disable or limit the use of xfrm‑based features (e.g., IPsec or VPN traffic) until the patch is available.

Generated by OpenCVE AI on August 22, 2026 at 05:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Mon, 17 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfrm: Fix xfrm state cache insertion race The xfrm input state cache insertion code checks the validity of the state before acquiring the global xfrm_state_lock. Thus it's possible for someone else to kill the state after it passed the validity check, and then the insertion will add the dead state to the cache. Fix this by moving the validity check inside the lock. This entire function is called on the input path, where BH must be off (e.g., the caller of this function xfrm_input acquires its spinlocks without disabling BH). So there is no need to disable BH here or take the RCU read lock. Remove both and replace them with an assertion that trips if BH is accidentally enabled on some future calling path.
Title xfrm: Fix xfrm state cache insertion race
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-08-17T05:44:20.831Z

Reserved: 2026-08-09T03:40:39.931Z

Link: CVE-2026-72451

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:19.087

Modified: 2026-08-17T06:19:12.670

Link: CVE-2026-72451

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72451 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T05:45:05Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition