Skip to main content

Linux Kernel CVE-2026-53089

| EUVDEUVD-2026-38957 HIGH
Use After Free (CWE-416)
2026-06-24 Linux GHSA-fwh4-95hv-8xhf
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local access with BPF privileges
  2. Delivery
    Offload eBPF map/program to netdev
  3. Exploit
    Trigger netns teardown to zero refcount
  4. Execution
    Query offloaded object info (get_net on dying netns)
  5. Persist
    Refcount-on-zero use-after-free
  6. Impact
    Kernel memory corruption / DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires BPF hardware offload to be in active use: the target must have an offload-capable network device with at least one eBPF map or program offloaded to it, and the attacker must be able to invoke BPF_OBJ_GET_INFO_BY_FD on that offloaded object. The attacker must also drive or race the destruction of the associated network namespace so that its refcount reaches zero at the exact moment get_net() is called - a narrow timing window that limits practical exploitation. Local access with sufficient privilege to create/query offloaded BPF objects (CVSS PR:L) is required; there is no remote vector and no user interaction. Systems without BPF offload (the common default) never reach the vulnerable code path.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) rates this High with local access and low privileges, but that score appears optimistic for a race condition: real-world exploitation requires winning a narrow timing window between netns teardown and an info query on an offloaded BPF object, which in practice raises attack complexity well above AC:L. EPSS is very low at 0.14% (4th percentile), and the CVE is not on CISA KEV, so there is no evidence of active exploitation - the low EPSS is consistent with a difficult-to-weaponize kernel race. The tags claim 'Information Disclosure' alongside 'Use After Free / Memory Corruption', but the described impact is a refcount UAF that most plausibly leads to crash/DoS or, with significant additional primitives, potential escalation - full C:H/I:H/A:H is an upper bound rather than a demonstrated outcome. Notably, exploitation also presupposes BPF hardware offload being in use (an offload-capable netdev with offloaded maps/programs), which is not a default configuration on most systems; this materially limits the realistic exposed population beyond what the raw 7.8 suggests. Treat as a legitimate but low-priority kernel hardening fix absent offload deployment.

Exploit ScenarioDerived

A local user with the privileges needed to create and query offloaded BPF objects loads an eBPF map or program onto an offload-capable netdev, then repeatedly issues BPF_OBJ_GET_INFO_BY_FD while forcing destruction of that object's network namespace, racing to call get_net() on a netns whose refcount has hit zero. Winning the race corrupts freed memory, most reliably crashing the kernel (DoS) and potentially serving as a UAF primitive for escalation. No public proof-of-concept is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Local privilege-adjacent memory corruption in the Linux kernel's BPF offload subsystem allows a use-after-free triggered when querying info for an offloaded BPF map or program while the associated network namespace is being torn down. The bug lives in bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns(), where get_net() increments a netns refcount that may already have reached zero, corrupting freed memory. No public exploit is identified at time of analysis, and EPSS is very low (0.14%), consistent with a hard-to-win kernel race rather than a broadly exploited flaw.

RemediationAI

Apply the upstream stable fix that replaces get_net() with maybe_get_net() in bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns(); the fix is available as stable commits a51e7fbe94a87e236631a83973d4f558310b2cd2 and a0c584fc18056709c8e047a82a6045d6c209f4ce (https://git.kernel.org/stable/c/a51e7fbe94a87e236631a83973d4f558310b2cd2 and https://git.kernel.org/stable/c/a0c584fc18056709c8e047a82a6045d6c209f4ce). Distribution users should update to the fixed kernel packages published in Ubuntu USN-8568-1 and USN-8566-1 and reboot. As a compensating control where patching must be deferred, avoid or disable BPF hardware offload on netdevs (do not load offloaded eBPF maps/programs, e.g. avoid tc/XDP offload to SmartNICs) since the vulnerable path is only reached for offloaded objects - the trade-off is loss of hardware-accelerated BPF processing. Restricting the CAP_BPF/CAP_SYS_ADMIN and CAP_NET_ADMIN capabilities and BPF syscall access to trusted users (e.g. via kernel.unprivileged_bpf_disabled) further reduces who can create offloaded objects and query their info, at the cost of constraining legitimate unprivileged BPF use.

Affected VersionsENISA

Linux patch: 7.1
Linux patch: 0
Linux 675fc275a3a2d905535207237402c6d8dcb5fa4b <a0c584fc18056709c8e047a82a6045d6c209f4ce
Linux 4.16
Linux patch: 7.0.10
Linux 675fc275a3a2d905535207237402c6d8dcb5fa4b <a51e7fbe94a87e236631a83973d4f558310b2cd2

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 affected component is the BPF (Berkeley Packet Filter) hardware-offload path in the Linux kernel, which lets eBPF maps and programs be pushed onto SmartNIC/offload-capable netdevs. When userspace issues a BPF_OBJ_GET_INFO_BY_FD ioctl on an offloaded object, the kernel populates a netns file descriptor via get_net(dev_net(offmap->netdev)) and ns_get_path_cb(). CWE-416 (Use After Free) is the root-cause class: while rtnl_lock and bpf_devs_lock keep the netdev pointer itself valid, they do not pin the network namespace, so the netns refcount (refcount_t) can already be zero during net_namespace destruction. Calling get_net() then performs 'addition on 0', the kernel's canonical signal of operating on freed/dying object memory. The fix swaps get_net() for maybe_get_net(), which uses refcount_inc_not_zero() and returns NULL when the namespace is dying, propagating -ENOENT to the caller. Affected CPE is cpe:2.3:a:linux:linux:*, i.e. the mainline kernel; the flaw was introduced with BPF offload info-fill support (context around v4.16).

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 4.7 MEDIUM

Local race (AC:H) needing BPF privileges (PR:L); realistic impact is a UAF crash/DoS (A:H) with no demonstrated confidentiality or integrity disclosure, so C:N/I:N.

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.1 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
CVSS changed
Jul 23, 2026 - 18:38 NVD
7.8 (HIGH)
CVE Published
Jun 24, 2026 - 16:30 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 24, 2026 - 16:30 nvd
HIGH 7.8

DescriptionNVD

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

bpf: Fix use-after-free in offloaded map/prog info fill

When querying info for an offloaded BPF map or program, bpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns() obtain the network namespace with get_net(dev_net(offmap->netdev)). However, the associated netdev's netns may be racing with teardown during netns destruction. If the netns refcount has already reached 0, get_net() performs a refcount_t increment on 0, triggering:

refcount_t: addition on 0; use-after-free.

Although rtnl_lock and bpf_devs_lock ensure the netdev pointer remains valid, they cannot prevent the netns refcount from reaching zero.

Fix this by using maybe_get_net() instead of get_net(). maybe_get_net() uses refcount_inc_not_zero() and returns NULL if the refcount is already zero, which causes ns_get_path_cb() to fail and the caller to return -ENOENT -- the correct behavior when the netns is being destroyed.

Executive ViewAI

Why It Matters

A critical privilege escalation vulnerability exists in Linux kernel deployments through a memory corruption bug in the BPF offload subsystem; however, active threat is currently minimal as exploitation requires precise timing and no public exploits exist. Organizations running Linux systems with local access vectors should prioritize patching to prevent potential insider threats or lateral movement following a compromise. Vendor patches are available and deployment should follow normal change management processes.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel runs across most server, cloud, and embedded environments
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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