CVE-2026-53239
xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()
Mitigation
- Upgrade Linux to 7f2d76c9c03257c0782afef9d95321fa04096f60 or later.
Who should check
- Anyone running Linux >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 8fc536e9f6856230f19c7d13e71af064b6a77b22; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < c4c1ea36d83bf3c4569468ca5b8b614fda1bf821; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 42827d03f8009a6a218bacab153e21f39d6a121c; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 88697cf980222d5906a37bf47662dac0732e2a0f; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < b5316e2b8614a87d8736941972441cb47bfd4491; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < ec82ea4eb220164d854f8734ca5a35e23e577b94; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 7f2d76c9c03257c0782afef9d95321fa04096f60
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 8fc536e9f6856230f19c7d13e71af064b6a77b22; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < c4c1ea36d83bf3c4569468ca5b8b614fda1bf821; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 42827d03f8009a6a218bacab153e21f39d6a121c; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 88697cf980222d5906a37bf47662dac0732e2a0f; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < b5316e2b8614a87d8736941972441cb47bfd4491; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < ec82ea4eb220164d854f8734ca5a35e23e577b94; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 7f2d76c9c03257c0782afef9d95321fa04096f60; Linux 5.0
- Fixed in
- Linux 8fc536e9f6856230f19c7d13e71af064b6a77b22, Linux 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7, Linux 42827d03f8009a6a218bacab153e21f39d6a121c, Linux 88697cf980222d5906a37bf47662dac0732e2a0f, Linux 7f2d76c9c03257c0782afef9d95321fa04096f60
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.14% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-416, CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx() Fix the race by pruning the bin while still holding xfrm_policy_lock, before dropping it. Use __xfrm_policy_inexact_prune_bin() directly since the lock is already held. The wrapper xfrm_policy_inexact_prune_bin() becomes unused and is removed. Race: CPU0 (XFRM_MSG_DELPOLICY) CPU1 (XFRM_MSG_NEWSPDINFO) ========================== ========================== xfrm_policy_bysel_ctx(): spin_lock_bh(xfrm_policy_lock) bin = xfrm_policy_inexact_lookup() __xfrm_policy_unlink(pol) spin_unlock_bh(xfrm_policy_lock) xfrm_policy_kill(ret) // wide window, lock not held xfrm_hash_rebuild(): spin_lock_bh(xfrm_policy_lock) __xfrm_policy_inexact_flush(): kfree_rcu(bin) // bin freed spin_unlock_bh(xfrm_policy_lock) xfrm_policy_inexact_prune_bin(bin) // UAF: bin is freed
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 8fc536e9f6856230f19c7d13e71af064b6a77b22; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < c4c1ea36d83bf3c4569468ca5b8b614fda1bf821; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 42827d03f8009a6a218bacab153e21f39d6a121c; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 88697cf980222d5906a37bf47662dac0732e2a0f; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < b5316e2b8614a87d8736941972441cb47bfd4491; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < ec82ea4eb220164d854f8734ca5a35e23e577b94; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 7f2d76c9c03257c0782afef9d95321fa04096f60 | — | cvelist |
| Linux | 5.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-53239. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-53239.md Affected: Linux >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 8fc536e9f6856230f19c7d13e71af064b6a77b22; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < c4c1ea36d83bf3c4569468ca5b8b614fda1bf821; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7; >= 6be3b0db6db82cf056a72cc… Fixed in: Linux 8fc536e9f6856230f19c7d13e71af064b6a77b22, Linux 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7, Linux 42827d03f8009a6a218bacab153e21f39d6a121c, Linux 88697cf980222d5906a37bf47662dac0732e2a0f, Linux 7f2d76c9c03257c0782afef9d95321fa04096f60 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2026-53239 being exploited?
There is no confirmed exploitation: CVE-2026-53239 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-53239?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-53239?
Linux >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 8fc536e9f6856230f19c7d13e71af064b6a77b22; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < c4c1ea36d83bf3c4569468ca5b8b614fda1bf821; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 42827d03f8009a6a218bacab153e21f39d6a121c; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 88697cf980222d5906a37bf47662dac0732e2a0f; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < b5316e2b8614a87d8736941972441cb47bfd4491; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < ec82ea4eb220164d854f8734ca5a35e23e577b94; >= 6be3b0db6db82cf056a72cc18042048edd27f8ee, < 7f2d76c9c03257c0782afef9d95321fa04096f60; Linux 5.0.
Is there a fix for CVE-2026-53239?
Yes. Fixed in Linux 8fc536e9f6856230f19c7d13e71af064b6a77b22, Linux 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7, Linux 42827d03f8009a6a218bacab153e21f39d6a121c, Linux 88697cf980222d5906a37bf47662dac0732e2a0f, Linux 7f2d76c9c03257c0782afef9d95321fa04096f60. Upgrade Linux to 7f2d76c9c03257c0782afef9d95321fa04096f60 or later.
How do I check if I'm affected by CVE-2026-53239?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.