CVE-2026-72095 in Linux信息

摘要

由 VulDB • 2026-08-15

在 Linux 内核中,已修复以下漏洞:

dma-fence: 使 dma_fence_dedup_array() 能够健壮地处理计数为 0 的输入

当使用 num_fences == 0 调用时,dma_fence_dedup_array() 返回 1:for 循环体从未执行,j 保持为 0,最终的 `return ++j` 产生值 1。这与内核文档(“返回值:数组中剩余的唯一 fence 数量”)以及自然预期(输入为 0 时输出应为 0)相矛盾。

调用方 __dma_fence_unwrap_merge() 通过快速路径 `if (count == 0 || count == 1)` 退出,因此是安全的。

但是,amdgpu_userq_wait_*() 可能在局部计数为零的情况下到达去重调用点,并解引用数组中未初始化的 fence 槽位。

通过提前返回 0 使函数契约与文档保持一致。这也避免了在空数组上执行不必要的 sort() 调用。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Want to know what is going to be exploited?

We predict KEV entries!