# xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()

CVE record · `CVE-2026-53239`

- **Identifiers:** `CVE-2026-53239`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-362](https://cwe.mitre.org/data/definitions/362.html)
- **Tags:** [Race condition](https://agentprime.io/advisories/tag/race-condition.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jun 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jun 2026, 08:39 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: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before 8fc536e9f6856230f19c7d13e71af064b6a77b22` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before c4c1ea36d83bf3c4569468ca5b8b614fda1bf821` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before 42827d03f8009a6a218bacab153e21f39d6a121c` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before 88697cf980222d5906a37bf47662dac0732e2a0f` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before b5316e2b8614a87d8736941972441cb47bfd4491` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before ec82ea4eb220164d854f8734ca5a35e23e577b94` (git)
  - affected: `6be3b0db6db82cf056a72cc18042048edd27f8ee to before 7f2d76c9c03257c0782afef9d95321fa04096f60` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `5.10.259 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.210 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.176 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.143 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.94 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.36 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.13 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0010, the 1st percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 25 Jun 2026, 08:39 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-53239)
- 25 Jun 2026, 09:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-53239)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/8fc536e9f6856230f19c7d13e71af064b6a77b22>
- <https://git.kernel.org/stable/c/c4c1ea36d83bf3c4569468ca5b8b614fda1bf821>
- <https://git.kernel.org/stable/c/25c8c7fb3b0b9668c7d05e209f58c158d2b020c7>
- <https://git.kernel.org/stable/c/42827d03f8009a6a218bacab153e21f39d6a121c>
- <https://git.kernel.org/stable/c/88697cf980222d5906a37bf47662dac0732e2a0f>
- <https://git.kernel.org/stable/c/b5316e2b8614a87d8736941972441cb47bfd4491>
- <https://git.kernel.org/stable/c/ec82ea4eb220164d854f8734ca5a35e23e577b94>
- <https://git.kernel.org/stable/c/7f2d76c9c03257c0782afef9d95321fa04096f60>

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-2026-53239>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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