CVE-2025-40311accel/habanalabs: support mapping cb with vmalloc-backed coherent memory
- —Not scoredno CVSS score yet
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: accel/habanalabs: support mapping cb with vmalloc-backed coherent memory When IOMMU is enabled, dma_alloc_coherent() with GFP_USER may return addresses from the vmalloc range. If such an address is mapped without VM_MIXEDMAP, vm_insert_page() will trigger a BUG_ON due to the VM_PFNMAP restriction. Fix this by checking for vmalloc addresses and setting VM_MIXEDMAP in the VMA before mapping. This ensures safe mapping and avoids kernel crashes. The memory is still driver-allocated and cannot be accessed directly by userspace.
Timeline
ID reserved
By Linux
- 8 months later
· 8 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 – < 8de421db5b1b2b37e9643ea7f6ade90fd756892d
- affected ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 – < 7ec8ac9f73d4a9438c2186768d6de27ace37531e
- affected ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 – < d1dfe21a332d38a6a09658ec29a55940afb5fe36
- affected ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 – < 73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9
- affected ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 – < 513024d5a0e34fd34247043f1876b6138ca52847
- affected 5.8
- unaffected < 5.8
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.117 – ≤ 6.6.*
- unaffected 6.12.58 – ≤ 6.12.*
- unaffected 6.17.8 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/8de421db5b1b2b37e9643ea7f6ade90fd756892d (opens in a new tab)
- https://git.kernel.org/stable/c/7ec8ac9f73d4a9438c2186768d6de27ace37531e (opens in a new tab)
- https://git.kernel.org/stable/c/d1dfe21a332d38a6a09658ec29a55940afb5fe36 (opens in a new tab)
- https://git.kernel.org/stable/c/73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9 (opens in a new tab)
- https://git.kernel.org/stable/c/513024d5a0e34fd34247043f1876b6138ca52847 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-201634 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40311)Record last updated .