Skip to main content

Linux Kernel CVE-2026-53197

| EUVDEUVD-2026-39288 MEDIUM
Improper Locking (CWE-667)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-cwx4-f9x9-pqhh
5.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.7 MEDIUM

AV:L confirmed; AC:H because exploitation requires a specific SMP race window during state destruction with an active iptfs SA; PR:L for CAP_NET_ADMIN in user-namespace contexts.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 06, 2026 - 12:40 vuln.today
CVSS changed
Jul 06, 2026 - 12:37 NVD
5.5 (MEDIUM)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

xfrm: iptfs: fix ABBA deadlock in iptfs_destroy_state()

iptfs_destroy_state() calls hrtimer_cancel() while holding a spinlock that the timer callback also acquires, leading to an ABBA deadlock on SMP systems.

For the output timer (iptfs_timer):

  • iptfs_destroy_state() holds x->lock, calls hrtimer_cancel()
  • iptfs_delay_timer() callback takes x->lock

For the drop timer (drop_timer):

  • iptfs_destroy_state() holds drop_lock, calls hrtimer_cancel()
  • iptfs_drop_timer() callback takes drop_lock

Both timers use HRTIMER_MODE_REL_SOFT, so their callbacks run in softirq context. When hrtimer_cancel() is called for a soft timer that is currently executing on another CPU, hrtimer_cancel_wait_running() spins on softirq_expiry_lock -- the same lock held by the softirq running the callback. If the callback is blocked waiting for the spinlock held by the caller of hrtimer_cancel(), a circular dependency forms:

CPU 0: holds lock_A -> waits for softirq_expiry_lock CPU 1: holds softirq_expiry_lock -> waits for lock_A

Fix by calling hrtimer_cancel() before acquiring the respective locks. hrtimer_cancel() is safe to call without holding any lock and will wait for any in-progress callback to complete. For the output timer, the lock is still acquired afterwards to drain the packet queue. For the drop timer, the lock/unlock pair is removed entirely since it only existed to serialize with the timer callback, which hrtimer_cancel() already guarantees.

Found by source code audit.

AnalysisAI

ABBA deadlock in the Linux kernel xfrm iptfs subsystem causes availability loss on SMP systems when iptfs state is destroyed while its timer callbacks are concurrently executing on another CPU. The vulnerability affects the IP Traffic Flow Secrecy (IPTFS) implementation within the kernel's xfrm IPsec framework, specifically during iptfs_destroy_state() - a function that acquires spinlocks before calling hrtimer_cancel(), creating a circular dependency with softirq timer callbacks that attempt to re-acquire those same locks. No public exploit code has been identified and EPSS is 0.17% (7th percentile), indicating this is a low-probability exploitation target; the impact is a kernel deadlock causing a system hang (DoS) with no confidentiality or integrity impact.

Technical ContextAI

The affected subsystem is xfrm iptfs (IP Traffic Flow Secrecy), a Linux kernel component providing packet-level traffic padding and tunneling to obscure flow metadata in IPsec deployments. CPE data confirms affected products as cpe:2.3:o:linux:linux_kernel across versions introduced by commit 4b3faf610cc63bfac972711635eafbca5e7d7117. The root cause class is CWE-667 (Improper Locking). Two distinct timer objects are involved: the output timer (iptfs_timer) using x->lock, and the drop timer (drop_timer) using drop_lock. Both are registered with HRTIMER_MODE_REL_SOFT, which causes callbacks to run in softirq context. The deadlock manifests specifically on SMP systems where hrtimer_cancel_wait_running() spins on softirq_expiry_lock held by the softirq processing the callback, while that callback blocks waiting for the spinlock held by the CPU calling hrtimer_cancel(). The circular dependency is: CPU 0 holds lock_A and waits for softirq_expiry_lock; CPU 1 holds softirq_expiry_lock and waits for lock_A. The fix reorders operations so hrtimer_cancel() is called before spinlock acquisition, leveraging the guarantee that hrtimer_cancel() waits for in-progress callbacks to complete without requiring external locking.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version: 6.18.36 or later on the 6.18 stable branch (commit 822b98d354e63e8249e85473c5f3c519f3c9cecc, available at https://git.kernel.org/stable/c/822b98d354e63e8249e85473c5f3c519f3c9cecc), 7.0.13 or later on the 7.0 stable branch (commit c8a8a75b733467b00c08b91a38dbaf207a08ed6e, available at https://git.kernel.org/stable/c/c8a8a75b733467b00c08b91a38dbaf207a08ed6e), or Linux 7.1 mainline (commit a13ca53e47e500854a3b9ec18b5dc83acfec863e, available at https://git.kernel.org/stable/c/a13ca53e47e500854a3b9ec18b5dc83acfec863e). Distribution-specific kernels (RHEL, Ubuntu, Debian, SUSE) should receive backported fixes via their respective security channels. As a compensating control on unpatched systems, administrators can disable or avoid configuring iptfs-mode xfrm SAs (use standard ESP tunnel mode instead); this eliminates the vulnerable code path entirely with no security trade-off for most IPsec deployments, since iptfs is an optional traffic obfuscation feature, not a core VPN requirement. No other workarounds are required if iptfs is not in use.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

Share

CVE-2026-53197 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy