CVE-2024-56687
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56687 is a vulnerability in the Linux kernel's USB MUSB driver that was discovered and resolved in December 2024. The issue affects the USB endpoint request handling in the MUSB driver, specifically during the first Rx endpoint request. The vulnerability impacts Linux kernel versions from 5.18 up to (excluding) 6.1.120, from 6.2 up to (excluding) 6.6.64, from 6.7 up to (excluding) 6.11.11, and from 6.12 up to (excluding) 6.12.2 (NVD).

Technical details

The vulnerability stems from a hardware lockup condition that occurs when a request's callback is invoked from usb_ep_queue(). The issue manifests in a specific sequence where the gadget is initialized using musb_gadget_enable(), and a packet arrives setting the RXPKTRDY flag and raising an interrupt. If IRQs are enabled during this process, the interrupt is handled but finds an empty queue, leading to a potential hardware lockup. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can result in a hardware lockup condition where the endpoint remains locked up, preventing the interface from receiving any further packets from the USB host. This occurs because while the interrupt triggered by hardware setting the RXPKTRDY flag has been handled, the flag itself remains set, effectively causing a denial of service condition (Kernel Patch).

Mitigation and workarounds

The issue has been resolved in the Linux kernel through a patch that modifies the musb_ep_restart() function to flush the Rx FIFO instead of calling rxstate(). This solution ensures that the hardware can receive packets when there is at least one request in the queue, though it may cause one or two packets to be dropped if double buffering is enabled. The fix has been backported to affected stable kernel versions (Kernel Patch).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-internal
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesJan 14, 2026

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