VYPR
Unrated severityNVD Advisory· Published May 17, 2024· Updated Jan 5, 2026

usb: udc: remove warning when queue disabled ep

CVE-2024-35822

Description

In the Linux kernel, the following vulnerability has been resolved:

usb: udc: remove warning when queue disabled ep

It is possible trigger below warning message from mass storage function,

WARNING: CPU: 6 PID: 3839 at drivers/usb/gadget/udc/core.c:294 usb_ep_queue+0x7c/0x104 pc : usb_ep_queue+0x7c/0x104 lr : fsg_main_thread+0x494/0x1b3c

Root cause is mass storage function try to queue request from main thread, but other thread may already disable ep when function disable.

As there is no function failure in the driver, in order to avoid effort to fix warning, change WARN_ON_ONCE() in usb_ep_queue() to pr_debug().

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

120

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.