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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-35822, DEBIAN-CVE-2024-35822
- Record: https://cvemate.com/vulnerability/CVE-2024-35822 · JSON: https://cvemate.com/vulnerability/CVE-2024-35822/json

## Description

```text
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().
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.232%, percentile 15.001%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 123)

- debian linux (Debian): \< 6.1.85-1 \| \< 6.7.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-189.209 \| \< 5.15.0-116.126 \| \< 6.8.0-35.35
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1128.138 \| \< 5.15.0-1065.71 \| \< 6.8.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1128.138~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1128.138+fips1 \| \< 5.15.0-1065.71+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1133.140 \| \< 5.15.0-1068.77 \| \< 6.8.0-1008.8
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 33)

- <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>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2024-35822>
- <https://www.cve.org/CVERecord?id=CVE-2024-35822>
- <https://git.kernel.org/linus/2a587a035214fa1b5ef598aea0b81848c5b72e5e>
- <https://ubuntu.com/security/notices/USN-6816-1>
- <https://ubuntu.com/security/notices/USN-6817-1>
- <https://ubuntu.com/security/notices/USN-6817-2>
- <https://ubuntu.com/security/notices/USN-6817-3>
- <https://ubuntu.com/security/notices/USN-6878-1>
- <https://ubuntu.com/security/notices/USN-6896-1>

---

Data as of 2026-12-05T03:52:03.540Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
