CVE-2024-35822
usb: udc: remove warning when queue disabled ep
Check your servers for CVE-2024-35822
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35822 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 17 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 2b002c308e184feeaeb72987bca3f1b11e5f70b8 affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 68d951880d0c52c7f13dcefb5501b69b8605ce8c affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 3e944ddc17c042945d983e006df7860687a8849a affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before df5cbb908f1687e8ab97e222a16b7890d5501acf affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before f74c5e0b54b02706d9a862ac6cddade30ac86bcf affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 99731076722eb7ed26b0c87c879da7bb71d24290 affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 36177c2595df12225b95ce74eb1ac77b43d5a58c affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 30511676eb54d480d014352bf784f02577a10252 affected from 8a0859b65b06ea07461271ce4f1fe25b48d1ec55, before 2a587a035214fa1b5ef598aea0b81848c5b72e5e
Other versions: unaffected
|
| Linux |
affected 4.5 unaffected before 4.5 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.154 up to and including 5.15.* unaffected from 6.1.84 up to and including 6.1.* unaffected from 6.6.24 up to and including 6.6.* unaffected from 6.7.12 up to and including 6.7.* unaffected from 6.8.3 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35822 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35822
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-35822
trivy image --scanners vuln IMAGE | grep CVE-2024-35822
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2b002c308e184feeaeb72987bca3f1b11e5f70b8 git.kernel.org
- https://git.kernel.org/stable/c/68d951880d0c52c7f13dcefb5501b69b8605ce8c git.kernel.org
- https://git.kernel.org/stable/c/3e944ddc17c042945d983e006df7860687a8849a git.kernel.org
- https://git.kernel.org/stable/c/df5cbb908f1687e8ab97e222a16b7890d5501acf git.kernel.org
- https://git.kernel.org/stable/c/f74c5e0b54b02706d9a862ac6cddade30ac86bcf git.kernel.org
- https://git.kernel.org/stable/c/99731076722eb7ed26b0c87c879da7bb71d24290 git.kernel.org
- https://git.kernel.org/stable/c/36177c2595df12225b95ce74eb1ac77b43d5a58c git.kernel.org
- https://git.kernel.org/stable/c/30511676eb54d480d014352bf784f02577a10252 git.kernel.org
- https://git.kernel.org/stable/c/2a587a035214fa1b5ef598aea0b81848c5b72e5e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-35822 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse