CVE-2025-68795: ethtool: Avoid overflowing userspace buffer on stats query
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 3df375a1e75483b7d973c3cc2e46aa374db8428b, 4066b5b546293f44cd6d0e84ece6e3ee7ff27093, 4afcb985355210e1688560dc47e64b94dad35d71; azl3 kernel 6.6.119.3-3 on Azure Linux 3.0 6.6.121.1-1.
Low priority for now. Upgrade to Linux Linux 3df375a1e75483b7d973c3cc2e46aa374db8428b, 4066b5b546293f44cd6d0e84ece6e3ee7ff27093, 4afcb985355210e1688560dc47e64b94dad35d71; azl3 kernel 6.6.119.3-3 on Azure Linux 3.0 6.6.121.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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 2. 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.
- Published
- Jan 13, 2026
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 6th percentile
- CWE
- CWE-122
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Linux
- 7.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.12affected
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 3df375a1e75483b7d973c3cc2e46aa374db8428baffected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 4afcb985355210e1688560dc47e64b94dad35d71affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before ca9983bc3a1189bd72f9ae449d925a66b2616326affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 7bea09f60f2ad5d232e2db8f1c14e850fd3fd416affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 4066b5b546293f44cd6d0e84ece6e3ee7ff27093affected · git
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and later · before 7b07be1ff1cb6c49869910518650e8d0abc7d25faffected · git
- before 2.6.12not affected · semver
- 5.10.248 and later · up to and including 5.10.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.162-1 | 6.1.162-1 |
| Debian:13 | linux | before 6.12.69-1 | 6.12.69-1 |
| Debian:14 | linux | before 6.18.3-1 | 6.18.3-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
Published before and after this one in the same product
- ← EarlierCVE-2025-68793Jan 13, 2026 · drm/amdgpu: fix a job->pasid access race in gpu recovery31Monitor
- ← EarlierCVE-2025-68794Jan 13, 2026 · iomap: adjust read range correctly for non-block-aligned positions39Monitor
- Later →CVE-2025-68798Jan 13, 2026 · perf/x86/amd: Check event before enable to avoid GPF0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 3df375a1e75483b7d973c3cc2e46aa374db8428b | Vendor (CNA) |
| Linux Linux | 4066b5b546293f44cd6d0e84ece6e3ee7ff27093 | Vendor (CNA) |
| Linux Linux | 4afcb985355210e1688560dc47e64b94dad35d71 | Vendor (CNA) |
| Linux Linux | 7b07be1ff1cb6c49869910518650e8d0abc7d25f | Vendor (CNA) |
| Linux Linux | 7bea09f60f2ad5d232e2db8f1c14e850fd3fd416 | Vendor (CNA) |
| Linux Linux | ca9983bc3a1189bd72f9ae449d925a66b2616326 | Vendor (CNA) |
| Linux Linux | f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5 | Vendor (CNA) |
| azl3 kernel 6.6.119.3-3 on Azure Linux 3.0 | 6.6.121.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.162-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-2317832 days apartHID: i2c-hid: fix potential buffer overflow in i2c_hid_get_report()31Monitor
- CVE-2026-64558197 days aparts390/pkey: Check length in pkey_pckmo handler implementation31Monitor
- CVE-2026-64524193 days apartdrm/hyperv: validate resolution_count and fix WIN8 fallback30Monitor
- CVE-2026-68293209 days apartnet/mlx5: Fix MCIA register buffer overflow on 32 dword reads28Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/4066b5b546293f44cd6d0e84ece6e3ee7ff27093
- git.kernel.org/stable/c/4afcb985355210e1688560dc47e64b94dad35d71
- git.kernel.org/stable/c/7b07be1ff1cb6c49869910518650e8d0abc7d25f
- git.kernel.org/stable/c/7bea09f60f2ad5d232e2db8f1c14e850fd3fd416
- git.kernel.org/stable/c/ca9983bc3a1189bd72f9ae449d925a66b2616326
- git.kernel.org/stable/c/f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5
Vendor advisories and official records. Exploit/PoC links are deliberately left out.