CVE-2024-58002

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
27/02/2025
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> media: uvcvideo: Remove dangling pointers<br /> <br /> When an async control is written, we copy a pointer to the file handle<br /> that started the operation. That pointer will be used when the device is<br /> done. Which could be anytime in the future.<br /> <br /> If the user closes that file descriptor, its structure will be freed,<br /> and there will be one dangling pointer per pending async control, that<br /> the driver will try to use.<br /> <br /> Clean all the dangling pointers during release().<br /> <br /> To avoid adding a performance penalty in the most common case (no async<br /> operation), a counter has been introduced with some logic to make sure<br /> that it is properly handled.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19 (including) 6.6.80 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.3 (excluding)