CVE-2024-49997 net: ethernet: lantiq_etop: fix memory disclosure

High 7.5 Published Updated

An attacker can observe uninitialized memory contents on the network wire due to improper padding in the Lantiq Ethernet driver.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49997?

CVE-2024-49997 is a high-severity vulnerability in Linux kernel, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: lantiq_etop: fix memory disclosure

When applying padding, the buffer is not zeroed, which results in memory disclosure. The mentioned data is observed on the wire. This patch uses skb_put_padto() to pad Ethernet frames properly. The mentioned function zeroes the expanded buffer.

In case the packet cannot be padded it is silently dropped. Statistics are also not incremented. This driver does not support statistics in the old 32-bit format or the new 64-bit format. These will be added in the future. In its current form, the patch should be easily backported to stable versions.

Ethernet MACs on Amazon-SE and Danube cannot do padding of the packets in hardware, so software padding must be applied.

Weakness: CWE-212

Which versions are affected by CVE-2024-49997?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49997?

Apply the vendor's patch.

Is CVE-2024-49997 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-51834, BELL-CVE-2024-49997, DEBIAN-CVE-2024-49997, GHSA-9xrj-2966-hg7q, ROOT-OS-DEBIAN-11-CVE-2024-49997, UBUNTU-CVE-2024-49997.

Is CVE-2024-49997 in your software?

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

Check your SBOMs for free