Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-57801 is a high-severity Use After Free (CWE-416) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 13th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2024-57801 is a use-after-free vulnerability (CWE-416) in the Linux kernel's net/mlx5e driver, which handles Mellanox/NVIDIA ConnectX Ethernet functionality. The issue arises during driver unload when unregister_netdev is called after unloading the vport representor (rep). This leads to attempts to access the already-freed mlx5e_rep_priv structure, such as retrieving rpriv->netdev or walking rpriv->tc_ht, while restoring Traffic Control (TC) rules for a vport rep lacking a loaded flag. The vulnerability carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
A local attacker with low privileges can exploit this vulnerability with low attack complexity and no user interaction required. Exploitation occurs during the driver unload process, potentially allowing arbitrary code execution, data corruption, or system crashes due to the use-after-free, with high impacts on confidentiality, integrity, and availability in the unchanged security scope.
Mitigation involves applying kernel patches from stable repositories, which add checks to skip TC rule restoration for vport reps without the loaded flag, ensuring data access only occurs when the rep is still loaded. Relevant commits include https://git.kernel.org/stable/c/3e45dd1622a2c1a83c11bf42fdd8c1810123d6c0, https://git.kernel.org/stable/c/47c78d3fc26e38ab805613a0f592dc8a820c7c64, and https://git.kernel.org/stable/c/5a03b368562a7ff5f5f1f63b5adf8309cbdbd5be.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-53758
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 3 hardening rules · 3 OS baselines
V1.4.3
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and evaluation can discover use-after-free bugs through dynamic analysis or fuzzing.
Engineering principles can require memory-safe constructs or languages that structurally avoid introducing use-after-free.
Process isolation confines the blast radius of use-after-free memory corruption to a single execution domain.
Memory protection controls limit exploitation impact by blocking unauthorized code execution from dangling pointers.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly incorporate memory-safety tooling and reviews that prevent most use-after-free defects.
Vulnerability identification processes can discover use-after-free issues via scanning or analysis but do not prevent their introduction.
Routine patching removes known use-after-free instances after they have been introduced in released software.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect use-after-free bugs before release.
A.6.3's education and training for technical teams can include memory management and pointer-lifetime concepts, which helps some developers avoid use-after-free bugs, but the clause is general awareness plus role-specific training rather than a targeted secure-coding mandate, and UAF defects are subtle enough that even well-trained developers introduce them — a minority effect.
Web filtering blocks access to malicious websites, but CWE-416 is a memory corruption defect in code that is exploited by crafted input, not by visiting a blocked domain.
Secure coding standards directly prescribe avoidance of use-after-free patterns.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25–8.29), so it reduces ordinary implementation-phase software weaknesses like use-after-free in delivered code the way those practices do, at `partial` — the same reading that graded A.8.30 -> CWE-134 `partial` and that sits at the clause's declared ceiling.
Malware detection and repair software scans for and removes malicious code, but a use-after-free is a memory-management defect in legitimate software that no malware scanner examines, so the weakness remains fully exploitable.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
Oracle Linux 8 (1 partial rule)
- V-248592 OL 8 must clear memory when it is freed to prevent use-after-free attacks. blocks CWE-416
RHEL 8 (1 partial rule)
- V-230279 RHEL 8 must clear memory when it is freed to prevent use-after-free attacks. blocks CWE-416
RHEL 9 (1 rule)
- V-257794 RHEL 9 must clear memory when it is freed to prevent use-after-free attacks. blocks CWE-416