一、 漏洞 CVE-2024-50295 基础信息
漏洞信息
                                        # 网络:arc:修正设备的dma_map_single/dma_unmap_single

## 概述
在Linux内核中,修复了与`dma_map_single`和`dma_unmap_single`相关的设备问题。`ndev->dev`和`pdev->dev`并非同一个设备,应使用`ndev->dev.parent`,因为`ndev->dev.parent`具有`dma_mask`且等同于`pdev->dev`。

## 影响版本
未指定具体影响版本。

## 细节
`ndev->dev`与`pdev->dev`设备对象不一致,需使用`ndev->dev.parent`来正确处理DMA映射。未正确处理可能导致警告错误,例如:
```
[   39.933526] ------------[ cut here ]------------
[   39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8
```

## 影响
如果未正确处理DMA映射设备,可能导致系统警告,影响系统稳定性和性能。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
net: arc: fix the device for dma_map_single/dma_unmap_single
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: net: arc: fix the device for dma_map_single/dma_unmap_single The ndev->dev and pdev->dev aren't the same device, use ndev->dev.parent which has dma_mask, ndev->dev.parent is just pdev->dev. Or it would cause the following issue: [ 39.933526] ------------[ cut here ]------------ [ 39.938414] WARNING: CPU: 1 PID: 501 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x90/0x1f8
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞。目前尚无此漏洞的相关信息,请随时关注CNNVD或厂商公告。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2024-50295 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2024-50295 的情报信息
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: net: arc: fix the device for dma_map_single/dma_unmap_single - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2024-50295
四、漏洞 CVE-2024-50295 的评论

暂无评论


发表评论