CVE-2025-38722
Description
A flaw was found in the Linux kernel's Habana Labs accelerator driver. This flaw allows a local user with access to the accelerator device to cause a Denial of Service (DoS) or potentially escalate privileges on the system. By triggering a race condition during memory buffer export operations, the driver can access memory objects after they have already been released, leading to a use-after-free condition.
Statement
This vulnerability does not affect Red Hat Enterprise Linux because the Habana Labs dma-buf export functionality was never introduced into supported kernels. Upstream, exploitation requires local privileges to interact with the accelerator device and trigger a race condition during memory descriptor registration. Because the vulnerable implementation is absent from Red Hat distributions, typical deployments present no security exposure.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.