CVE-2024-57980

HIGH

Linux Kernel < 6.1.129 - Double Free

Title source: rule

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]>

Scores

CVSS v3 7.8
EPSS 0.0004
EPSS Percentile 12.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-415
Status published

Affected Products (8)

linux/linux_kernel < 6.1.129
linux/Kernel < 5.4.291linux
linux/Kernel < 5.10.235linux
linux/Kernel < 5.15.179linux
linux/Kernel < 6.1.129linux
linux/Kernel < 6.6.76linux
linux/Kernel < 6.12.13linux
linux/Kernel < 6.13.2linux

Timeline

Published Feb 27, 2025
Tracked Since Feb 18, 2026