CVE-2024-35822

usb: udc: remove warning when queue disabled ep

published May 17, 2024

CVSS
—
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Published
2024-05-17T13:23Z
EPSS history
Timeline
  • 17 MAY 13:23Z
    usb: udc: remove warning when queue disabled ep
    cvelistv5