Skip to main content
← All vulnerabilities
CVE-2026-72451

xfrm: Fix xfrm state cache insertion race

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.97
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.12.13 · fixed in 6.12.97

  • Linux Linux

    6.13

References 4

git.kernel.org