CVE-2024-49997: net: ethernet: lantiq_etop: fix memory disclosure
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: lantiqetop: 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 skbputpadto() 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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-49997?
CVE-2024-49997 is classified with a medium severity level due to the potential for memory disclosure.
How do I fix CVE-2024-49997?
To mitigate CVE-2024-49997, upgrade the Linux kernel to a patched version as specified in the official announcements.
Which Linux kernel versions are affected by CVE-2024-49997?
CVE-2024-49997 affects Linux kernel versions from 3.0 up to 6.10 and certain versions of 6.11 and 6.12-rc1.
What type of vulnerability is CVE-2024-49997?
CVE-2024-49997 is a memory disclosure vulnerability that occurs due to improper padding in the Ethernet driver.
Is there a workaround for CVE-2024-49997?
There are no specific workarounds for CVE-2024-49997; the recommended action is to apply the available updates.