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

Published May 17, 2024
·
Updated

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 usbepqueue+0x7c/0x104 pc : usbepqueue+0x7c/0x104 lr : fsgmainthread+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 WARNONONCE() in usbepqueue() to prdebug().

Other sources

In the Linux kernel, the following vulnerability has been resolved:

usb: udc: remove warning when queue disabled ep

The Linux kernel CVE team has assigned CVE-2024-35822 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051744-CVE-2024-35822-410b@gregkh/T

Red Hat

Affected Software

20 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<4.19.312
4.19.312
redhat/kernel<5.4.274
5.4.274
redhat/kernel<5.10.215
5.10.215
redhat/kernel<5.15.154
5.15.154
redhat/kernel<6.1.84
6.1.84
redhat/kernel<6.6.24
6.6.24
redhat/kernel<6.7.12
6.7.12
redhat/kernel<6.8.3
6.8.3
redhat/kernel<6.9
6.9
Linux Linux kernel<4.19.312
Linux Linux kernel>=4.20<5.4.274
Linux Linux kernel>=5.5<5.10.215
Linux Linux kernel>=5.11<5.15.154
Linux Linux kernel>=5.16<6.1.84
Linux Linux kernel>=6.2<6.6.24
Linux Linux kernel>=6.7<6.7.12
Linux Linux kernel>=6.8<6.8.3
Linux Linux kernel=6.9-rc1
Debian Debian Linux=10.0

Event History

May 17, 2024
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Data Sourced
via NVD·02:15 PM
Description
Data Sourced
via NVD·02:15 PM
RemedySeverityAffected Software
Data Sourced
via Red Hat·11:20 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:18 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:21 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35822?

The severity of CVE-2024-35822 is categorized as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-35822?

To fix CVE-2024-35822, upgrade to a patched version of the Linux kernel, such as 4.19.312, 5.4.274, 5.10.215, or higher versions specified in the remediation.

3

Which Linux kernel versions are affected by CVE-2024-35822?

CVE-2024-35822 affects multiple versions of the Linux kernel prior to the specified remedial versions, including versions from Red Hat and Debian distributions.

4

What does CVE-2024-35822 vulnerability involve?

CVE-2024-35822 involves a warning message that can be triggered from the mass storage function in the Linux kernel's USB device controller.

5

Is CVE-2024-35822 related to performance issues?

Yes, CVE-2024-35822 can be related to performance issues due to the warning generated when the queue for a disabled endpoint is accessed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203