CVE-2024-57980

media: uvcvideo: Fix double free in error path

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:07 AM UTC
Updated: October 15, 2026 at 02:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

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. 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 <[email protected]>

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.28 ≤ v < 6.1.1296.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.132.6.28a31a4055473bf0a7b2b06cb2262347200d0711e1
Vendor states this is fixed in 3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277 (fixed)
Vendor states this is fixed in 6c36dcd662ec5276782838660f8533a7cb26be49 (fixed)
Vendor states this is fixed in 87522ef165e5b6de8ef98cc318f3335166a1512c (fixed)
Vendor states this is fixed in 9232719ac9ce4d5c213cebda23d72aec3e1c4c0d (fixed)
Vendor states this is fixed in c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac (fixed)
Vendor states this is fixed in d1f8e69eec91d5a75ef079778a5d0151db2a7f22 (fixed)
Vendor states this is fixed in d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d (fixed)
Vendor states this is fixed in d8e63dd7b6683969d3d47c7b8e9635f96d554ad4 (fixed)
Vendor states this is fixed in 2.6.28 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (11)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card