CVE-2024-35822

usb: udc: remove warning when queue disabled ep

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:23 PM UTC
Updated: June 17, 2026 at 07:35 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.3124.20 ≤ v < 5.4.2744.5 ≤ v < 4.19.3124.5 ≤ v < 5.10.2154.5 ≤ v < 5.15.1544.5 ≤ v < 5.4.2744.5 ≤ v < 6.1.844.5 ≤ v < 6.6.244.5 ≤ v < 6.7.124.5 ≤ v < 6.8.34.5 ≤ v < 6.95.11 ≤ v < 5.15.1545.16 ≤ v < 6.1.845.5 ≤ v < 5.10.2156.2 ≤ v < 6.6.246.7 ≤ v < 6.7.126.8 ≤ v < 6.8.34.56.9 rc18a0859b65b06ea07461271ce4f1fe25b48d1ec55
Vendor states this is fixed in 2a587a035214fa1b5ef598aea0b81848c5b72e5e (fixed)
Vendor states this is fixed in 2b002c308e184feeaeb72987bca3f1b11e5f70b8 (fixed)
Vendor states this is fixed in 30511676eb54d480d014352bf784f02577a10252 (fixed)
Vendor states this is fixed in 36177c2595df12225b95ce74eb1ac77b43d5a58c (fixed)
Vendor states this is fixed in 3e944ddc17c042945d983e006df7860687a8849a (fixed)
Vendor states this is fixed in 68d951880d0c52c7f13dcefb5501b69b8605ce8c (fixed)
Vendor states this is fixed in 99731076722eb7ed26b0c87c879da7bb71d24290 (fixed)
Vendor states this is fixed in df5cbb908f1687e8ab97e222a16b7890d5501acf (fixed)
Vendor states this is fixed in f74c5e0b54b02706d9a862ac6cddade30ac86bcf (fixed)
Vendor states this is fixed in 4.19.312 (unaffected)
Vendor states this is fixed in 4.5 (unaffected)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a587a035214fa1b5ef598aea0b81848c5b72e5e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b002c308e184feeaeb72987bca3f1b11e5f70b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/30511676eb54d480d014352bf784f02577a10252
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/36177c2595df12225b95ce74eb1ac77b43d5a58c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e944ddc17c042945d983e006df7860687a8849a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68d951880d0c52c7f13dcefb5501b69b8605ce8c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99731076722eb7ed26b0c87c879da7bb71d24290
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/df5cbb908f1687e8ab97e222a16b7890d5501acf

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card