Bug 2365006 (CVE-2025-37812) - CVE-2025-37812 kernel: usb: cdns3: Fix deadlock when using NCM gadget
Summary: CVE-2025-37812 kernel: usb: cdns3: Fix deadlock when using NCM gadget
Keywords:
Status: NEW
Alias: CVE-2025-37812
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-08 07:01 UTC by OSIDB Bzimport
Modified: 2025-05-08 12:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-08 07:01:14 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: cdns3: Fix deadlock when using NCM gadget

The cdns3 driver has the same NCM deadlock as fixed in cdnsp by commit
58f2fcb3a845 ("usb: cdnsp: Fix deadlock issue during using NCM gadget").

Under PREEMPT_RT the deadlock can be readily triggered by heavy network
traffic, for example using "iperf --bidir" over NCM ethernet link.

The deadlock occurs because the threaded interrupt handler gets
preempted by a softirq, but both are protected by the same spinlock.
Prevent deadlock by disabling softirq during threaded irq handler.

Comment 1 Avinash Hanwate 2025-05-08 12:36:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050817-CVE-2025-37812-44fd@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.