CVE-2024-57801

published 15 Jan 2025 · updated 5 Aug 2026

net/mlx5e: Skip restore TC rules for vport rep without loaded flag

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3e45dd1622a2c1a83c11bf42fdd8c1810123d6c0, Kernel 47c78d3fc26e38ab805613a0f592dc8a820c7c64 and Kernel 5a03b368562a7ff5f5f1f63b5adf8309cbdbd5be.

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, unregister_netdev is called after unloading vport rep. So, the mlx5e_rep_priv is already freed while trying to get rpriv->netdev, or walk rpriv->tc_ht, which results in use-after-free. So add the checking to make sure access the data of vport rep which is still loaded.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=d1569537a837d66620aa7ffc2bddf918e902f227 <3e45dd1622a2c1a83c11bf42fdd8c1810123d6c0, >=d1569537a837d66620aa7ffc2bddf918e902f227 <47c78d3fc26e38ab805613a0f592dc8a820c7c64, >=d1569537a837d66620aa7ffc2bddf918e902f227 <5a03b368562a7ff5f5f1f63b5adf8309cbdbd5be3e45dd1622a2c1a83c11bf42fdd8c1810123d6c0, 47c78d3fc26e38ab805613a0f592dc8a820c7c64, 5a03b368562a7ff5f5f1f63b5adf8309cbdbd5be

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-57801 severity on Zeptric[![CVE-2024-57801](https://zeptric.io/badge/cve/CVE-2024-57801.svg)](https://zeptric.io/cve/CVE-2024-57801)