CVE-2024-35822

usb: udc: remove warning when queue disabled ep

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 2b002c308e184feeaeb72987bca3f1b11e5f70b8Affected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 68d951880d0c52c7f13dcefb5501b69b8605ce8cAffected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 3e944ddc17c042945d983e006df7860687a8849aAffected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before df5cbb908f1687e8ab97e222a16b7890d5501acfAffected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before f74c5e0b54b02706d9a862ac6cddade30ac86bcfAffected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 99731076722eb7ed26b0c87c879da7bb71d24290Affected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 36177c2595df12225b95ce74eb1ac77b43d5a58cAffected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 30511676eb54d480d014352bf784f02577a10252Affected
  • 8a0859b65b06ea07461271ce4f1fe25b48d1ec55 to before 2a587a035214fa1b5ef598aea0b81848c5b72e5eAffected
LinuxLinux
  • 4.5Affected
  • before 4.5Not affected
  • 4.19.312 through 4.19.*Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.84 through 6.1.*Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.