# xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added

CVE record · `CVE-2025-40256`

- **Identifiers:** `CVE-2025-40256`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Dec 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 16:08 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1b28a7fae0128fa140a7dccd995182ff6cd1c67b to before 57b72d74d4651dc19d046308a8304eb9abfe66ac` (git)
  - affected: `4b2c17d0f9be8b58bb30468bc81a4b61c985b04e to before 1dad653643f28ccc89be93f9440b8804cded85b2` (git)
  - affected: `0da961fa46da1b37ef868d9b603bd202136f8f8e to before 64441724387b4ac92f67ef51caaaeffe99c950d1` (git)
  - affected: `d0e0d1097118461463b76562c7ebaabaa5b90b13 to before 763e5c351206c1e4d910db4a1159053f6263689c` (git)
  - affected: `dc3636912d41770466543623cb76e7b88fdb42c7 to before f7d879c19d306512c2e260f37e8a3e5c85e37c50` (git)
  - affected: `b441cf3f8c4b8576639d20c8eb4aa32917602ecd to before d6fe5c740c573af10943b8353992e1325cdb2715` (git)
  - affected: `b441cf3f8c4b8576639d20c8eb4aa32917602ecd to before 10deb69864840ccf96b00ac2ab3a2055c0c04721` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.16`
  - unaffected: `before 6.16` (semver)
  - unaffected: `6.17.10 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 12th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 4 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-40256](https://www.cve.org/CVERecord?id=CVE-2025-40256)
- [NVD: CVE-2025-40256](https://nvd.nist.gov/vuln/detail/CVE-2025-40256)

### References from the CNA

- <https://git.kernel.org/stable/c/57b72d74d4651dc19d046308a8304eb9abfe66ac>
- <https://git.kernel.org/stable/c/1dad653643f28ccc89be93f9440b8804cded85b2>
- <https://git.kernel.org/stable/c/64441724387b4ac92f67ef51caaaeffe99c950d1>
- <https://git.kernel.org/stable/c/763e5c351206c1e4d910db4a1159053f6263689c>
- <https://git.kernel.org/stable/c/f7d879c19d306512c2e260f37e8a3e5c85e37c50>
- <https://git.kernel.org/stable/c/d6fe5c740c573af10943b8353992e1325cdb2715>
- <https://git.kernel.org/stable/c/10deb69864840ccf96b00ac2ab3a2055c0c04721>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40256>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40256/>. Everything for agents: <https://agentprime.io/llms.txt>.
