← Database

CVE-2024-57801

HIGH CVSS: 7.8 Published: 2025-01-15 Modified: 2026-06-17

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-416, CWE-416

References