VDB

CVE-2025-40311

CVE-2025-40311 PUBLISHED

accel/habanalabs: support mapping cb with vmalloc-backed coherent memory

Reported by linux · Published December 8, 2025

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.

EPSS 0.21% · 10.7th percentile

Risk scores

EPSS Score
0.21%
10.7th percentile

Affected products

VendorProductVersions
LinuxLinuxac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399
LinuxLinux5.8, 0, 6.1.191
linuxlinux_kernel5.8, 5.8, 5.8
LinuxLinux*, *, *

Timeline

  • Dec 7, 2025 CVE Published
  • Dec 8, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (166 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (204 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40311
vulnetix vdb fixes CVE-2025-40311

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40311/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›