CVE-2025-40311

Kernel crash via unmarked vmalloc command-buffer mapping

Published Dec 8, 2025 · Updated May 11, 2026

Denial of service in the Linux kernel Habanalabs driver allows local users to crash the kernel by mapping a command buffer. The Gaudi and Gaudi2 mmap paths pass vmalloc-backed coherent memory to vm_insert_page without marking the VMA as VM_MIXEDMAP, triggering a BUG_ON under VM_PFNMAP. Reachability requires Habanalabs accelerator hardware, an enabled IOMMU, and local access able to request the driver mapping; the reported consequence is a kernel crash, not access to driver-allocated memory.

CVSS severity5.5
Medium
EPSS probability0.19%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Denial of service in the Linux kernel Habanalabs driver allows local users to crash the kernel by mapping a command buffer. The Gaudi and Gaudi2 mmap paths pass vmalloc-backed coherent memory to vm_insert_page without marking the VMA as VM_MIXEDMAP, triggering a BUG_ON under VM_PFNMAP. Reachability requires Habanalabs accelerator hardware, an enabled IOMMU, and local access able to request the driver mapping; the reported consequence is a kernel crash, not access to driver-allocated memory.

The record

CVE
CVE-2025-40311
Published
Dec 8, 2025
Updated
May 11, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Dec 8, 2025CVE publishedPublication date reported by the CVE source.
  2. May 11, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=5.8
  2. Affected versionversion=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <513024d5a0e34fd34247043f1876b6138ca52847
  3. Affected versionversion=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9
  4. Affected versionversion=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <7ec8ac9f73d4a9438c2186768d6de27ace37531e
  5. Affected versionversion=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <d1dfe21a332d38a6a09658ec29a55940afb5fe36

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=5.8; version=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <513024d5a0e34fd34247043f1876b6138ca52847; version=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <73c7c2cdb442fc4160d2a2a4bfffbd162af06cb9; version=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <7ec8ac9f73d4a9438c2186768d6de27ace37531e; version=ac0ae6a96aa58eeba4aed97b12ef1dea8c5bf399 <d1dfe21a332d38a6a09658ec29a55940afb5fe36

Published CVSS scores

5.5Amazon LinuxCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

T1499.004Application or System Exploitation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo