CVE-2024-57801
net/mlx5e: Skip restore TC rules for vport rep without loaded flag
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jan 15, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new high vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
d1569537a837d66620aa7ffc2bddf918e902f227 < 3e45dd1622a2c1a83c11bf42fdd8c1810123d6c0 d1569537a837d66620aa7ffc2bddf918e902f227 < 47c78d3fc26e38ab805613a0f592dc8a820c7c64 d1569537a837d66620aa7ffc2bddf918e902f227 < 5a03b368562a7ff5f5f1f63b5adf8309cbdbd5be
Linux / Linux
6.6