Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-46852

published high CVSS 3.1 · 7.8

dma-buf: heaps: Fix off-by-one in CMA heap fault handler

Published
27 Sep 2024, 12:42:45 UTC
Updated
04 Nov 2026, 00:04:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < 79cce5e81d20fa9ad553be439d665ac3302d3c95 · a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < 84175dc5b2c932266a50c04e5ce342c30f817a2f · a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < eb7fc8b65cea22f9038c52398c8b22849e9620ea · a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < e79050882b857c37634baedbdcf7c2047c24cbff · a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < ea5ff5d351b520524019f7ff7f9ce418de2dad87 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.15.168 through 5.15.* (unaffected · semver) · 6.1.111 through 6.1.* (unaffected · semver) · 6.6.52 through 6.6.* (unaffected · semver) · 6.10.11 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.112-1 DSA-5782-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.17.1 SUSE-SU-2024:3986-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.17.1 SUSE-SU-2024:3986-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.17.1 SUSE-SU-2024:3986-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.17.2 SUSE-SU-2024:3984-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.17.2 SUSE-SU-2024:3984-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.17.2 SUSE-SU-2024:3984-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.17.2 SUSE-SU-2024:3984-1
SUSE / openSUSE SLE-15-SP6 kernel-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debugx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debug-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

29

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Exploitation requires local access to the `/dev/dma_heap/<cma-heap>` character device, an ioctl to allocate the buffer, and mmap/mremap/page-fault activity from a local process. No network or physical component is involved. AC:L - The off-by-one is deterministic — allocate a buffer, mmap it at full size, grow it with mremap (unblocked before v6.8), then touch the page at offset `pagecount`. Buffer size is attacker-chosen, so the slab layout used to control the adjacent `struct page *` can be groomed reliably. PR:L - No capability check exists anywhere on the path (`dma_heap_open`/`dma_heap_ioctl_allocate`/`cma_heap_allocate`); only DAC permission on the heap device node is needed, which on the dominant deployment for CMA heaps (Android/embedded ARM) is granted to ordinary unprivileged app and media processes. UI:N - The attacking process performs every step itself — open, ioctl, mmap, mremap, memory access. No victim action or cooperation is required. S:U - The corruption and the resulting privilege gain are entirely within the kernel's own security authority; no VM, IOMMU, or hypervisor boundary is crossed. C:H - Beyond the 8-byte out-of-bounds slab read, the handler installs the forged `struct page` into the faulting process's page tables, giving userspace a direct read mapping of an arbitrary physical page — arbitrary kernel and cross-process memory disclosure. I:H - The VMA is `MAP_SHARED` with no `page_mkwrite`, so `finish_fault()` installs a writable PTE for the arbitrary page, yielding an arbitrary physical-memory write; `get_page()` additionally increments a refcount at an attacker-influenced address. Both are readily leveraged into control-flow hijack and root. A:H - Dereferencing an out-of-bounds `struct page *` and inserting a bogus PFN into a mapping causes oops/panic and refcount corruption of unrelated pages, and the attacker can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < 79cce5e81d20fa9ad553be439d665ac3302d3c95 (affected · git)a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < 84175dc5b2c932266a50c04e5ce342c30f817a2f (affected · git)a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < eb7fc8b65cea22f9038c52398c8b22849e9620ea (affected · git)a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < e79050882b857c37634baedbdcf7c2047c24cbff (affected · git)a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 to < ea5ff5d351b520524019f7ff7f9ce418de2dad87 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)5.15.168 through 5.15.* (unaffected · semver)6.1.111 through 6.1.* (unaffected · semver)6.6.52 through 6.6.* (unaffected · semver)6.10.11 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

dma-buf: heaps: Fix off-by-one in CMA heap fault handler

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
27b463fb84cee170dc643ebe648986caad4e8358aa7a3c6e0f55c3fd7082c986
Ingested
04 Nov 2026, 00:11:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected