CVE-2024-58002CWE-416

CVE-2024-58002

High · published February 27, 2025

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

In the Linux kernel, the following vulnerability has been resolved:

media: uvcvideo: Remove dangling pointers

When an async control is written, we copy a pointer to the file handle

that started the operation. That pointer will be used when the device is

done. Which could be anytime in the future.

If the user closes that file descriptor, its structure will be freed,

and there will be one dangling pointer per pending async control, that

the driver will try to use.

Clean all the dangling pointers during release().

To avoid adding a performance penalty in the most common case (no async

operation), a counter has been introduced with some logic to make sure

that it is properly handled.

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.00257 · 16.4th percentile
Weakness
CWE-416 · Use After Free
Published
2025-02-27T08:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 4.19, < 6.6.806.6.80
linux/linux_kernel≥ 6.7, < 6.12.146.12.14
linux/linux_kernel≥ 6.13, < 6.13.36.13.3
References (11)
EPSS history
Timeline
  • 27 FEB 02:12Z
    media: uvcvideo: Remove dangling pointers
    cvelistv5