CVE-2025-68795
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 7
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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
- 13.01.2026
- Modified
- 19.10.2026
- CWE
- CWE-122
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
49- Ubuntu: USN-8440-1 – Linux kernel (Azure) vulnerabilities 17.06.2026 · Critical · Patch day
- Ubuntu: USN-8265-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 11.05.2026 · Critical · Patch day
- Ubuntu: USN-8261-1 – Linux kernel (Xilinx) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8260-1 – Linux kernel (Azure FIPS) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8258-1 – Linux kernel (Azure) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8257-1 – Linux kernel (Raspberry Pi) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8245-1 – Linux kernel vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8243-1 – Linux kernel (Azure) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8179-4 – Linux kernel (GCP) vulnerabilities 07.05.2026 · Critical · Patch day
- Ubuntu: USN-8185-2 – Linux kernel (Low Latency NVIDIA) vulnerabilities 28.04.2026 · Critical · Patch day
- Ubuntu: USN-8204-1 – Linux kernel (Raspberry Pi Real-time) vulnerabilities 23.04.2026 · Critical · Patch day
- Ubuntu: USN-8203-1 – Linux kernel (Oracle) vulnerabilities 23.04.2026 · Critical · Patch day
- Ubuntu: USN-8179-3 – Linux kernel vulnerabilities 23.04.2026 · Critical · Patch day
- Ubuntu: USN-8183-2 – Linux kernel vulnerabilities 23.04.2026 · Critical · Patch day
- Ubuntu: USN-8185-1 – Linux kernel (NVIDIA) vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8179-2 – Linux kernel (FIPS) vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8184-1 – Linux kernel (Real-time) vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8183-1 – Linux kernel (GCP) vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8177-1 – Linux kernel vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8177-2 – Linux kernel (Real-time) vulnerabilities 17.04.2026 · Critical · Patch day
- Ubuntu: USN-8179-1 – Linux kernel vulnerabilities 16.04.2026 · Critical · Patch day
- Ubuntu: USN-8163-2 – Linux kernel (Azure) vulnerabilities 14.04.2026 · Critical · Patch day
- Ubuntu: USN-8163-1 – Linux kernel (Azure FIPS) vulnerabilities 10.04.2026 · Critical · Patch day
- Ubuntu: USN-8141-1 – Linux kernel (Raspberry Pi) vulnerabilities 01.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20876-1 – Security update for the Linux Kernel 30.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20845-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20872-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20794-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20819-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20772-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- Ubuntu: USN-8096-5 – Linux kernel (NVIDIA Tegra IGX) vulnerabilities 23.03.2026 · Critical · Patch day
- Ubuntu: USN-8116-1 – Linux kernel (Intel IoTG Real-time) vulnerabilities 23.03.2026 · Critical · Patch day
- Ubuntu: USN-8096-4 – Linux kernel (Real-time) vulnerabilities 17.03.2026 · Critical · Patch day
- Ubuntu: USN-8096-3 – Linux kernel vulnerabilities 17.03.2026 · Critical · Patch day
- Ubuntu: USN-8096-2 – Linux kernel (FIPS) vulnerabilities 17.03.2026 · Critical · Patch day
- Ubuntu: USN-8096-1 – Linux kernel vulnerabilities 16.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20599-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20615-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20555-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20570-1 – Security update for the Linux Kernel 05.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20498-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20520-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20477-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20479-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0587-1 – Security update for the Linux Kernel 20.02.2026 · HIGH · Patch day
- Microsoft: Mariner 18.02.2026 · High · Patch day
- SUSE: SUSE-SU-2026:0472-1 – Security update for the Linux Kernel 12.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0473-1 – Security update for the Linux Kernel 12.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0447-1 – Security update for the Linux Kernel 11.02.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.