CVE-2025-40311: Linux kernel · accel/habanalabs: support mapping cb with vmalloc-backed coherent memory
Source GCVE Database
Not known to be exploited · fixed in d1dfe21a332d38a6a09658ec29a55940afb5fe36 : update Linux kernel when convenient.
Data as of 30 Oct 2026, 16:33 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in d1dfe21a332d38a6a09658ec29a55940afb5fe36, 513024d5a0e34fd34247043f1876b6138ca52847, 73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9 +2
Exploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40311 (opens in a new tab)
- git.kernel.org/stable/c/513024d5a0e34fd34247043f1876b6138ca52847 (opens in a new tab)
- git.kernel.org/stable/c/73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9 (opens in a new tab)
- git.kernel.org/stable/c/7ec8ac9f73d4a9438c2186768d6de27ace37531e (opens in a new tab)
- git.kernel.org/stable/c/8de421db5b1b2b37e9643ea7f6ade90fd756892d (opens in a new tab)
- git.kernel.org/stable/c/d1dfe21a332d38a6a09658ec29a55940afb5fe36 (opens in a new tab)