Skip to main content

Linux Kernel CVE-2025-68795

HIGH
Heap-based Buffer Overflow (CWE-122)
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
High
Disputed · 7.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege shell access
  2. Delivery
    Start ethtool stats ioctl sequence on dynamic-counter NIC
  3. Exploit
    Race concurrent device reconfiguration to change stat count
  4. Execution
    Kernel writes past userspace buffer bound
  5. Impact
    Corrupt adjacent memory for escalation/DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires local access with the ability to issue ethtool statistics ioctls (ETHTOOL_GSSET_INFO/GSTRINGS/GSTATS), matching CVSS PR:L, and critically depends on the target NIC using a driver with dynamic/variable stat counters - specifically named mlx5, bnx2x, bna, or ksz884x; drivers with stable stat counts are not exploitable. The attacker must trigger a change in the reported stat count (e.g. device reconfiguration) within the race window that exists only between the separate ioctl calls, after RTNL lock is released. Limiting factors: the number of stats must actually change mid-sequence, the vulnerable driver must be in use, and the userspace app must pass a non-zero stats.n_stats; the fix's zero-count guard also means the pre-fix window is transient. This is not remotely exploitable (AV:L) and not achievable against a NIC whose driver maintains stable counts.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8 High) reflects a local, low-complexity, low-privilege bug with full confidentiality, integrity, and availability impact - consistent with kernel memory corruption. However, the description clarifies that exploitation is a race that requires the stat count to actually change between ioctls, which in practice depends on triggering device reconfiguration on a driver with dynamic counters; this makes real-world exploitation considerably harder than AC:L alone suggests, and the AC:L rating is arguably optimistic for a narrow race window guarded by RTNL lock. The signals align toward low real-world urgency: EPSS is 0.06% (19th percentile), the CVE is NOT in CISA KEV, and no POC has surfaced. No SSVC decision record was provided in the input. Net: a legitimate memory-safety hardening fix worth patching in the normal kernel cycle, but not an emergency - it is a defensive race-condition mitigation rather than a demonstrated, weaponizable exploit primitive.

Exploit ScenarioDerived

A local user with low privileges runs a program that begins the ethtool -S stat-read sequence against an mlx5 or bnx2x interface, then races a concurrent device reconfiguration that increases the driver's dynamic stat count so the kernel writes more values than the userspace buffer was sized for, overflowing it. On an unpatched kernel this out-of-bounds write can corrupt adjacent memory, potentially destabilizing the system or serving as a primitive for privilege escalation. No public exploit code has been identified, and success hinges on winning a narrow race window against RTNL lock release timing.

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

AnalysisAIv3 – Jul 30, 2026

Local privilege-level buffer overflow in the Linux kernel's ethtool subsystem allows an attacker who can trigger a device stat-count change between the ETHTOOL_GSSET_INFO, ETHTOOL_GSTRINGS, and ETHTOOL_GSTATS ioctls to overflow a userspace stats buffer, corrupting memory and potentially escalating privileges. The flaw stems from a TOCTOU race where drivers using dynamic counters (mlx5, bnx2x, bna, ksz884x) can report a different stat count than the buffer sized by userspace. It is not in CISA KEV, EPSS exploitation probability is very low (0.06%), and no public exploit has been identified, though a vendor patch is available.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 07:20 cvss changed CVSS 7.8

Local privilege-boundary memory corruption in the Linux kernel's ethtool subsystem lets a userspace buffer be overflowed during statistics queries when a network driver's stat count changes between the ETHTOOL_GSSET_INFO, ETHTOOL_GSTRINGS, and ETHTOOL_GSTATS ioctl calls. Drivers with dynamic counters (mlx5, bnx2x, bna, ksz884x) can shift their reported stat count mid-sequence, causing the kernel to write more data than userspace allocated. No public exploit identified at time of analysis; EPSS is very low (0.06%), and exploitation requires local access plus a race window, so this is a low-probability, hardening-class fix rather than a widely-weaponized flaw.

v1 Mar 12, 2026 - 21:54

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

ethtool: Avoid overflowing userspace buffer on stats query

The ethtool -S command operates across three ioctl calls: ETHTOOL_GSSET_INFO for the size, ETHTOOL_GSTRINGS for the names, and ETHTOOL_GSTATS for the values.

RemediationAI

Apply the vendor patch: update to a fixed kernel build that includes the ethtool stats overflow fix, using the stable commits referenced at git.kernel.org (3df375a1e754, 4066b5b54629, 4afcb9853552, 7b07be1ff1cb, 7bea09f60f2a, ca9983bc3a11, f9dc0f45d2cd) or, for Ubuntu, the packages in USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1) followed by a reboot into the new kernel. An exact upstream release version was not provided in the input, so confirm the specific patched package version with your distribution before deployment. As a compensating control until patched, restrict who can invoke ethtool stat queries by limiting CAP_NET_ADMIN and local shell access on affected hosts, and avoid concurrent device reconfiguration (interface reconfig, driver reload, feature toggling) on NICs using dynamic-counter drivers (mlx5, bnx2x, bna, ksz884x) while stats are being read - noting these controls only reduce the race opportunity and do not eliminate the underlying flaw.

Affected ProductsAI

