CVE-2022-50378

Description

A flaw was found in the Linux kernel's Amlogic Meson display driver. An incorrect resource cleanup sequence when unloading or unbinding the driver allows already deallocated memory to be accessed, resulting in a use-after-free condition. A local user with administrative privileges could trigger this flaw to execute arbitrary code or cause a Denial of Service (DoS) by crashing the system.

Statement

This vulnerability does not affect Red Hat Enterprise Linux or other Red Hat products because the Amlogic Meson display driver is not compiled or distributed in Red Hat kernels. The issue is confined to a memory deallocation ordering bug triggered exclusively during teardown of this specific driver on systems equipped with the relevant ARM system-on-chip hardware. Furthermore, triggering module unloading requires elevated administrative privileges.

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.