Skip to main content

Linux Kernel EUVDEUVD-2026-24864

| CVE-2026-31494 HIGH
Out-of-bounds Write (CWE-787)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-ww72-rr4h-c932
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Obtain local shell access
  2. Delivery
    Execute ethtool statistics query
  3. Exploit
    Trigger buffer overflow in gem_get_ethtool_stats()
  4. Execution
    Corrupt kernel heap memory structures
  5. Persist
    Overwrite security-critical kernel data
  6. Impact
    Escalate privileges to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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

Requires local authenticated access with sufficient privileges to execute ethtool utility (typically requires membership in netdev group or CAP_NET_ADMIN capability in some configurations, though standard user access may suffice on permissive systems). Target system must be running affected Linux kernel version (4.16 through unpatched 6.x/7.x) with Cadence MACB/GEM Ethernet hardware using the macb kernel driver. Critical prerequisite: the network interface must be configured with fewer active queues than MACB_MAX_QUEUES constant (typically when hardware or driver configuration limits active queues below maximum supported). Exploitation is triggered via the dev_ethtool ioctl system call path when userspace tools like ethtool request statistics (ETHTOOL_GSTATS command). Does NOT require network access or remote connectivity-purely local kernel vulnerability. The vulnerability is NOT exploitable on systems using different Ethernet controllers (Intel, Realtek, Broadcom, etc.) or on x86 servers without macb hardware. User interaction is not required beyond the attacker's ability to run a single command.

Impact

Real-world risk is MODERATE despite high CVSS 7.8 score. The attack requires local authenticated access (AV:L/PR:L) and is triggered via ethtool ioctl, limiting exposure to users with sufficient privileges to run network diagnostic tools. The CVSS vector indicates high impact (C:H/I:H/A:H) if successfully exploited, as kernel memory corruption could enable privilege escalation from low-privileged local user to kernel-level execution. However, EPSS exploitation probability is very low (0.03%, 10th percentile), suggesting this vulnerability is not attractive to mass exploitation-likely due to the local access requirement and need for specific hardware (Cadence MACB/GEM controllers). No public exploit code identified and not listed in CISA KEV, confirming no widespread or targeted exploitation observed. The vulnerability is automatable once local access is obtained (ethtool command is straightforward), but attack complexity is low only for attackers who already have shell access. Patches are available across all supported stable kernel branches, significantly reducing risk for maintained systems. Priority should be MEDIUM for systems using affected Ethernet hardware with untrusted local users (multi-tenant environments, shared workstations), LOW for single-user systems or those not using macb hardware. The main concern is privilege escalation in container escape scenarios on affected embedded systems (Raspberry Pi and similar ARM platforms using Cadence GEM controllers).

Exploit ScenarioDerived

A local attacker with low-privilege shell access on a Raspberry Pi or embedded Linux system using the Cadence GEM Ethernet controller runs the ethtool utility to query network interface statistics. When the system has fewer active network queues configured than the maximum (MACB_MAX_QUEUES), the kernel's gem_get_ethtool_stats() function writes 760 bytes beyond the allocated vmalloc buffer during the statistics copy operation. The attacker leverages this heap overflow to corrupt adjacent kernel memory structures, potentially overwriting function pointers or security credentials. By carefully controlling the overflow data through repeated ethtool invocations, the attacker achieves arbitrary kernel code execution and escalates from unprivileged user to root, gaining full system control.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
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 – Apr 27, 2026

Out-of-bounds write in the Linux kernel macb Ethernet driver allows local authenticated users with low privileges to corrupt kernel memory, potentially leading to privilege escalation, denial of service, or information disclosure. The vulnerability affects the ethtool statistics collection path where gem_get_ethtool_stats() writes statistics for MACB_MAX_QUEUES regardless of the actual number of active queues, causing a 760-byte buffer overflow when fewer queues are configured. KASAN validation confirms heap corruption with a write beyond allocated vmalloc region boundaries. No active exploitation confirmed (not in CISA KEV), and EPSS score is low (0.03%, 10th percentile), indicating minimal observed exploitation activity. Patches available across multiple stable kernel branches (5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0).

RemediationAI

Upgrade to patched Linux kernel versions: 5.10.253, 5.15.203, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, or 7.0 and later from kernel.org stable branches. Specific fix commits available at git.kernel.org/stable/c/95246341945163ad9a250a87ca5bd1c1252777ae (mainline) and backports c/9d74d10e4e26672e139a8bcf8bf95957bf2d160f, c/e182fe273cdf5a8931592228196ef514ffac392b, c/9738be665544281aa624842812c2fbfed6f88226, c/9596759a84e1dbf2670518d85e969208960041f9, c/7ff87da099210856cbfe2f2f7f52ddfa57af4f0c, c/72d96e4e24bbefdcfbc68bdb9341a05d8f5cb6e5, c/240c5302eed83e34e98db18f6795ee5f40814024 for stable branches. The fix constrains gem_get_ethtool_stats() to copy statistics only for the active number of queues, matching the buffer allocation logic. If immediate patching is not feasible, restrict access to ethtool utility by limiting CAP_NET_ADMIN capability to trusted administrators only-this prevents unprivileged users from triggering the vulnerable code path via ioctl, though root/administrator access remains vulnerable. Note that blocking ethtool completely may impact network diagnostics and monitoring tools. For embedded systems unable to upgrade, consider disabling multi-queue support in macb driver configuration if performance impact is acceptable, forcing single-queue operation to avoid the queue count mismatch condition (trade-off: reduced network throughput on multi-core systems).

