High severity · published Feb 27, 2025
CVE-2024-57980
media: uvcvideo: Fix double free in error path
7.8
CVSS
0.3%
EPSS
No
On KEV
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 <ribalda@chromium.org>
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.28 before 6.1.129; 6.2 before 6.6.76; 6.7 before 6.12.13; 6.13 before 6.13.2 · source: NVD
LI
Linux · Linux
a31a4055473bf0a7b2b06cb2262347200d0711e1 before d6e5ba2516c5bef87c1fcb8189b6f3cad7c64b2d; a31a4055473bf0a7b2b06cb2262347200d0711e1 before 87522ef165e5b6de8ef98cc318f3335166a1512c; a31a4055473bf0a7b2b06cb2262347200d0711e1 before 3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277; a31a4055473bf0a7b2b06cb2262347200d0711e1 before 9232719ac9ce4d5c213cebda23d72aec3e1c4c0d; a31a4055473bf0a7b2b06cb2262347200d0711e1 before 6c36dcd662ec5276782838660f8533a7cb26be49; a31a4055473bf0a7b2b06cb2262347200d0711e1 before d1f8e69eec91d5a75ef079778a5d0151db2a7f22; +3 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-57980
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-57980
git.kernel.org
https://git.kernel.org/stable/c/3ba8884a56a3eb97c22f0ce0e4dd410d4ca4c277
Patch
https://git.kernel.org/stable/c/6c36dcd662ec5276782838660f8533a7cb26be49
git.kernel.org
https://git.kernel.org/stable/c/87522ef165e5b6de8ef98cc318f3335166a1512c
Patch
https://git.kernel.org/stable/c/9232719ac9ce4d5c213cebda23d72aec3e1c4c0d
Patch
https://git.kernel.org/stable/c/c6ef3a7fa97ec823a1e1af9085cf13db9f7b3bac
Patch
https://git.kernel.org/stable/c/d1f8e69eec91d5a75ef079778a5d0151db2a7f22
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
