7.8
HIGH
CVE-2022-48926
DWC3 Linux USB gadget RNDIS Response List Corruption Vulnerability
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

INFO

Published Date :

Aug. 22, 2024, 4:15 a.m.

Last Modified :

Aug. 23, 2024, 2:05 a.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-48926 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-48926 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-48926 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 23, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9 No Types Assigned https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15a No Types Assigned https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15a Patch
    Changed Reference Type https://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038 No Types Assigned https://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038 Patch
    Changed Reference Type https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376 No Types Assigned https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376 Patch
    Changed Reference Type https://git.kernel.org/stable/c/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 No Types Assigned https://git.kernel.org/stable/c/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 Patch
    Changed Reference Type https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636f No Types Assigned https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636f Patch
    Changed Reference Type https://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3 No Types Assigned https://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3 Patch
    Changed Reference Type https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f No Types Assigned https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f Patch
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.6 up to (excluding) 4.9.304 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.269 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.232 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.182 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.103 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.26 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.12
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 22, 2024

    Action Type Old Value New Value
    Added 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
    Added Reference kernel.org https://git.kernel.org/stable/c/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636f [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-48926 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-48926 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability