CVE-2024-35822
Assigner: Linux
Published: 2024-05-17T13:23:24.994Z
State: PUBLISHED
descriptions: value: 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().
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 1da177e4c3f4
lessThan: 2b002c308e18
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 68d951880d0c
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 3e944ddc17c0
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: df5cbb908f16
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: f74c5e0b54b0
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 99731076722e
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 36177c2595df
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 30511676eb54
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 2a587a035214
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4.19.312
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.274
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.215
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.154
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.84
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.24
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.12
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8.3
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: usb: udc: remove warning when queue disabled ep
x_generator: engine: bippy-d175d3acf727