CVE-2024-58079

MEDIUM

Linux Kernel 5.12-6.13.2 Use-After-Free in UVC Video GPIO Unit Unbind

Title source: llm
STIX 2.1

Description

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 devm_request_threaded_irq here. The devm_* clean functions may be called after the main structure is released by uvc_delete. 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.

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (20)
linux/Kernel 5.12.0 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.130linux
linux/Kernel 6.13.0 - 6.13.3linux
linux/Kernel 6.2.0 - 6.6.78linux
linux/Kernel 6.7.0 - 6.12.14linux
Linux/Linux < 5.12
Linux/Linux 2886477ff98740cc3333cf785e4de0b1ff3d7a28 - 0b5e0445bc8384c18bd35cb9fe87f6258c6271d9
Linux/Linux 2886477ff98740cc3333cf785e4de0b1ff3d7a28 - 0fdd7cc593385e46e92e180b71e264fc9c195298
Linux/Linux 2886477ff98740cc3333cf785e4de0b1ff3d7a28 - 3c00e94d00ca079bef7906d6f39d1091bccfedd3
Linux/Linux 2886477ff98740cc3333cf785e4de0b1ff3d7a28 - 5d2e65cbe53d0141ed095cf31c2dcf3d8668c11d
... and 10 more
Published Mar 06, 2025
Tracked Since Feb 18, 2026