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.
Metrics
Affected Vendors & Products
References
History
Wed, 15 Jan 2025 13:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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. | |
Title | net/mlx5e: Skip restore TC rules for vport rep without loaded flag | |
References |
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2025-01-15T13:10:24.619Z
Updated: 2025-01-15T13:10:24.619Z
Reserved: 2025-01-15T13:08:59.741Z
Link: CVE-2024-57801
Vulnrichment
No data.
NVD
Status : Received
Published: 2025-01-15T13:15:11.713
Modified: 2025-01-15T13:15:11.713
Link: CVE-2024-57801
Redhat
No data.