CVE-2023-53580
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-53580 is a vulnerability discovered in the Linux kernel affecting the USB Gadget core component. The issue was identified when a kernel panic occurred during the UVC gadget driver removal from a gadget's configuration. The vulnerability was reported by Avichal Rakesh and involves a complex interaction between the kernel driver and a userspace component (NVD).

Technical details

The vulnerability stems from a deadlock condition in the USB Gadget core component. The issue occurs when gadgetunbinddriver() calls driver->unbind() while holding the udc->connectlock mutex, and usbgadget_deactivate() attempts to acquire the same mutex. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) (Red Hat).

Impact

When exploited, this vulnerability can lead to a kernel panic in affected systems. The issue specifically impacts systems utilizing the UVC gadget driver functionality in the Linux kernel, potentially causing system instability and denial of service conditions (NVD).

Mitigation and workarounds

The fix involves modifying gadgetunbinddriver() to release the mutex before performing the unbind callback and reacquiring it afterward. Additionally, comments have been added to usbgadgetactivate() and usbgadgetdeactivate() to prevent similar issues in the future by clarifying that these functions must not be called from a gadget driver's ->disconnect() callback (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management