5.7

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

Deferred
AliasesUBUNTU-CVE-2025-40311DEBIAN-CVE-2025-40311
Published 08-12-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-40311 is a medium (CVSS 5.7) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.7/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 30 · Related 28

Timeline

  1. 08-12-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu154 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.63-1 | < 6.17.8-1
Linux1 product
  • linux≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 8de421db5b1b2b37e9643ea7f6ade90fd756892d | ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 7ec8ac9f73d4a9438c2186768d6de27ace37531e | ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < d1dfe21a332d38a6a09658ec29a55940afb5fe36 | ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9 | ≥ ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399, < 513024d5a0e34fd34247043f1876b6138ca52847 | 5.8

3 vendors · 156 products

References

25 links
Show all 25 references