CVE-2024-58079: media: uvcvideo: Fix crash during unbind if gpio unit is in use

Published Mar 6, 2025
·
Updated

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

media: uvcvideo: Fix crash during unbind if gpio unit is in use

We used the wrong device for the device managed functions. We used the usb device, when we should be using the interface device.

If we unbind the driver from the usb interface, the cleanup functions are never called. In our case, the IRQ is never disabled.

If an IRQ is triggered, it will try to access memory sections that are already free, causing an OOPS.

We cannot use the function devmrequestthreadedirq here. The devm clean functions may be called after the main structure is released by uvcdelete.

Luckily this bug has small impact, as it is only affected by devices with gpio units and the user has to unbind the device, a disconnect will not trigger this error.

Affected Software

6 affected components
Linux Kernel
Linux Linux kernel>=5.12<5.15.179
Linux Linux kernel>=5.16<6.1.130
Linux Linux kernel>=6.2<6.6.78
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3

Event History

Mar 6, 2025
CVE Published
via MITRE·04:13 PM
Data Sourced
via MITRE·04:13 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58079?

CVE-2024-58079 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2024-58079?

To fix CVE-2024-58079, update your Linux kernel to the latest stable version that addresses this vulnerability.

3

What does CVE-2024-58079 affect?

CVE-2024-58079 affects the Linux kernel specifically in the handling of media devices using the uvcvideo driver.

4

Can CVE-2024-58079 lead to a system crash?

Yes, CVE-2024-58079 can potentially lead to a system crash during the unbinding process if the GPIO unit is in use.

5

Is CVE-2024-58079 related to a specific device?

CVE-2024-58079 is related to issues with device management functions in the Linux kernel concerning USB and interface devices.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203