CVE-2024-57801: net/mlx5e: Skip restore TC rules for vport rep without loaded flag
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Skip restore TC rules for vport rep without loaded flag
During driver unload, unregisternetdev is called after unloading vport rep. So, the mlx5ereppriv is already freed while trying to get rpriv->netdev, or walk rpriv->tcht, which results in use-after-free. So add the checking to make sure access the data of vport rep which is still loaded.
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
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57801?
CVE-2024-57801 has a severity rating that reflects potential denial of service risks within the Linux kernel.
How do I fix CVE-2024-57801?
To mitigate CVE-2024-57801, it is recommended to update to the latest patch version of the Linux kernel that addresses this vulnerability.
What systems are affected by CVE-2024-57801?
CVE-2024-57801 affects various versions of the Linux kernel ranging from 6.7 to 6.6.70 and 6.13 release candidates.
What potential impact does CVE-2024-57801 have?
CVE-2024-57801 can result in instability or crashes in networking operations, primarily when the driver unloads.
Is there a known exploit for CVE-2024-57801?
As of now, there are no publicly known exploits targeting CVE-2024-57801.