First published: Thu Feb 27 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=4.19<6.6.80 | |
Linux Kernel | >=6.7<6.12.14 | |
Linux Kernel | >=6.13<6.13.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-58002 has been categorized with a medium severity due to potential risk associated with dangling pointers in the Linux kernel.
To fix CVE-2024-58002, upgrade to the latest version of the Linux kernel that addresses this vulnerability.
CVE-2024-58002 affects Linux kernel versions between 4.19 and 6.6.80, as well as specific versions within the 6.7 to 6.12.14 range.
CVE-2024-58002 is a memory management vulnerability related to dangling pointers in the Linux kernel's uvcvideo module.
CVE-2024-58002 was disclosed following the identification of an issue in the Linux kernel regarding async control operations.