CVE-2022-50417

Description

A flaw was found in the Linux kernel's Panfrost graphics driver. Improper reference counting during graphics buffer object creation allows memory to be prematurely released while still referenced by the system. A local unprivileged attacker could exploit this use-after-free flaw to escalate privileges or cause a system crash resulting in a denial of service (DoS).

Statement

This vulnerability does not affect Red Hat Enterprise Linux or related distributions because the Panfrost DRM graphics driver is not enabled or present in supported Red Hat kernels. In upstream environments with supported ARM Mali hardware, this flaw could allow a local unprivileged attacker to induce a use-after-free condition via improper buffer object reference counting, potentially causing a system crash or privilege escalation. Because the vulnerable code is not included in Red Hat enterprise products, supported systems are not exposed to this risk.

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

Want to get errata notifications? Sign up here.