The vulnerability affects the Linux kernel's core ethtool subsystem, with practical impact concentrated on systems using NIC drivers with dynamic statistic counters, explicitly named as Mellanox mlx5, Broadcom bnx2x, Brocade bna, and Micrel/ksz884x. No exact fixed kernel version or affected version range was provided in the structured input; the seven git.kernel.org stable commit references (e.g. 3df375a1e754, 4066b5b54629, 4afcb9853552, 7b07be1ff1cb, 7bea09f60f2a, ca9983bc3a11, f9dc0f45d2cd) indicate the fix was backported across multiple stable branches. Canonical published Ubuntu Security Notice USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1) covering affected Ubuntu kernel packages, and VulDB tracks it at https://vuldb.com/?id.340646. Consult the distribution advisory to map the fix to your exact kernel package version.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The ethtool subsystem exposes NIC statistics to userspace via three sequential ioctl calls: ETHTOOL_GSSET_INFO returns the number of stats (via get_sset_count()), ETHTOOL_GSTRINGS returns the stat names, and ETHTOOL_GSTATS returns the values. Userspace allocates its buffer based on the first call's result, but RTNL lock is released between each ioctl, opening a race window. Most drivers are expected to keep stat counts stable, but drivers with dynamic counters - Mellanox mlx5, Broadcom bnx2x, Brocade bna, and Micrel ksz884x - can change their count if the device is reconfigured mid-sequence, so the kernel may then write more entries than the userspace buffer can hold. This is a classic Time-of-Check to Time-of-Use (TOCTOU) race leading to CWE-787 (Out-of-bounds Write) / CWE-120-style buffer overflow, even though the input lists CWE as N/A. The fix makes ethtool_get_strings(), ethtool_get_stats(), and ethtool_get_phy_stats() return zero entries when the current get_sset_count() disagrees with the size userspace requested, trading a transient 'no stats available' or zeroed output for memory safety.

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

Sources disagree (Low–High)
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
vuln.today AI 7.0 HIGH

Local ioctl access needs PR:L; success requires winning a narrow race and a dynamic-counter driver, so AC:H; kernel memory corruption yields high C/I/A.

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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

5
Analysis Updated
Jul 30, 2026 - 07:21 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:20 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 16, 2026 - 15:00 nvd
Patch available
CVE Published
Jan 13, 2026 - 16:16 nvd
N/A

DescriptionCVE.org

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

ethtool: Avoid overflowing userspace buffer on stats query

The ethtool -S command operates across three ioctl calls: ETHTOOL_GSSET_INFO for the size, ETHTOOL_GSTRINGS for the names, and ETHTOOL_GSTATS for the values.

If the number of stats changes between these calls (e.g., due to device reconfiguration), userspace's buffer allocation will be incorrect, potentially leading to buffer overflow.

Drivers are generally expected to maintain stable stat counts, but some drivers (e.g., mlx5, bnx2x, bna, ksz884x) use dynamic counters, making this scenario possible.

Some drivers try to handle this internally:

  • bnad_get_ethtool_stats() returns early in case stats.n_stats is not

equal to the driver's stats count.

  • micrel/ksz884x also makes sure not to write anything beyond

stats.n_stats and overflow the buffer.

However, both use stats.n_stats which is already assigned with the value returned from get_sset_count(), hence won't solve the issue described here.

Change ethtool_get_strings(), ethtool_get_stats(), ethtool_get_phy_stats() to not return anything in case of a mismatch between userspace's size and get_sset_size(), to prevent buffer overflow. The returned n_stats value will be equal to zero, to reflect that nothing has been returned.

This could result in one of two cases when using upstream ethtool, depending on when the size change is detected:

  1. When detected in ethtool_get_strings():

ethtool -S eth2

no stats available

  1. When detected in get stats, all stats will be reported as zero.

Both cases are presumably transient, and a subsequent ethtool call should succeed.

Other than the overflow avoidance, these two cases are very evident (no output/cleared stats), which is arguably better than presenting incorrect/shifted stats. I also considered returning an error instead of a "silent" response, but that seems more destructive towards userspace apps.

Notes:

  • This patch does not claim to fix the inherent race, it only makes sure

that we do not overflow the userspace buffer, and makes for a more predictable behavior.

  • RTNL lock is held during each ioctl, the race window exists between

the separate ioctl calls when the lock is released.

  • Userspace ethtool always fills stats.n_stats, but it is likely that

these stats ioctls are implemented in other userspace applications which might not fill it. The added code checks that it's not zero, to prevent any regressions.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in the Linux kernel's network driver statistics handling could allow unprivileged users on affected systems to escalate to system-level privileges. The vulnerability affects organizations using Mellanox, Broadcom, Atheros, or Micrel network adapters, particularly where local user access exists. No public exploit has been identified, but prompt patching eliminates this privilege escalation vector from the threat landscape.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Ubiquitous
Linux kernel ethtool subsystem present in virtually all deployments
Data Quality
5 sources
Confidence: Medium

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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

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.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.80 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected

References

Advisories & patches
ADVISORY https://ubuntu.com/security/notices/USN-8096-1 ADVISORY https://vuldb.com/?id.340646 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0447/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0472/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0587/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20477/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20479/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20498/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20520/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20555/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20570/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20599/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20615/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ REF https://git.kernel.org/stable/c/3df375a1e75483b7d973c3cc2e46aa374db8428b REF https://git.kernel.org/stable/c/4066b5b546293f44cd6d0e84ece6e3ee7ff27093 REF https://git.kernel.org/stable/c/4afcb985355210e1688560dc47e64b94dad35d71 REF https://git.kernel.org/stable/c/7b07be1ff1cb6c49869910518650e8d0abc7d25f REF https://git.kernel.org/stable/c/7bea09f60f2ad5d232e2db8f1c14e850fd3fd416 REF https://git.kernel.org/stable/c/ca9983bc3a1189bd72f9ae449d925a66b2616326 REF https://git.kernel.org/stable/c/f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5

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