PT-2025-3580 · Linux+4 · Linux Kernel+4
Published
2024-12-23
·
Updated
2025-10-03
·
CVE-2024-57801
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
The issue arises during driver unload when unregister netdev is called after unloading vport rep, resulting in a use-after-free error because mlx5e rep priv is already freed while trying to access its data. The fix involves adding a check to ensure that the data of vport rep is accessed only when it is still loaded.
Recommendations
For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider disabling the
net/mlx5e driver until a patch is available. Restrict access to the vport rep data to minimize the risk of exploitation. Avoid using the rpriv->netdev and rpriv->tc ht variables in the affected code until the issue is resolved.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Suse
Ubuntu