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
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
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, Dec 3, 2026
Mon, Nov 23, 2026
- DetectionNessus plugin 384542: Oracle Linux 10 : kernel (ELSA-2026-98608)Tenable
Wed, Nov 18, 2026
- DetectionNessus plugin 365370: Ubuntu 20.04 LTS : Linux kernel (GCP) vulnerabilities (USN-8878-1)Tenable
- DetectionNessus plugin 365377: Ubuntu 20.04 LTS : Linux kernel (Oracle) vulnerabilities (USN-8879-1)Tenable
- DetectionNessus plugin 365382: Ubuntu 20.04 LTS / 22.04 LTS : Linux kernel vulnerabilities (USN-8875-1)Tenable
- DetectionNessus plugin 365459: Ubuntu 22.04 LTS : Linux kernel (Azure CVM) vulnerabilities (USN-8876-1)Tenable
Sat, Nov 14, 2026
- DetectionNessus plugin 343527: Ubuntu 24.04 LTS / 26.04 LTS / Pro Realtime 24.04 LTS : Linux kernel vulnerabilities (USN-8726-1)Tenable
- DetectionNessus plugin 343531: Ubuntu 26.04 LTS : Linux kernel (OEM) vulnerabilities (USN-8727-1)Tenable
- DetectionNessus plugin 346233: Ubuntu 24.04 LTS / Pro Realtime 24.04 LTS : Linux kernel (NVIDIA) vulnerabilities (USN-8760-1)Tenable
- DetectionNessus plugin 349106: Ubuntu 26.04 LTS : Linux kernel (NVIDIA BaseOS) vulnerabilities (USN-8800-1)Tenable
Fri, Nov 13, 2026
Thu, Nov 12, 2026
Mon, Nov 9, 2026
Wed, Oct 28, 2026
Thu, Oct 22, 2026
- AdvisorySiemens SIMATIC S7 Webserver APICISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFPCISA · 12:00 UTC
- AdvisorySiemens SIMATIC IPCsCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7 PLCs Web ServerCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 TM MFPCISA · 12:00 UTC
Thu, Jun 25, 2026
- CVECVE-2026-53239 published (CVSS 7.8)CVE Program · 09:16 UTC
References 11
- git.kernel.org Patch /stable/c/25c8c7fb3b0b9668c7d05e209f58c158d2b020c7
- git.kernel.org Patch /stable/c/42827d03f8009a6a218bacab153e21f39d6a121c
- git.kernel.org Patch /stable/c/7f2d76c9c03257c0782afef9d95321fa04096f60
- git.kernel.org Patch /stable/c/88697cf980222d5906a37bf47662dac0732e2a0f
- git.kernel.org Patch /stable/c/8fc536e9f6856230f19c7d13e71af064b6a77b22
- git.kernel.org Patch /stable/c/b5316e2b8614a87d8736941972441cb47bfd4491
- git.kernel.org Patch /stable/c/c4c1ea36d83bf3c4569468ca5b8b614fda1bf821
- git.kernel.org Patch /stable/c/ec82ea4eb220164d854f8734ca5a35e23e577b94
- cert-portal.siemens.com /productcert/html/ssa-019113.html
- cert-portal.siemens.com /productcert/html/ssa-457936.html
- cert-portal.siemens.com /productcert/html/ssa-784472.html