Skip to main content

Linux Kernel EUVDEUVD-2026-38707

| CVE-2026-52937 MEDIUM
Memory Leak (CWE-401)
2026-06-24 Linux GHSA-2xmc-f6qc-h4h9
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Open macvtap character device
  2. Delivery
    Issue SIOCGIFHWADDR ioctl
  3. Exploit
    Read 8 uninitialized stack bytes from response
  4. Execution
    Parse kernel .text and physmap pointers
  5. Persist
    Compute kernel base address, defeat KASLR
  6. Impact
    Leverage KASLR bypass in separate LPE exploit chain

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires a local attacker with low-privilege access to a macvtap or tap character device (e.g., /dev/tapX). This typically means: (1) execution on a Linux host or guest VM where macvtap is used for virtual machine networking (common in KVM/QEMU hypervisor deployments), or (2) a local user or container process that has been granted access to the tap device node. The ioctl target is SIOCGIFHWADDR on the tap/macvtap file descriptor. No special kernel configuration beyond the presence of the tap driver (CONFIG_TUN, typically built-in on most distributions) is required. What limits exploitation: the attacker cannot be purely remote - direct local code execution or VM-guest access is required (AV:L per CVSS); the process must be able to open the macvtap chardev, which is typically gated by device-node permissions; this vulnerability alone causes information disclosure only - a second, separate vulnerability is required to convert the KASLR bypass into code execution.

Impact

The real-world risk of this vulnerability is moderate-to-significant despite the misleading CVSS vector provided with the advisory. CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H assigns zero confidentiality impact and high availability impact - this is inconsistent with the description, which describes an information disclosure of kernel pointers with no availability consequence. The corrected assessment (see assessed_cvss_vector) reflects C:H/A:N. EPSS at 0.15% (5th percentile) and absence from CISA KEV indicate no observed widespread exploitation. However, KASLR bypass primitives are standard components of local privilege-escalation exploit chains targeting the Linux kernel; the realistic threat is not standalone exploitation of this issue but its use as a stepping stone to a full LPE when combined with a separate kernel memory-corruption bug. Exploitation requires local low-privilege access to a macvtap device - a constraint that limits attacker pool to local users or code running inside VMs on hypervisors using macvtap for networking. The constraint is meaningful but not unusual in cloud and containerized environments. Patch availability across stable branches reduces urgency for patched systems.

Exploit ScenarioDerived

A local user or malicious process running inside a virtual machine whose NIC is backed by a host macvtap device opens /dev/tapX and issues ioctl(fd, SIOCGIFHWADDR, &ifr). The returned ifr_hwaddr contains the expected MAC address in the first 8 bytes, but bytes 8-15 hold uninitialized kernel stack data from a previous stack frame - including kernel .text addresses and physmap pointers. The attacker parses these pointers to compute the kernel base address, defeating KASLR and enabling reliable targeting of a separate kernel memory-corruption exploit for full privilege escalation. No public exploit code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 08, 2026

Stack information disclosure in the Linux kernel's tap/macvtap driver exposes 8 bytes of uninitialized kernel stack contents to local users via the SIOCGIFHWADDR ioctl, leaking kernel .text and direct-map pointers that defeat KASLR. The affected code path in tap_ioctl() copies a 16-byte sockaddr_storage to userspace while netif_get_mac_address() initializes only 8 bytes (sa_family plus 6-byte Ethernet address), leaving the trailing 8 bytes unread. No public exploit is identified at time of analysis and EPSS sits at 0.15% (5th percentile), but KASLR bypass primitives of this type are routinely chained with local privilege-escalation exploits to gain kernel code-execution. NOTE: The provided CVSS vector (C:N/I:N/A:H) appears to misclassify this vulnerability - confidentiality is the impacted property, not availability; the assessed vector below corrects this.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version: 7.1 or later, 7.0.11 or later in the 7.0.x stable series, or 6.18.34 or later in the 6.18.x stable series, per EUVD patch metadata. Distribution maintainers should apply the upstream stable commits referenced at the kernel.org stable tree (commits 719007c, 05305e8, bddc092). For systems that cannot be immediately patched, a compensating control is to restrict access to macvtap character devices using filesystem permissions or seccomp/LSM policy (SELinux or AppArmor device rules) so only trusted processes can open the device - this eliminates unprivileged access to the leaking ioctl. In containerized or virtualized environments using macvtap for VM networking, restricting which guest VMs or container processes can access the host macvtap interface reduces exposure. Note that restricting macvtap access may impact VM network connectivity workflows and must be tested before deployment. No workaround fully mitigates the flaw in a running unpatched kernel for processes that legitimately require macvtap access.

Affected VersionsENISA

Linux 176188cff67ec1aa55103647b61d02315cc38e98
Linux patch: 7.1
Linux 5.12
Linux 1fc205d9e400f069ebf30d3faa6ec2bab2cbd7b4
Linux 5.10.21 <5.11
Linux 4d0ae760c02c98fc78b78d3a0509896bc648ad1c
Linux patch: 6.18.34
Linux patch: 0
Linux 5.11.4 <5.12
Linux patch: 7.0.11
Linux 5.4.103 <5.5
Linux 3b23a32a63219f51a5298bc55a65ecee866e79d0 <bddc09212c24934643bd44fc794748d2bbb3b6cd
Linux 3b23a32a63219f51a5298bc55a65ecee866e79d0 <719007c3492f0f1f9e9cdbed8ac45ba45bb13eeb
Linux 3b23a32a63219f51a5298bc55a65ecee866e79d0 <05305e832be7b9d65b2b72caacf7d850b3942b2a

Affected Packages

euvd linux fix: 5.5, 5.11, 5.12

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 resides in drivers/net/tap.c in the Linux kernel's virtual network tap/macvtap subsystem (CPE: cpe:2.3:a:linux:linux). When a process calls ioctl(fd, SIOCGIFHWADDR, &ifr) on a macvtap character device, tap_ioctl() populates ifr_hwaddr using a stack-allocated struct sockaddr_storage of 16 bytes. netif_get_mac_address() writes only the sa_family field (2 bytes) and the Ethernet MAC address (6 bytes via dev->addr_len), leaving the upper 8 bytes of sa_data (indices 6 through 13) in their uninitialized state. These bytes are then copied verbatim to userspace. Because this storage sits on the kernel stack, the leaked bytes frequently contain kernel .text segment addresses and direct physical-map (physmap) pointers from prior stack frames, providing a reliable KASLR defeat primitive to any process that can open the macvtap device. The assigned CWE-401 (Missing Release of Memory) does not accurately describe this flaw; CWE-909 (Missing Initialization of Resource) or CWE-200 (Exposure of Sensitive Information) are more precise root-cause classifications.

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
vuln.today AI 5.5 MEDIUM

Local access and low privileges to open macvtap device required; impact is purely confidentiality (kernel pointer disclosure), no integrity or availability consequence.

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

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

4
CVSS changed
Jul 08, 2026 - 19:37 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 09:16 EUVD
CVE Published
Jun 24, 2026 - 07:14 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 07:14 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

tap: fix stack info leak in tap_ioctl() SIOCGIFHWADDR

In the SIOCGIFHWADDR path, tap_ioctl() copies 16 bytes of an uninitialised on-stack struct sockaddr_storage to userspace via ifr_hwaddr, but netif_get_mac_address() only writes sa_family and dev->addr_len (6 for Ethernet) bytes, leaving sa_data[6..13] uninitialised.

Those 8 trailing bytes leak kernel stack contents; SIOCGIFHWADDR on a macvtap chardev returns kernel .text and direct-map pointers, defeating KASLR.

Initialise ss at declaration.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel runs the vast majority of cloud, server, and embedded deployments globally
Social Media
2
Sightings
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.2%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

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: 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