ZeroDay Brief
CVE-2026-53239

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…

CVSS
7.8High
Chance of exploitation (EPSS)
—
Published
Jun 25, 2026
In the news
1 story
Vendor advisory More from this vendor

What to do

A serious memory corruption flaw in Linux kernel that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13

Affected versions
Linux
5.0
Linux kernel
5.0 to before 5.10.259; 5.11 to before 5.15.210; 5.16 to before 6.1.176; 6.13 to before 6.18.36; 6.19 to before 7.0.13; 6.2 to before 6.6.143; 6.7 to before 6.12.94; 7.1

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

CWE-416CWE-362

Affected products

Get alerts for these →

Timeline 20

Latest change: Nessus plugin 392096: Ubuntu 22.04 LTS / 24.04 LTS / Pro Realtime 24.04 LTS : linux-oracle-6.8, linux-raspi, linux-raspi-realtime vulnerabilities (USN-9025-1) (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Oct 22, 2026

  1. AdvisorySiemens SIMATIC S7 Webserver APICISA · 12:00 UTC
  2. AdvisorySiemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFPCISA · 12:00 UTC
  3. AdvisorySiemens SIMATIC IPCsCISA · 12:00 UTC
  4. AdvisorySiemens SIMATIC S7 PLCs Web ServerCISA · 12:00 UTC
  5. AdvisorySiemens SIMATIC S7-1500 TM MFPCISA · 12:00 UTC

Thu, Jun 25, 2026

  1. CVECVE-2026-53239 published (CVSS 7.8)CVE Program · 09:16 UTC

References 11

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”