2084AI 安全观察

CVE

CVE-2024-46852

CVE-2024-46852HIGH 7.8EPSS 12%

CNA 原文 · 原文(英文)

In the Linux kernel, the following vulnerability has been resolved: dma-buf: heaps: Fix off-by-one in CMA heap fault handler Until VM_DONTEXPAND was added in commit 1c1914d6e8c6 ("dma-buf: heaps: Don't track CMA dma-buf pages under RssFile") it was possible to obtain a mapping larger than the buffer size via mremap and bypass the overflow check in dma_buf_mmap_internal. When using such a mapping to attempt to fault past the end of the buffer, the CMA heap fault handler also checks the fault offset against the buffer size, but gets the boundary wrong by 1. Fix the boundary check so that we don't read off the end of the pages array and insert an arbitrary page in the mapping.

受影响版本

Linux kernel 的全部漏洞 →

  • 6.11-rc7仅此版本
  • 6.11-rc6仅此版本
  • 6.11-rc5仅此版本
  • 6.11-rc4仅此版本
  • 6.11-rc3仅此版本
  • 6.11-rc2仅此版本
  • 6.11-rc1仅此版本
  • ≥ 6.7, < 6.10.11修复版本 6.10.11
  • ≥ 6.2, < 6.6.52修复版本 6.6.52
  • ≥ 5.16, < 6.1.111修复版本 6.1.111
  • ≥ 5.11, < 5.15.168修复版本 5.15.168

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。