Linux KernelOperating system · Linux

CVE-2026-53239

HIGH · 7.8 CVSS v3.1 Published 2026-06-25
Fix available
A fix is available. Upgrade to 5.10.259 / 5.15.210 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a use-after-free vulnerability in the Linux kernel's XFRM (IPsec) policy subsystem. A race condition exists between xfrm_policy_bysel_ctx() (processing policy deletion) and xfrm_hash_rebuild() (processing SPD info update). The bin structure is freed via kfree_rcu() after the lock is released, but xfrm_policy_bysel_ctx() later attempts to access the freed bin, causing UAF. The fix moves the bin pruning operation inside the locked section before the lock is released.

MitigationApply the kernel patch that modifies xfrm_policy_bysel_ctx() to call __xfrm_policy_inexact_prune_bin() while holding xfrm_policy_lock, preventing the bin from being freed while still in use. This is a kernel-level fix requiring system update.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 5.0, < 5.10.259>= 5.11, < 5.15.210>= 5.16, < 6.1.176>= 6.2, < 6.6.143>= 6.7, < 6.12.94>= 6.13, < 6.18.36>= 6.19, < 7.0.13= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed kernel version
    Run `uname -r` or `cat /proc/version` to get the running kernel version
    Affected if The kernel version falls within any of these ranges: 5.0 to 5.10.259, 5.11 to 5.15.210, 5.16 to 6.1.176, 6.2 to 6.6.143, 6.7 to 6.12.94, 6.13 to 6.18.36, 6.19 to 7.0.13, or exactly 7.1
  2. Verify XFRM/IPsec kernel support is loaded
    Run `lsmod | grep xfrm` to check if the XFRM module is loaded, or check `cat /proc/net/xfrm_stat`
    Affected if The XFRM module is loaded and the /proc/net/xfrm_stat file exists - this indicates IPsec policy handling is active
  3. Check for active XFRM policies
    Run `ip xfrm policy show` or inspect `/proc/net/xfrm/policy`
    Affected if There are active XFRM policies configured - the vulnerability triggers during policy deletion operations

You are affected if your kernel version is in the affected ranges AND XFRM/IPsec is actively being used (policies configured or module loaded).

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.10.259 / 5.15.210 / 6.1.176 or later
Fixed in 5.10.2595.15.2106.1.176
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that modifies xfrm_policy_bysel_ctx() to call __xfrm_policy_inexact_prune_bin() while holding xfrm_policy_lock, preventing the bin from being freed while still in use. This is a kernel-level fix requiring system update.

Recommended fix High confidence

Linux Kernel 5.10.259+ (for 5.0-5.10 branch), 5.15.210+ (for 5.11-5.15 branch), 6.1.176+ (for 5.16-6.1 branch), or 6.6.143+ (for 6.2-6.6 branch)

  1. 1. Identify the current running kernel version using 'uname -r'
  2. 2. Determine which release branch applies to your current version based on the affected ranges: >= 5.0 and < 5.10.259, >= 5.11 and < 5.15.210, >= 5.16 and < 6.1.176, or >= 6.2 and < 6.6.143
  3. 3. Upgrade to a kernel version at or beyond the fixed version for your branch: 5.10.259 or later for 5.x kernels before 5.11, 5.15.210 or later for 5.11-5.15 range, 6.1.176 or later for 5.16-6.1 range, or 6.6.143 or later for 6.2-6.6 range
  4. 4. Apply the upgrade via your distribution's package manager (e.g., apt update && apt upgrade on Debian/Ubuntu, yum update on RHEL/CentOS, or dnf upgrade on Fedora)
  5. 5. Reboot the system to load the patched kernel
  6. 6. Verify the fix is applied by checking the kernel version and confirming the specific commit 25c8c7fb3b0b9668c7d05e209f58c158d2b020c7 is included
Caveat Kernel upgrades may require system reboot and could introduce compatibility issues with out-of-tree kernel modules or proprietary drivers; ensure dependent modules are rebuilt for the new kernel version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing3.0 h
  • Review / QA2.0 h
8.0 hours of engineering $1,390
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53239 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53239 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data