# CVE-2026-72451: xfrm: Fix xfrm state cache insertion race

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-08-15T05:56:59.561Z
- Modified: 2026-08-17T06:19:12.670Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5e4334dc39443645415450163ff5ff1ee7e79784 before 6dab4dec9a49121d079981ac913569f232c06b06; from 81a331a0e72ddc2f75092603d9577bd1a0ca23ad before a1a3360a0c44b8b5c134db2a9d0667b61c9cf523; from 81a331a0e72ddc2f75092603d9577bd1a0ca23ad before 041859fd55c81ea55e76d051e39b7b79975b8c7d; from 81a331a0e72ddc2f75092603d9577bd1a0ca23ad before ddd3d0132920319ac426e12456013eadbae67e15; from 6.12.13 before 6.12.97; 6.13 (not affected: before 6.13; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/6dab4dec9a49121d079981ac913569f232c06b06>
- <https://git.kernel.org/stable/c/a1a3360a0c44b8b5c134db2a9d0667b61c9cf523>
- <https://git.kernel.org/stable/c/041859fd55c81ea55e76d051e39b7b79975b8c7d>
- <https://git.kernel.org/stable/c/ddd3d0132920319ac426e12456013eadbae67e15>

## Sources

- CVE List: [CVE-2026-72451](https://www.cve.org/CVERecord?id=CVE-2026-72451), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72451](https://nvd.nist.gov/vuln/detail/CVE-2026-72451), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72451 · Whole record: https://cve.day/CVE-2026-72451.json · Rebuilt by cve.day 2026-11-25T22:59:33.127Z
