CVE-2024-35822
usb: udc: remove warning when queue disabled ep
Mitigation
- Upgrade Linux to 2a587a035214fa1b5ef598aea0b81848c5b72e5e or later.
Who should check
- Anyone running Linux >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2b002c308e184feeaeb72987bca3f1b11e5f70b8; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 68d951880d0c52c7f13dcefb5501b69b8605ce8c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 3e944ddc17c042945d983e006df7860687a8849a; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < df5cbb908f1687e8ab97e222a16b7890d5501acf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < f74c5e0b54b02706d9a862ac6cddade30ac86bcf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 99731076722eb7ed26b0c87c879da7bb71d24290; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 36177c2595df12225b95ce74eb1ac77b43d5a58c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 30511676eb54d480d014352bf784f02577a10252; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2a587a035214fa1b5ef598aea0b81848c5b72e5e
- Anyone running Linux 4.5
Vulnerability facts
- Affected
- Linux >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2b002c308e184feeaeb72987bca3f1b11e5f70b8; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 68d951880d0c52c7f13dcefb5501b69b8605ce8c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 3e944ddc17c042945d983e006df7860687a8849a; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < df5cbb908f1687e8ab97e222a16b7890d5501acf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < f74c5e0b54b02706d9a862ac6cddade30ac86bcf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 99731076722eb7ed26b0c87c879da7bb71d24290; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 36177c2595df12225b95ce74eb1ac77b43d5a58c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 30511676eb54d480d014352bf784f02577a10252; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2a587a035214fa1b5ef598aea0b81848c5b72e5e; Linux 4.5
- Fixed in
- Linux 2b002c308e184feeaeb72987bca3f1b11e5f70b8, Linux 68d951880d0c52c7f13dcefb5501b69b8605ce8c, Linux 3e944ddc17c042945d983e006df7860687a8849a, Linux 99731076722eb7ed26b0c87c879da7bb71d24290, Linux 36177c2595df12225b95ce74eb1ac77b43d5a58c, Linux 30511676eb54d480d014352bf784f02577a10252, Linux 2a587a035214fa1b5ef598aea0b81848c5b72e5e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- Modified
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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2b002c308e184feeaeb72987bca3f1b11e5f70b8; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 68d951880d0c52c7f13dcefb5501b69b8605ce8c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 3e944ddc17c042945d983e006df7860687a8849a; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < df5cbb908f1687e8ab97e222a16b7890d5501acf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < f74c5e0b54b02706d9a862ac6cddade30ac86bcf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 99731076722eb7ed26b0c87c879da7bb71d24290; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 36177c2595df12225b95ce74eb1ac77b43d5a58c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 30511676eb54d480d014352bf784f02577a10252; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2a587a035214fa1b5ef598aea0b81848c5b72e5e | — | cvelist |
| Linux | 4.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35822. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35822.md Affected: Linux >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2b002c308e184feeaeb72987bca3f1b11e5f70b8; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 68d951880d0c52c7f13dcefb5501b69b8605ce8c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 3e944ddc17c042945d983e006df7860687a8849a; >= 8a0859b65b06ea07461271c… Fixed in: Linux 2b002c308e184feeaeb72987bca3f1b11e5f70b8, Linux 68d951880d0c52c7f13dcefb5501b69b8605ce8c, Linux 3e944ddc17c042945d983e006df7860687a8849a, Linux 99731076722eb7ed26b0c87c879da7bb71d24290, Linux 36177c2595df12225b95ce74eb1ac77b43d5a58c, Linux 30511676eb54d480d014352bf784f02577a10252, Linux 2a587… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2b002c308e184feeaeb72987bca3f1b11e5f70b8
- https://git.kernel.org/stable/c/68d951880d0c52c7f13dcefb5501b69b8605ce8c
- https://git.kernel.org/stable/c/3e944ddc17c042945d983e006df7860687a8849a
- https://git.kernel.org/stable/c/df5cbb908f1687e8ab97e222a16b7890d5501acf
- https://git.kernel.org/stable/c/f74c5e0b54b02706d9a862ac6cddade30ac86bcf
- https://git.kernel.org/stable/c/99731076722eb7ed26b0c87c879da7bb71d24290
- https://git.kernel.org/stable/c/36177c2595df12225b95ce74eb1ac77b43d5a58c
- https://git.kernel.org/stable/c/30511676eb54d480d014352bf784f02577a10252
- https://git.kernel.org/stable/c/2a587a035214fa1b5ef598aea0b81848c5b72e5e
FAQ
Is CVE-2024-35822 being exploited?
There is no confirmed exploitation: CVE-2024-35822 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35822?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35822?
Linux >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2b002c308e184feeaeb72987bca3f1b11e5f70b8; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 68d951880d0c52c7f13dcefb5501b69b8605ce8c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 3e944ddc17c042945d983e006df7860687a8849a; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < df5cbb908f1687e8ab97e222a16b7890d5501acf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < f74c5e0b54b02706d9a862ac6cddade30ac86bcf; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 99731076722eb7ed26b0c87c879da7bb71d24290; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 36177c2595df12225b95ce74eb1ac77b43d5a58c; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 30511676eb54d480d014352bf784f02577a10252; >= 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, < 2a587a035214fa1b5ef598aea0b81848c5b72e5e; Linux 4.5.
Is there a fix for CVE-2024-35822?
Yes. Fixed in Linux 2b002c308e184feeaeb72987bca3f1b11e5f70b8, Linux 68d951880d0c52c7f13dcefb5501b69b8605ce8c, Linux 3e944ddc17c042945d983e006df7860687a8849a, Linux 99731076722eb7ed26b0c87c879da7bb71d24290, Linux 36177c2595df12225b95ce74eb1ac77b43d5a58c, Linux 30511676eb54d480d014352bf784f02577a10252, Linux 2a587a035214fa1b5ef598aea0b81848c5b72e5e. Upgrade Linux to 2a587a035214fa1b5ef598aea0b81848c5b72e5e or later.
How do I check if I'm affected by CVE-2024-35822?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.