NetSight
high7.8

CVE-2024-57980

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 a…

Impact

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>

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.28 before 6.1.129
from 6.2 before 6.6.76
from 6.7 before 6.12.13
from 6.13 before 6.13.2

Weakness classification

References