Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-68795

published high CVSS 3.1 · 7.8

ethtool: Avoid overflowing userspace buffer on stats query

Published
13 Jan 2026, 15:29:06 UTC
Updated
19 Oct 2026, 18:05:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3df375a1e75483b7d973c3cc2e46aa374db8428b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4afcb985355210e1688560dc47e64b94dad35d71 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ca9983bc3a1189bd72f9ae449d925a66b2616326 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bea09f60f2ad5d232e2db8f1c14e850fd3fd416 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4066b5b546293f44cd6d0e84ece6e3ee7ff27093 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7b07be1ff1cb6c49869910518650e8d0abc7d25f · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.248 through 5.10.* (unaffected · semver) · 5.15.198 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-113 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-098 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1423 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1494 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Debian trixie linux Advisory build 6.12.69-1 DSA-6126-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-108.64.6.3.el10uek ELSA-2026-50112
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-318.199.3.2.el8uek ELSA-2026-50145
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-108.64.6.3.el9uek ELSA-2026-50112
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-108.64.6.3.el9uek ELSA-2026-50112
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-318.199.3.2.el9uek ELSA-2026-50145

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

56

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through SIOCETHTOOL ioctls issued on a local socket; network packets alone cannot invoke it. AC:L - The caller can provide a deliberately stale undersized count, and attackers controlling a dynamic device can repeatedly interleave reconfiguration with the separately locked queries. PR:L - ETHTOOL_GSSET_INFO, ETHTOOL_GSTRINGS, ETHTOOL_GSTATS, and ETHTOOL_GPHYSTATS are explicitly permitted without CAP_NET_ADMIN, so an ordinary local user can reach the vulnerable path. UI:N - No separate victim action is required because the attacker or an automatically running statistics consumer performs the ioctl sequence. S:U - The corruption remains within the operating system's security authority and does not inherently cross a VM, IOMMU, or comparable isolation boundary. C:H - The potentially large userspace heap overwrite can corrupt a privileged statistics consumer and plausibly enable execution that exposes all data accessible to that process. I:H - Statistic names and partially attacker-influenceable counter values can overwrite adjacent heap objects, potentially enabling control-flow hijacking and arbitrary modification within a privileged consumer. A:H - The heap corruption can reliably terminate the calling process and may disable a critical monitoring or management service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3df375a1e75483b7d973c3cc2e46aa374db8428b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f9dc0f45d2cd0189ce666288a29d2cc32c2e44d5 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4afcb985355210e1688560dc47e64b94dad35d71 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ca9983bc3a1189bd72f9ae449d925a66b2616326 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7bea09f60f2ad5d232e2db8f1c14e850fd3fd416 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4066b5b546293f44cd6d0e84ece6e3ee7ff27093 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7b07be1ff1cb6c49869910518650e8d0abc7d25f (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.248 through 5.10.* (unaffected · semver)5.15.198 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-122 CWE-122 Heap-based Buffer Overflow (CISA-ADP · adp)

References

7

Provider assertions

2

Linux · cna

ethtool: Avoid overflowing userspace buffer on stats query

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
c464735be672641a5c22a9fe88232ab8ed26f4dee4d229cfc4afbf28f41237f1
Ingested
19 Oct 2026, 18:27:05 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected