CVE-2025-38596
Description
A flaw was found in the Linux kernel's Panthor GPU driver. Improper lifecycle management allows a GPU buffer object to be accessed after it has already been freed during debug file system tracking. A local authenticated attacker could exploit this use-after-free condition to escalate privileges or crash the system, resulting in a denial of service (DoS).
Statement
This vulnerability does not affect supported Red Hat Enterprise Linux releases because the vulnerable Panthor DRM driver code is not included in shipped kernels. The defect stems from improper object lifecycle management during debugfs tracking for GPU buffer objects, which only exists in newer upstream kernel releases. As a result, enterprise deployments running Red Hat kernels do not face security exposure from this flaw.
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.