CVE-2022-48926
usb: gadget: rndis: add spinlock for rndis response list
Check your servers for CVE-2022-48926
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-2022-48926 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: gadget: rndis: add spinlock for rndis response list
There's no lock for rndis response list. It could cause list corruption if there're two different list_add at the same time like below. It's better to add in rndis_add_response / rndis_free_response / rndis_get_next_response to prevent any race condition on response list.
[ 361.894299] [1: irq/191-dwc3:16979] list_add corruption. next->prev should be prev (ffffff80651764d0), but was ffffff883dc36f80. (next=ffffff80651764d0).
[ 361.904380] [1: irq/191-dwc3:16979] Call trace: [ 361.904391] [1: irq/191-dwc3:16979] __list_add_valid+0x74/0x90 [ 361.904401] [1: irq/191-dwc3:16979] rndis_msg_parser+0x168/0x8c0 [ 361.904409] [1: irq/191-dwc3:16979] rndis_command_complete+0x24/0x84 [ 361.904417] [1: irq/191-dwc3:16979] usb_gadget_giveback_request+0x20/0xe4 [ 361.904426] [1: irq/191-dwc3:16979] dwc3_gadget_giveback+0x44/0x60 [ 361.904434] [1: irq/191-dwc3:16979] dwc3_ep0_complete_data+0x1e8/0x3a0 [ 361.904442] [1: irq/191-dwc3:16979] dwc3_ep0_interrupt+0x29c/0x3dc [ 361.904450] [1: irq/191-dwc3:16979] dwc3_process_event_entry+0x78/0x6cc [ 361.904457] [1: irq/191-dwc3:16979] dwc3_process_event_buf+0xa0/0x1ec [ 361.904465] [1: irq/191-dwc3:16979] dwc3_thread_interrupt+0x34/0x5c
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 f6281af9d62e128aa6efad29cf7265062af114f2, before 9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 affected from f6281af9d62e128aa6efad29cf7265062af114f2, before 669c2b178956718407af5631ccbc61c24413f038 affected from f6281af9d62e128aa6efad29cf7265062af114f2, before 9f688aadede6b862a0a898792b1a35421c93636f affected from f6281af9d62e128aa6efad29cf7265062af114f2, before 9ab652d41deab49848673c3dadb57ad338485376 affected from f6281af9d62e128aa6efad29cf7265062af114f2, before 4ce247af3f30078d5b97554f1ae6200a0222c15a affected from f6281af9d62e128aa6efad29cf7265062af114f2, before da514063440b53a27309a4528b726f92c3cfe56f affected from f6281af9d62e128aa6efad29cf7265062af114f2, before 33222d1571d7ce8c1c75f6b488f38968fa93d2d9 affected from f6281af9d62e128aa6efad29cf7265062af114f2, before aaaba1c86d04dac8e49bf508b492f81506257da3
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 4.9.304 up to and including 4.9.* unaffected from 4.14.269 up to and including 4.14.* unaffected from 4.19.232 up to and including 4.19.* unaffected from 5.4.182 up to and including 5.4.* unaffected from 5.10.103 up to and including 5.10.* unaffected from 5.15.26 up to and including 5.15.* unaffected from 5.16.12 up to and including 5.16.* unaffected 5.17 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-2022-48926 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48926
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-2022-48926
trivy image --scanners vuln IMAGE | grep CVE-2022-48926
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/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 git.kernel.org
- https://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038 git.kernel.org
- https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636f git.kernel.org
- https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376 git.kernel.org
- https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15a git.kernel.org
- https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f git.kernel.org
- https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9 git.kernel.org
- https://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3 git.kernel.org
Source: the record CVE-2022-48926 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