CVE-2025-40172 (CNNVD-202511-1435)
中文标题:
Linux kernel 安全漏洞
英文标题:
accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages()
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于find_and_map_user_pages函数未正确处理零长度请求,可能导致空指针解引用。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages() Currently, if find_and_map_user_pages() takes a DMA xfer request from the user with a length field set to 0, or in a rare case, the host receives QAIC_TRANS_DMA_XFER_CONT from the device where resources->xferred_dma_size is equal to the requested transaction size, the function will return 0 before allocating an sgt or setting the fields of the dma_xfer struct. In that case, encode_addr_size_pairs() will try to access the sgt which will lead to a general protection fault. Return an EINVAL in case the user provides a zero-sized ALP, or the device requests continuation after all of the bytes have been transferred.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | d410a96e5cb8c1ec7049c83f2edcd8bbfaf5d9b3 | - | - |
cpe:2.3:a:linux:linux:d410a96e5cb8c1ec7049c83f2edcd8bbfaf5d9b3:*:*:*:*:*:*:*
|
| Linux | Linux | 6.5 | - | - |
cpe:2.3:a:linux:linux:6.5:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-40172 |
2025-12-03 03:24:31 | 2026-01-12 02:11:44 |
| NVD | nvd_CVE-2025-40172 |
2025-11-14 03:00:08 | 2026-01-12 02:27:46 |
| CNNVD | cnnvd_CNNVD-202511-1435 |
2026-01-15 01:52:30 | 2026-01-15 01:52:58 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202511-1435
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']