PT-2025-40743 · Linux+2 · Linux Kernel+2

Published

2024-04-30

·

Updated

2026-02-10

·

CVE-2023-53580

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A flaw exists in the Linux kernel's USB gadget core that could lead to a kernel panic during the unconfiguration of a UVC gadget driver. The issue arises from a deadlock situation when a gadget driver calls usb gadget deactivate() as part of its unbind procedure. Specifically, gadget unbind driver() holds the udc->connect lock mutex while calling the driver's unbind() callback, and usb gadget deactivate() attempts to acquire the same mutex, resulting in a deadlock. The fix involves releasing the mutex before invoking the unbind() callback and reacquiring it afterward. It is important to note that usb gadget activate() and usb gadget deactivate() should not be called from a gadget driver's disconnect() callback, as this callback may run in interrupt context.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
CVE-2023-53580
RHSA-2024:2394
RHSA-2024_2394
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4149-1
SUSE-SU-2025:4301-1
SUSE-SU-2025:4320-1

Affected Products

Linux Kernel
Red Hat
Suse