CVE-2026-72451

xfrm: Fix xfrm state cache insertion race

State
Published
Severity
9.8 Critical
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5e4334dc39443645415450163ff5ff1ee7e79784 to before 6dab4dec9a49121d079981ac913569f232c06b06Affected
  • 81a331a0e72ddc2f75092603d9577bd1a0ca23ad to before a1a3360a0c44b8b5c134db2a9d0667b61c9cf523Affected
  • 81a331a0e72ddc2f75092603d9577bd1a0ca23ad to before 041859fd55c81ea55e76d051e39b7b79975b8c7dAffected
  • 81a331a0e72ddc2f75092603d9577bd1a0ca23ad to before ddd3d0132920319ac426e12456013eadbae67e15Affected
  • 6.12.13 to before 6.12.97Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.