CVE-2024-46852: dma-buf: heaps: Fix off-by-one in CMA heap fault handler
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.21% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 79cce5e81d20fa9ad553be439d665ac3302d3c95, 84175dc5b2c932266a50c04e5ce342c30f817a2f, e79050882b857c37634baedbdcf7c2047c24cbff; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 79cce5e81d20fa9ad553be439d665ac3302d3c95, 84175dc5b2c932266a50c04e5ce342c30f817a2f, e79050882b857c37634baedbdcf7c2047c24cbff; Azure Linux 3.0 ARM 6.6.56.1-5; Azure Linux 3.0 x64 6.6.56.1-5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 27, 2024
- Updated
- Nov 3, 2026
- EPSS
- 0.2% · 12th percentile
- CWE
- CWE-193
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.11 and later · before 5.15.168
- linux linux kernel5.16 and later · before 6.1.111
- linux linux kernel6.2 and later · before 6.6.52
- linux linux kernel6.7 and later · before 6.10.11
- linux linux kernel6.11
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.11affected
- a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 and later · before 79cce5e81d20fa9ad553be439d665ac3302d3c95affected · git
- a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 and later · before 84175dc5b2c932266a50c04e5ce342c30f817a2faffected · git
- a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 and later · before eb7fc8b65cea22f9038c52398c8b22849e9620eaaffected · git
- a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 and later · before e79050882b857c37634baedbdcf7c2047c24cbffaffected · git
- a5d2d29e24be8967ef78a1b1fb2292413e3b3df9 and later · before ea5ff5d351b520524019f7ff7f9ce418de2dad87affected · git
- before 5.11not affected · semver
- 5.15.168 and later · up to and including 5.15.*not affected · semver
- 6.1.111 and later · up to and including 6.1.*not affected · semver
- 6.6.52 and later · up to and including 6.6.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.112-1 | 6.1.112-1 |
| Debian:13 | linux | before 6.10.11-1 | 6.10.11-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-46834Sep 27, 2024 · ethtool: fail closed if we can't get max channel used in indirection tables22Monitor
- ← EarlierCVE-2024-46842Sep 27, 2024 · scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info22Monitor
- Later →CVE-2024-46854Sep 27, 2024 · net: dpaa: Pad packets to ETH_ZLEN28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 79cce5e81d20fa9ad553be439d665ac3302d3c95 | Vendor (CNA) |
| Linux Linux | 84175dc5b2c932266a50c04e5ce342c30f817a2f | Vendor (CNA) |
| Linux Linux | e79050882b857c37634baedbdcf7c2047c24cbff | Vendor (CNA) |
| Linux Linux | ea5ff5d351b520524019f7ff7f9ce418de2dad87 | Vendor (CNA) |
| Linux Linux | eb7fc8b65cea22f9038c52398c8b22849e9620ea | Vendor (CNA) |
| Azure Linux 3.0 ARM | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 6.6.56.1-5 · kernel | Microsoft (MSRC) |
| debian:linux | 6.1.112-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2023-38429438 days apartAn issue was discovered in the Linux kernel before 6.3.4.39Monitor
- CVE-2024-4768224 days apartscsi: sd: Fix off-by-one error in sd_read_block_characteristics()31Monitor
- CVE-2024-4988024 days apartext4: fix off by one issue in alloc_flex_gd()31Monitor
- CVE-2024-4385241 days aparthwmon: (ltc2991) re-order conditions to fix off by one bug31Monitor
- CVE-2022-4873299 days apartdrm/nouveau: fix off by one in BIOS boundary checking31Monitor
- CVE-2022-48672147 days apartof: fdt: fix off-by-one error in unflatten_dt_nodes()31Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1564 · Sep 30, 2024(Linux Kernel Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-193 · Off-by-one ErrorCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- git.kernel.org/stable/c/84175dc5b2c932266a50c04e5ce342c30f817a2f
- git.kernel.org/stable/c/e79050882b857c37634baedbdcf7c2047c24cbff
- git.kernel.org/stable/c/ea5ff5d351b520524019f7ff7f9ce418de2dad87
- git.kernel.org/stable/c/eb7fc8b65cea22f9038c52398c8b22849e9620ea
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.