CVE-2024-35822
usb: udc: remove warning when queue disabled ep
Reported by linux · Published May 17, 2024
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f74c5e0b54b02706d9a862ac6cddade30ac86bcf, df5cbb908f1687e8ab97e222a16b7890d5501acf, 99731076722eb7ed26b0c87c879da7bb71d24290, 3e944ddc17c042945d983e006df7860687a8849a, 36177c2595df12225b95ce74eb1ac77b43d5a58c, 30511676eb54d480d014352bf784f02577a10252, 2b002c308e184feeaeb72987bca3f1b11e5f70b8, 2a587a035214fa1b5ef598aea0b81848c5b72e5e |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 |
| Linux | Linux | 4.5, 0, 4.19.312 |
| Linux | Linux | 6.7.12, 0, 4.19.312 |
| linux | linux_kernel | 4.5, 4.5, 4.5 |
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 10, 2026 Security Advisory (453 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (348 in total, the first dated here)
- Nov 2, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35822
vulnetix vdb fixes CVE-2024-35822
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35822/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart