• 公告ID (KylinSec-SA-2024-2123)

摘要:

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: Add error handling in xhci_map_urb_for_dma

Currently xhci_map_urb_for_dma() creates a temporary buffer and copies
the SG list to the new linear buffer. But if the kzalloc_node() fails,
then the following sg_pcopy_to_buffer() can lead to crash since it
tries to memcpy to NULL pointer.

So return -ENOMEM if kzalloc returns null pointer.

安全等级: Low

公告ID: KylinSec-SA-2024-2123

发布日期: 2024年5月28日

关联CVE: CVE-2024-26964  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: Add error handling in xhci_map_urb_for_dma

Currently xhci_map_urb_for_dma() creates a temporary buffer and copies
the SG list to the new linear buffer. But if the kzalloc_node() fails,
then the following sg_pcopy_to_buffer() can lead to crash since it
tries to memcpy to NULL pointer.

So return -ENOMEM if kzalloc returns null pointer.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-26964 KY3.4-4A kernel Unaffected
CVE-2024-26964 KY3.4-5 kernel Unaffected
CVE-2024-26964 KY3.5.1 kernel Unaffected
CVE-2024-26964 KY3.5.3 kernel Unaffected
CVE-2024-26964 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-2122 下一篇:KylinSec-SA-2024-2124