Security Resilience

CVE-2024-57980

Memory Safety in Linux Kernel 2.6.28 – 6.1.129

Published
27 February 2025
Modified
05 November 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0027 20th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS 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-57980 is a high-severity Double Free (CWE-415) vulnerability in Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 20th 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-57980 is a double-free vulnerability in the Linux kernel's uvcvideo driver, which supports USB Video Class (UVC) devices such as webcams. The flaw arises in the error path of the uvc_status_init() function: if allocation of the int_urb fails, the function frees the dev->status pointer without resetting it to NULL. This results in a subsequent kfree() call in uvc_status_cleanup() attempting to double-free the same memory, as tracked under CWE-415.

The vulnerability has 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), indicating it is exploitable by a local attacker with low privileges and low complexity, requiring no user interaction and running with unchanged scope. Successful exploitation could allow the attacker to achieve high impacts on confidentiality, integrity, and availability, potentially leading to memory corruption, kernel crashes, or privilege escalation.

Mitigation involves applying patches merged into Linux kernel stable trees, as detailed in the following commit references: https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277, https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49, https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c, https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d, and https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac. The fix resets the dev->status pointer to NULL after freeing it in the error path. Security practitioners should ensure systems with UVC devices update to patched kernel versions promptly.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix double free in error path If the uvc_status_init() function fails to allocate the int_urb, it will free the dev->status pointer but doesn't reset the pointer to NULL.…

more

This results in the kfree() call in uvc_status_cleanup() trying to double-free the memory. Fix it by resetting the dev->status pointer to NULL after freeing it. Reviewed by: Ricardo Ribalda <ribalda@chromium.org>

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-43196Same product: Linux Linux Kernel
CVE-2024-42138Same product: Linux Linux Kernel
CVE-2026-46162Same product: Linux Linux Kernel
CVE-2023-52688Same product: Linux Linux Kernel
CVE-2024-40940Same product: Linux Linux Kernel
CVE-2026-53286Same product: Linux Linux Kernel
CVE-2023-52888Same product: Linux Linux Kernel
CVE-2025-38338Same product: Linux Linux Kernel
CVE-2024-26652Same product: Linux Linux Kernel
CVE-2023-53616Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
2.6.28 — 6.1.129 · 6.2 — 6.6.76 · 6.7 — 6.12.13

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 1 hardening rule · 1 OS baseline
Validate
Prove the fix (OWASP ASVS)

—

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation explicitly includes dynamic analysis and fuzzing that locate double-free defects before release.

Security engineering principles can require memory-safe allocation patterns or language features that structurally eliminate double-free opportunities.

Flaw remediation processes require identification and correction of memory-management defects such as double free once discovered.

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.

PR.PS-06 full match
blocks

Secure SDLC practices directly prevent double-free errors via static analysis, safe memory APIs, and testing.

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.

finds

Security testing in development can detect double-free conditions before release.

finds

A.5.21 is a supply chain governance control whose reach is disclosure-based (supplier attestations, certifications, component declarations) plus incidental penetration testing for compliance validation; it has no code-reading or systematic testing programme that would discover a memory-management implementation defect like a double free in deployed code.

finds

A.5.22 is a supplier relationship management control whose mechanisms are service-level monitoring, audit report review, and incident tracking — it does not inspect code, run static analysis, or perform security testing. CWE-415 is a code-level implementation defect requiring source or binary analysis to discover, which is outside the clause's reach; even audits conducted under item (e) are process-level and do not systematically surface double-free patterns in supplier code.

finds

A.5.26 is an incident response control that acts after an incident has occurred; it does not scan code, exercise deployed systems, or consume vulnerability disclosures, so it does not discover double-free weaknesses latent in deployed code, only the incidents that result from their exploitation.

prevents

Training developers on secure memory management practices (proper error handling around free(), avoiding double-free in cleanup paths) reduces a minority of CWE-415 instances, but the bug is subtle, often arises from race conditions and complex error paths, and even well-trained developers introduce it — consistent with the A.8.28 -> CWE-79 and A.6.3 -> CWE-598 partial pattern.

prevents

Secure coding standards directly address proper use of free() and similar functions.

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.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248590 OL 8 must clear the page allocator to prevent use-after-free attacks. blocks CWE-415

References