7.8
CWE
416
Advisory Published
Updated

CVE-2024-58002: media: uvcvideo: Remove dangling pointers

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-58002?

    CVE-2024-58002 has been categorized with a medium severity due to potential risk associated with dangling pointers in the Linux kernel.

  • How do I fix CVE-2024-58002?

    To fix CVE-2024-58002, upgrade to the latest version of the Linux kernel that addresses this vulnerability.

  • Which Linux kernel versions are affected by CVE-2024-58002?

    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.

  • What type of vulnerability is CVE-2024-58002?

    CVE-2024-58002 is a memory management vulnerability related to dangling pointers in the Linux kernel's uvcvideo module.

  • When was CVE-2024-58002 disclosed?

    CVE-2024-58002 was disclosed following the identification of an issue in the Linux kernel regarding async control operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203