CVE-2024-57801

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

High · published January 15, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
12.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00224 · 12.3th percentile
Published
2025-01-15T13:10Z
EPSS history
Timeline
  • 15 JAN 13:10Z
    net/mlx5e: Skip restore TC rules for vport rep without loaded flag
    cvelistv5