CVE-2024-42162
published high CVSS 3.1 · 7.8gve: Account for stopped queues when reading NIC stats
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2f523dc34ac8c355609e9b847852bf25bbdb30bf to < acf609843a848e2c22ccce98eef109330403380d · 2f523dc34ac8c355609e9b847852bf25bbdb30bf to < 32675d828c8a392e20d5b42375ed112c407e4b62 · 2f523dc34ac8c355609e9b847852bf25bbdb30bf to < af9bcf910b1f86244f39e15e701b2dc564b469a6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.9.9 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.228.2 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.228.2 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.228.2 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.228.2 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.228.2 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.197.1 | SUSE-SU-2024:3252-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_228-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_228-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_228-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.228.1 | SUSE-SU-2024:3251-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.200.1 | SUSE-SU-2024:3189-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 5.14.21-150500.13.67.3 | SUSE-SU-2024:3209-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azureaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azurex86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develaarch64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-azure-develx86_64 | Advisory build | 5.14.21-150500.33.66.1 | SUSE-SU-2024:3190-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.80.2.150500.6.35.6 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-extrax86_64 | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.80.2 | SUSE-SU-2024:3483-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: gve: Account for stopped queues when reading NIC stats We now account for the fact that the NIC might send us stats for a subset of queues. Without this change, gve_get_ethtool_stats might make an invalid access on the priv->stats_report->stats array.
Related advisories
Vendor advisories explicitly linked to this CVE.
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 code is reached through the `SIOCETHTOOL`/`ETHTOOL_GSTATS` ioctl on a local netdev, requiring local system access. There is no remote or adjacent-network path into `gve_get_ethtool_stats()`. AC:L - The attacker can invoke `ethtool -S` an unlimited number of times with no rate limit, and because the out-of-bounds index comes from an uninitialized small kmalloc allocation, standard slab grooming lets the attacker place chosen values there, making the OOB access reliable and repeatable rather than dependent on chance. PR:L - `ETHTOOL_GSTATS` is explicitly listed among the ethtool commands "allowed to be done by anyone" in `__dev_ethtool()`, bypassing the `ns_capable(CAP_NET_ADMIN)` check, so only an ordinary unprivileged local account is needed. UI:N - The attacker triggers the entire flow themselves with a single ioctl; no action by any other user or administrator is required. S:U - The out-of-bounds read and write are confined to kernel memory within the same security authority as the kernel itself, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - Four `u64` words per affected queue are read from an uncontrolled/groomable offset outside the `priv->stats_report->stats` DMA buffer and copied straight to userspace by `ethtool_get_stats()`, yielding disclosure of arbitrary kernel memory including pointers and secrets. I:H - The unvalidated device-supplied `queue_id` is used directly as an index in `rx_qid_to_stats_idx[queue_id] = stats_idx`, giving a far out-of-bounds heap write of a partly controlled `int`; the fix's added bounds checks confirm this is an out-of-bounds write suitable for heap corruption and control-flow hijack. A:H - A garbage `stats_idx` can address up to ±32 GB from the stats buffer, so dereferencing unmapped or non-canonical memory produces a kernel oops/panic, and the OOB write can corrupt adjacent slab objects and crash the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2f523dc34ac8c355609e9b847852bf25bbdb30bf to < acf609843a848e2c22ccce98eef109330403380d (affected · git)2f523dc34ac8c355609e9b847852bf25bbdb30bf to < 32675d828c8a392e20d5b42375ed112c407e4b62 (affected · git)2f523dc34ac8c355609e9b847852bf25bbdb30bf to < af9bcf910b1f86244f39e15e701b2dc564b469a6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.10 (affected)0 to < 5.10 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.9.9 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
gve: Account for stopped queues when reading NIC stats
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecebe652b6941815965d9e149f05770b86ba8620374e598caa89a74951fcbb27
- Ingested
- 21 Oct 2026, 12:48:59 UTC
- Source record
- Official CVE record