Linux kernel uvcvideo double free in error path
CVE-2024-57980High
The uvc_status_init() function in the Linux kernel's uvcvideo driver frees the dev->status pointer when it fails to allocate int_urb, but does not reset the pointer to NULL. When uvc_status_cleanup() later calls kfree() on this pointer, it attempts to free memory that has already been freed. An attacker with the ability to trigger a failed int_urb allocation during uvcvideo initialisation could cause a kernel crash or potentially execute arbitrary code.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.28, before 6.1.129
- linux linux kernel: from 6.2, before 6.6.76
- linux linux kernel: from 6.7, before 6.12.13
- linux linux kernel: from 6.13, before 6.13.2
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)