CVE-2024-42162 gve: Account for stopped queues when reading NIC stats

High 7.8 Published Updated

A flaw in the Google Virtual Ethernet driver allows invalid memory access when reading NIC stats, potentially causing a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42162?

CVE-2024-42162 is a high-severity vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-754

Which versions are affected by CVE-2024-42162?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42162?

Apply the vendor's patch.

Is CVE-2024-42162 being exploited?

There is no known exploitation of CVE-2024-42162 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-42162, DEBIAN-CVE-2024-42162, GHSA-v9x7-5mrp-4m42, ROOT-OS-DEBIAN-11-CVE-2024-42162, ROOT-OS-DEBIAN-12-CVE-2024-42162, UBUNTU-CVE-2024-42162.

Is CVE-2024-42162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free