usb:gadget:rndis:为 rndis 响应列表添加自旋锁(CVE-2022-48926)

admin 2024-08-22 23:56:53 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
usb:gadget:rndis:为 rndis 响应列表添加自旋锁(CVE-2022-48926)

CVE编号

CVE-2022-48926

利用情况

暂无

补丁情况

N/A

披露时间

2024-08-22
漏洞描述
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
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/33222d1571d7ce8c1c75f6b488f38968fa93d2d9
https://git.kernel.org/stable/c/4ce247af3f30078d5b97554f1ae6200a0222c15a
https://git.kernel.org/stable/c/669c2b178956718407af5631ccbc61c24413f038
https://git.kernel.org/stable/c/9ab652d41deab49848673c3dadb57ad338485376
https://git.kernel.org/stable/c/9f5d8ba538ef81cd86ea587ca3f8c77e26bea405
https://git.kernel.org/stable/c/9f688aadede6b862a0a898792b1a35421c93636f
https://git.kernel.org/stable/c/aaaba1c86d04dac8e49bf508b492f81506257da3
https://git.kernel.org/stable/c/da514063440b53a27309a4528b726f92c3cfe56f
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0