Skip to main content
VulnerabilityPublished Updated

CVE-2025-40311: Linux kernel · accel/habanalabs: support mapping cb with vmalloc-backed coherent memory

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in d1dfe21a332d38a6a09658ec29a55940afb5fe36 : update Linux kernel when convenient.

Data as of 30 Oct 2026, 12:33 UTC

Severity
Unrated

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

  1. Disclosed: evidence found.

    CVE published 8 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < d1dfe21a332d38a6a09658ec29a55940afb5fe36
Fixed in
  • d1dfe21a332d38a6a09658ec29a55940afb5fe36
LinuxLinuxAffected
  • ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 513024d5a0e34fd34247043f1876b6138ca52847
Fixed in
  • 513024d5a0e34fd34247043f1876b6138ca52847
LinuxLinuxAffected
  • ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9
Fixed in
  • 73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9
LinuxLinuxAffected
  • ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 8de421db5b1b2b37e9643ea7f6ade90fd756892d
Fixed in
  • 8de421db5b1b2b37e9643ea7f6ade90fd756892d
LinuxLinuxAffected
  • ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 7ec8ac9f73d4a9438c2186768d6de27ace37531e
Fixed in
  • 7ec8ac9f73d4a9438c2186768d6de27ace37531e
LinuxLinuxAffected
  • =5.8
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

Community reviews

Loading reviews…