CVE-2024-57980CWE-415

CVE-2024-57980

High · published February 27, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
18.7
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00273 · 18.7th percentile
Weakness
CWE-415 · Double Free
Published
2025-02-27T07:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.28, < 6.1.1296.1.129
linux/linux_kernel≥ 6.2, < 6.6.766.6.76
linux/linux_kernel≥ 6.7, < 6.12.136.12.13
linux/linux_kernel≥ 6.13, < 6.13.26.13.2
References (11)
EPSS history
Timeline
  • 27 FEB 02:07Z
    media: uvcvideo: Fix double free in error path
    cvelistv5