CVE-2024-35822

Source
https://cve.org/CVERecord?id=CVE-2024-35822
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35822.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35822
Downstream
Related
Published
2024-05-17T13:23:24.994Z
Modified
2026-03-20T12:36:39.621393Z
Summary
usb: udc: remove warning when queue disabled ep
Details

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 usbepqueue+0x7c/0x104 pc : usbepqueue+0x7c/0x104 lr : fsgmainthread+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 WARNONONCE() in usbepqueue() to pr_debug().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35822.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8a0859b65b06ea07461271ce4f1fe25b48d1ec55
Fixed
2b002c308e184feeaeb72987bca3f1b11e5f70b8
Fixed
68d951880d0c52c7f13dcefb5501b69b8605ce8c
Fixed
3e944ddc17c042945d983e006df7860687a8849a
Fixed
df5cbb908f1687e8ab97e222a16b7890d5501acf
Fixed
f74c5e0b54b02706d9a862ac6cddade30ac86bcf
Fixed
99731076722eb7ed26b0c87c879da7bb71d24290
Fixed
36177c2595df12225b95ce74eb1ac77b43d5a58c
Fixed
30511676eb54d480d014352bf784f02577a10252
Fixed
2a587a035214fa1b5ef598aea0b81848c5b72e5e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35822.json"