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