CVE-2026-53239
xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()
Check your servers for CVE-2026-53239
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53239 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.59% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before 8fc536e9f6856230f19c7d13e71af064b6a77b22 affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before c4c1ea36d83bf3c4569468ca5b8b614fda1bf821 affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7 affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before 42827d03f8009a6a218bacab153e21f39d6a121c affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before 88697cf980222d5906a37bf47662dac0732e2a0f affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before b5316e2b8614a87d8736941972441cb47bfd4491 affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before ec82ea4eb220164d854f8734ca5a35e23e577b94 affected from 6be3b0db6db82cf056a72cc18042048edd27f8ee, before 7f2d76c9c03257c0782afef9d95321fa04096f60
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 5.10.259 up to and including 5.10.* unaffected from 5.15.210 up to and including 5.15.* unaffected from 6.1.176 up to and including 6.1.* unaffected from 6.6.143 up to and including 6.6.* unaffected from 6.12.94 up to and including 6.12.* unaffected from 6.18.36 up to and including 6.18.* unaffected from 7.0.13 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-53239 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53239
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-53239
trivy image --scanners vuln IMAGE | grep CVE-2026-53239
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8fc536e9f6856230f19c7d13e71af064b6a77b22 git.kernel.org
- https://git.kernel.org/stable/c/c4c1ea36d83bf3c4569468ca5b8b614fda1bf821 git.kernel.org
- https://git.kernel.org/stable/c/25c8c7fb3b0b9668c7d05e209f58c158d2b020c7 git.kernel.org
- https://git.kernel.org/stable/c/42827d03f8009a6a218bacab153e21f39d6a121c git.kernel.org
- https://git.kernel.org/stable/c/88697cf980222d5906a37bf47662dac0732e2a0f git.kernel.org
- https://git.kernel.org/stable/c/b5316e2b8614a87d8736941972441cb47bfd4491 git.kernel.org
- https://git.kernel.org/stable/c/ec82ea4eb220164d854f8734ca5a35e23e577b94 git.kernel.org
- https://git.kernel.org/stable/c/7f2d76c9c03257c0782afef9d95321fa04096f60 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-53239 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse