Skip to main content

Linux Kernel EUVDEUVD-2026-27728

| CVE-2026-43167 MEDIUM
2026-05-06 Linux GHSA-2fm8-9qc5-4mqx
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Local authenticated access
  2. Delivery
    Configure xfrm state with HW offload
  3. Exploit
    Disable HW ESP capability
  4. Install
    Trigger device unregistration
  5. C2
    Leak device reference
  6. Execute
    Exhaust kernel memory
  7. Impact
    Trigger OOM or system denial of service

Vulnerability Assessment

Exploitation Conditions

Exploitation requires three specific conditions: (1) the Linux kernel must have IPsec hardware offload support compiled in (CONFIG_XFRM_OFFLOAD); (2) a network device must support or report the NETIF_F_HW_ESP hardware offload capability; (3) the attacker must have local access and credentials to execute xfrm netlink commands (typically CAP_NET_ADMIN capability) and ethtool commands. Additionally, the attacker must create an xfrm state with hardware offload explicitly enabled using 'offload crypto dev <device>' parameters, then be able to unregister the network device (feasible in container/namespace scenarios with virtual devices like netdevsim, or in privileged container contexts). This is NOT a remote vulnerability and does NOT affect default kernel configurations without xfrm hardware offload features actively configured; however, any modern Linux distribution with IPsec support enabled and network virtualization (containers, VMs) is at risk if users have local access.

Impact

This is a local privilege escalation/denial of service vulnerability with moderate real-world risk. The CVSS score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U) correctly reflects that exploitation requires local access and low-privilege authentication (non-root), but the impact is availability-focused rather than confidentiality or integrity. The EPSS score of 0.02% (percentile 5%) is notably low, indicating minimal likelihood of widespread automated exploitation despite the vulnerability being kernel-level. This disparity suggests the vulnerability requires specific knowledge of xfrm configuration and deliberate setup of IPsec hardware offload scenarios, making it less attractive for mass exploitation. However, the vulnerability is real and confirmed by syzbot reproduction steps; any Linux system with xfrm hardware offload support enabled could be targeted by authenticated local users to leak kernel memory and degrade system reliability. The KEV status is unknown from provided data, and no public POC is indicated, further suggesting this is a targeted technical vulnerability rather than a widespread threat.

Exploit ScenarioDerived

A local authenticated user (non-root, but with CAP_NET_ADMIN or xfrm_user group access) deliberately configures IPsec hardware offload on a network device using 'ip xfrm state add' with 'offload crypto' parameters, then disables the hardware ESP capability using 'ethtool -K <device> esp-hw-offload off', and triggers device unregistration via sysfs (e.g., writing to /sys/bus/netdevsim/del_device). Each cycle leaks a reference count to the network device structure, consuming kernel memory until the system page cache is exhausted, forcing the kernel to reclaim memory aggressively and causing denial of service.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 13, 2026

Resource leak in Linux kernel xfrm (IPsec) subsystem allows local authenticated users to exhaust kernel memory and trigger denial of service by preventing proper cleanup of IPsec hardware offload device references during network device unregistration. The vulnerability affects XFRM state management when IPsec hardware offloading is configured, particularly when the hardware offload capability (NETIF_F_HW_ESP) is disabled after state creation but before device removal.

RemediationAI

Vendor-released patches are available in Linux kernel versions 6.6.128, 6.12.75, 6.18.16, 6.19.6, and 7.0. Organizations should upgrade to the first patched version available in their kernel series (e.g., 6.6.128 for the 6.6.x line, or 6.19.6 for mainline). For systems unable to immediately patch, workarounds include: (1) disabling IPsec hardware offloading (ESP HW offload) on network interfaces if not critical for performance, achieved via 'ethtool -K <device> esp-hw-offload off', which prevents the reference acquisition that causes the leak; (2) avoiding dynamic removal/re-add of network devices configured with xfrm hardware offload; (3) restricting local user access to xfrm netlink configuration via access controls on CAP_NET_ADMIN capability. Note that disabling hardware offload may reduce IPsec performance but eliminates the attack surface. Patched kernel commits are available from kernel.org stable git repositories for immediate backporting if needed.

Affected VersionsENISA

Linux 4.12
Linux patch: 6.19.6
Linux patch: 6.12.75
Linux d77e38e612a017480157fe6d2c1422f42cb5b7e3 <59581778792cbaf8ad788f4a21dc663ce986050e
Linux patch: 0
Linux d77e38e612a017480157fe6d2c1422f42cb5b7e3 <a3c8fede034fa27892f87c863cbd5493167d17ed
Linux d77e38e612a017480157fe6d2c1422f42cb5b7e3 <166801e49a5b5fc127b8c9e2f110f303cfddfbc3
Linux patch: 7.0
Linux d77e38e612a017480157fe6d2c1422f42cb5b7e3 <4efa91a28576054aae0e6dad9cba8fed8293aef8
Linux d77e38e612a017480157fe6d2c1422f42cb5b7e3 <8c75c455ecd3bfd2f36abf66edb7021c4fa19ec4
Linux patch: 6.18.16
Linux patch: 6.6.128

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Linux kernel's XFRM (IPsec Transform) subsystem, specifically in the interaction between xfrm_dev_state_add() (which acquires a reference to network devices for hardware offload) and the device unregistration handler. The xfrm_dev_unregister() function was effectively implemented as a no-op despite xfrm_state_construct() acquiring references to 'struct net_device' for IPsec hardware offloading purposes. When NETDEV_UNREGISTER events fire, these references are not properly released because xfrm_dev_down() (shared between NETDEV_DOWN and NETDEV_UNREGISTER) does not unconditionally flush all state and policy. The root cause involves improper assumptions that NETDEV_DOWN would always precede NETDEV_UNREGISTER and that hardware offload capability checks would prevent reference acquisition, but the NETIF_F_HW_ESP feature flag can be cleared after xfrm_dev_state_add() acquires the reference, leaving dangling references.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 LOW

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

3
CVSS changed
May 13, 2026 - 15:52 NVD
5.5 (MEDIUM)
Patch available
May 06, 2026 - 13:32 EUVD
CVE Published
May 06, 2026 - 11:27 nvd
MEDIUM 5.5

DescriptionNVD

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

xfrm: always flush state and policy upon NETDEV_UNREGISTER event

syzbot is reporting that "struct xfrm_state" refcount is leaking.

unregister_netdevice: waiting for netdevsim0 to become free. Usage count = 2 ref_tracker: netdev@ffff888052f24618 has 1/1 users at __netdev_tracker_alloc include/linux/netdevice.h:4400 [inline] netdev_tracker_alloc include/linux/netdevice.h:4412 [inline] xfrm_dev_state_add+0x3a5/0x1080 net/xfrm/xfrm_device.c:316 xfrm_state_construct net/xfrm/xfrm_user.c:986 [inline] xfrm_add_sa+0x34ff/0x5fa0 net/xfrm/xfrm_user.c:1022 xfrm_user_rcv_msg+0x58e/0xc00 net/xfrm/xfrm_user.c:3507 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2550 xfrm_netlink_rcv+0x71/0x90 net/xfrm/xfrm_user.c:3529 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa5d/0xc30 net/socket.c:2592 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2646 __sys_sendmsg+0x16d/0x220 net/socket.c:2678 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f

This is because commit d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") implemented xfrm_dev_unregister() as no-op despite xfrm_dev_state_add() from xfrm_state_construct() acquires a reference to "struct net_device". I guess that that commit expected that NETDEV_DOWN event is fired before NETDEV_UNREGISTER event fires, and also assumed that xfrm_dev_state_add() is called only if (dev->features & NETIF_F_HW_ESP) != 0.

Sabrina Dubroca identified steps to reproduce the same symptoms as below.

echo 0 > /sys/bus/netdevsim/new_device dev=$(ls -1 /sys/bus/netdevsim/devices/netdevsim0/net/) ip xfrm state add src 192.168.13.1 dst 192.168.13.2 proto esp \ spi 0x1000 mode tunnel aead 'rfc4106(gcm(aes))' $key 128 \ offload crypto dev $dev dir out ethtool -K $dev esp-hw-offload off echo 0 > /sys/bus/netdevsim/del_device

Like these steps indicate, the NETIF_F_HW_ESP bit can be cleared after xfrm_dev_state_add() acquired a reference to "struct net_device". Also, xfrm_dev_state_add() does not check for the NETIF_F_HW_ESP bit when acquiring a reference to "struct net_device".

Commit 03891f820c21 ("xfrm: handle NETDEV_UNREGISTER for xfrm device") re-introduced the NETDEV_UNREGISTER event to xfrm_dev_event(), but that commit for unknown reason chose to share xfrm_dev_down() between the NETDEV_DOWN event and the NETDEV_UNREGISTER event. I guess that that commit missed the behavior in the previous paragraph.

Therefore, we need to re-introduce xfrm_dev_unregister() in order to release the reference to "struct net_device" by unconditionally flushing state and policy.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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