目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-99164— imx SPI 驱动因 DMA 缓冲区过小导致内存损坏漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

在 Linux 内核中,以下漏洞已被修复: spi: imx:修复因 DMA 回退缓冲区尺寸不足导致的 slab 内存损坏问题 自提交 faa8e404ad8e("spi: imx: 为 ECSPI DMA 模式支持动态突发长度”)以来,该驱动程序使用 kzalloc(dma_len) 分配其私有的 DMA 发送/接收缓冲区,其中 dma_len 仅向上对齐到 4 字节;然而,在映射、同步和取消映射这些缓冲区时,却使用了 DMA_CACHE_ALIGNED_LEN(dma_len),即向上对齐到缓存行大小。这导致

AI 预测 7.8 利用难度: 困难

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux faa8e404ad8e686cb98c51dc507fdcacfb8020ce< 2777f6637da02da84c9c1ff92f413ce0f0995084 affected
faa8e404ad8e686cb98c51dc507fdcacfb8020ce< 59eb22641f0c526dd064390b11cff99ae87c2858 affected
7.0 affected
< 7.0 unaffected
7.2.13≤ 7.2.* unaffected
7.3≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-99164 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
spi: imx: fix slab corruption from undersized DMA bounce buffers
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: spi: imx: fix slab corruption from undersized DMA bounce buffers Since commit faa8e404ad8e ("spi: imx: support dynamic burst length for ECSPI DMA mode"), the driver allocates its private DMA TX/RX buffers with kzalloc(dma_len), where dma_len is only rounded up to 4 bytes, but maps, syncs and unmaps them with DMA_CACHE_ALIGNED_LEN(dma_len), i.e. rounded up to the cache line size. As a result, the DMA API operates on memory beyond the end of the allocation. This was observed on a custom i.MX8MP platform with an mcp251xfd CAN controller under heavy RPMSG load, as a series of refcount_t warnings triggered from rpmsg_recv_done() in virtio_rpmsg_bus: refcount_t: addition on 0; use-after-free. refcount_t: underflow; use-after-free. refcount_t: saturated; leaking memory. Leading finally to an "Unable to handle kernel paging request" oops. Reproducing this problem took between 30 minutes and roughly 30 hours under the same workload. Hardware watchpoints on the refcount of a struct rpmsg_endpoint showed it was overwritten from 2 to 1 by __pi_memcpy_generic() in the irq/155-spi2.0 thread. Additionally it was found that a "normal" rpmsg_recv_done() took 11µs +/-2µs from its kref_get to kref_put. In the error case the same sequence took about 215µs +/-10µs. Based on this, an LLM was used to identify the size mismatch fixed here. Allocate the buffers with DMA_CACHE_ALIGNED_LEN(dma_len) so they cover the full mapped length, and use the same length for dma_sync_single_for_cpu() to stay consistent with map and unmap. With this patch applied, the same workload ran for more than 200 hours without the problem reproducing.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux faa8e404ad8e686cb98c51dc507fdcacfb8020ce ~ 2777f6637da02da84c9c1ff92f413ce0f0995084 -
Linux Linux 7.0 -

二、漏洞 CVE-2026-99164 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-99164 的情报信息

请登录查看更多情报信息。

CVE-2026-99164 补丁与修复 (2)

同批安全公告 · Linux · 2026-10-28 · 共 117 条

CVE-2026-99143 Linux 内核 tracing 组件越界访问漏洞
CVE-2026-99129 SELinux BPF 令牌权限检查漏洞
CVE-2026-99130 Linux io_uring 拒绝服务漏洞
CVE-2026-99131 XFS 文件系统权限检查绕过漏洞
CVE-2026-99133 Linux 内核网络 IUCV 远程拒绝服务漏洞
CVE-2026-99132 XFS xfs_sync_sb_buf 缓冲区锁竞争漏洞
CVE-2026-99134 mac802154 数据竞争与空指针解引用漏洞
CVE-2026-99135 dm-integrity 大标签丢弃无限循环漏洞
CVE-2026-99137 CIFS 文件系统在无缓存句柄时更新 i_size 存在漏洞
CVE-2026-99136 dm-crypt 竞态条件漏洞
CVE-2026-99138 Linux TCP 协议栈 use-after-free 漏洞
CVE-2026-99140 tracing 模块缓冲区事件时间戳修复
CVE-2026-99139 TCP 协议栈 TCP_CONGESTION 选项后释放漏洞
CVE-2026-99141 内核 tracing 模块 print_graph_function_event 崩溃漏洞
CVE-2026-99142 Tracing 组件栈容量检查缺失漏洞
CVE-2026-99154 libiscsi 负任务索引拒绝漏洞
CVE-2026-99151 AMD Display 驱动 NULL 指针解引用漏洞
CVE-2026-99153 libiscsi 拒绝 PDU 验证逻辑漏洞
CVE-2026-99152 libiscsi 管理响应任务验证绕过漏洞
CVE-2026-99150 amdgpu 驱动程序资源管理漏洞

显示前 20 条,共 117 条。 查看全部 &rarr; →

IV. Related Vulnerabilities