CVE-2022-48926
published 2024-08-22CVE-2022-48926: 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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.22%
12.5th percentile
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
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.12-1 (bookworm) | linux 5.16.12-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 | 9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 669c2b178956718407af5631ccbc61c24413f038 | 669c2b178956718407af5631ccbc61c24413f038 |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 9f688aadede6b862a0a898792b1a35421c93636f | 9f688aadede6b862a0a898792b1a35421c93636f |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 9ab652d41deab49848673c3dadb57ad338485376 | 9ab652d41deab49848673c3dadb57ad338485376 |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 4ce247af3f30078d5b97554f1ae6200a0222c15a | 4ce247af3f30078d5b97554f1ae6200a0222c15a |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < da514063440b53a27309a4528b726f92c3cfe56f | da514063440b53a27309a4528b726f92c3cfe56f |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < 33222d1571d7ce8c1c75f6b488f38968fa93d2d9 | 33222d1571d7ce8c1c75f6b488f38968fa93d2d9 |
| linux | linux | >= f6281af9d62e128aa6efad29cf7265062af114f2 < aaaba1c86d04dac8e49bf508b492f81506257da3 | aaaba1c86d04dac8e49bf508b492f81506257da3 |
| linux | linux_kernel | >= 0 < 5.10.103-1 | 5.10.103-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 0 < 5.16.12-1 | 5.16.12-1 |
| linux | linux_kernel | >= 4.10 < 4.14.269 | 4.14.269 |
| linux | linux_kernel | >= 4.15 < 4.19.232 | 4.19.232 |
| linux | linux_kernel | >= 4.20 < 5.4.182 | 5.4.182 |
| linux | linux_kernel | >= 4.6 < 4.9.304 | 4.9.304 |
| linux | linux_kernel | >= 5.11 < 5.15.26 | 5.15.26 |
| linux | linux_kernel | >= 5.16 < 5.16.12 | 5.16.12 |
| linux | linux_kernel | >= 5.5 < 5.10.103 | 5.10.103 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-gc88-hrfw-f9hq: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: rndis: add spinlock for rndis response list
There's no lock for rnd
ghsa_unreviewed·2024-08-22
CVE-2022-48926 [HIGH] GHSA-gc88-hrfw-f9hq: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: rndis: add spinlock for rndis response list
There's no lock for rnd
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
OSV
CVE-2022-48926: 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
osv·2024-08-22·CVSS 7.8
CVE-2022-48926 [HIGH] CVE-2022-48926: 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
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+0x2
Red Hat
kernel: usb: gadget: rndis: add spinlock for rndis response list
vendor_redhat·2024-08-22·CVSS 7.8
CVE-2022-48926 [HIGH] CWE-414 kernel: usb: gadget: rndis: add spinlock for rndis response list
kernel: usb: gadget: rndis: add spinlock for rndis response list
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/0x8c
Debian
CVE-2022-48926: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
vendor_debian·2022·CVSS 7.8
CVE-2022-48926 [HIGH] CVE-2022-48926: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
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+0x2
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15ahttps://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376https://git.kernel.org/stable/c/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636fhttps://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f
2024-08-22
Published