# CVE-2024-35822: usb: udc: remove warning when queue disabled ep

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-17T13:23:24.994Z
- Modified: 2026-06-17T07:35:29.073Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 2b002c308e184feeaeb72987bca3f1b11e5f70b8; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 68d951880d0c52c7f13dcefb5501b69b8605ce8c; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 3e944ddc17c042945d983e006df7860687a8849a; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before df5cbb908f1687e8ab97e222a16b7890d5501acf; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before f74c5e0b54b02706d9a862ac6cddade30ac86bcf; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 99731076722eb7ed26b0c87c879da7bb71d24290; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 36177c2595df12225b95ce74eb1ac77b43d5a58c; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 30511676eb54d480d014352bf784f02577a10252; from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 before 2a587a035214fa1b5ef598aea0b81848c5b72e5e; 4.5 (not affected: before 4.5; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.154 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.24 up to 6.6.*; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.154; from 5.16 before 6.1.84; from 6.2 before 6.6.24; from 6.7 before 6.7.12; from 6.8 before 6.8.3; 6.9
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/2b002c308e184feeaeb72987bca3f1b11e5f70b8> (patch)
- <https://git.kernel.org/stable/c/68d951880d0c52c7f13dcefb5501b69b8605ce8c> (patch)
- <https://git.kernel.org/stable/c/3e944ddc17c042945d983e006df7860687a8849a> (patch)
- <https://git.kernel.org/stable/c/df5cbb908f1687e8ab97e222a16b7890d5501acf> (patch)
- <https://git.kernel.org/stable/c/f74c5e0b54b02706d9a862ac6cddade30ac86bcf> (patch)
- <https://git.kernel.org/stable/c/99731076722eb7ed26b0c87c879da7bb71d24290> (patch)
- <https://git.kernel.org/stable/c/36177c2595df12225b95ce74eb1ac77b43d5a58c> (patch)
- <https://git.kernel.org/stable/c/30511676eb54d480d014352bf784f02577a10252> (patch)
- <https://git.kernel.org/stable/c/2a587a035214fa1b5ef598aea0b81848c5b72e5e> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-35822](https://www.cve.org/CVERecord?id=CVE-2024-35822), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-35822](https://nvd.nist.gov/vuln/detail/CVE-2024-35822), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35822 · Whole record: https://cve.day/CVE-2024-35822.json · Rebuilt by cve.day 2026-11-25T22:58:40.527Z