Affected VersionsENISA

Linux patch: 0
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9738be665544281aa624842812c2fbfed6f88226
Linux patch: 6.1.168
Linux patch: 5.15.203
Linux 4.16
Linux patch: 5.10.253
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <7ff87da099210856cbfe2f2f7f52ddfa57af4f0c
Linux patch: 7.0
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9596759a84e1dbf2670518d85e969208960041f9
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <72d96e4e24bbefdcfbc68bdb9341a05d8f5cb6e5
Linux patch: 6.18.21
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <e182fe273cdf5a8931592228196ef514ffac392b
Linux patch: 6.6.131
Linux patch: 6.12.80
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <9d74d10e4e26672e139a8bcf8bf95957bf2d160f
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <240c5302eed83e34e98db18f6795ee5f40814024
Linux 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd <95246341945163ad9a250a87ca5bd1c1252777ae
Linux patch: 6.19.11

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 macb network driver's ethtool statistics interface within the Linux kernel. The macb driver supports Cadence MACB/GEM Gigabit Ethernet controllers with multiple hardware queues. The ethtool subsystem provides userspace utilities access to network driver statistics via ioctl system calls. The bug stems from a size mismatch: gem_get_sset_count() correctly calculates buffer size based on the actual number of active queues (which may be less than MACB_MAX_QUEUES), but gem_get_ethtool_stats() unconditionally copies statistics data using MACB_MAX_QUEUES as the iteration limit. This causes memcpy to write 760 bytes beyond the allocated vmalloc region when active queues < MACB_MAX_QUEUES. The KASAN (Kernel Address Sanitizer) detection confirms vmalloc-out-of-bounds write access, indicating heap corruption in kernel address space. The vulnerability affects kernel versions from 4.16 onward where the flawed statistics collection code was introduced (commit 512286bbd4b7d5b15d26ba8078c8bfd1fc1129bd). This is a classic buffer overflow caused by inconsistent bounds checking between allocation and write operations.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 14:44 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
HIGH 7.8

DescriptionCVE.org

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

net: macb: use the current queue number for stats

There's a potential mismatch between the memory reserved for statistics and the amount of memory written.

gem_get_sset_count() correctly computes the number of stats based on the active queues, whereas gem_get_ethtool_stats() indiscriminately copies data using the maximum number of queues, and in the case the number of active queues is less than MACB_MAX_QUEUES, this results in a OOB write as observed in the KASAN splat.

============== BUG: KASAN: vmalloc-out-of-bounds in gem_get_ethtool_stats+0x54/0x78 [macb] Write of size 760 at addr ffff80008080b000 by task ethtool/1027

CPU: [...] Tainted: [E]=UNSIGNED_MODULE Hardware name: raspberrypi rpi/rpi, BIOS 2025.10 10/01/2025 Call trace: show_stack+0x20/0x38 (C) dump_stack_lvl+0x80/0xf8 print_report+0x384/0x5e0 kasan_report+0xa0/0xf0 kasan_check_range+0xe8/0x190 __asan_memcpy+0x54/0x98 gem_get_ethtool_stats+0x54/0x78 [macb 926c13f3af83b0c6fe64badb21ec87d5e93fcf65] dev_ethtool+0x1220/0x38c0 dev_ioctl+0x4ac/0xca8 sock_do_ioctl+0x170/0x1d8 sock_ioctl+0x484/0x5d8 __arm64_sys_ioctl+0x12c/0x1b8 invoke_syscall+0xd4/0x258 el0_svc_common.constprop.0+0xb4/0x240 do_el0_svc+0x48/0x68 el0_svc+0x40/0xf8 el0t_64_sync_handler+0xa0/0xe8 el0t_64_sync+0x1b0/0x1b8

The buggy address belongs to a 1-page vmalloc region starting at 0xffff80008080b000 allocated at dev_ethtool+0x11f0/0x38c0 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff00000a333000 pfn:0xa333 flags: 0x7fffc000000000(node=0|zone=0|lastcpupid=0x1ffff) raw: 007fffc000000000 0000000000000000 dead000000000122 0000000000000000 raw: ffff00000a333000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected

Memory state around the buggy address: ffff80008080b080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff80008080b100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff80008080b180: 00 00 00 00 00 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffff80008080b200: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffff80008080b280: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==============

Fix it by making sure the copied size only considers the active number of queues.

Executive ViewAI

Why It Matters

CVE-2026-31494 is a local privilege escalation vulnerability in the Linux kernel macb Ethernet driver affecting authenticated users with low privileges. The out-of-bounds write in the ethtool statistics path could allow attackers to corrupt kernel memory and escalate privileges or crash systems, requiring immediate patching of affected kernel versions across your Linux infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict local access to systems running MACB drivers through privilege isolation and disable ethtool statistics collection if operationally permissible pending kernel updates.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
2
1 source
Data Quality
7 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.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

Vendor StatusVendor

SUSE

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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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