CVE-2022-50240

Description

A flaw was found in the Android Binder driver within the Linux kernel. A race condition between memory unmapping operations and internal buffer management allows access to already freed memory, resulting in a use-after-free flaw. A local attacker can exploit this issue during concurrent memory operations to crash the system, leading to a Denial of Service (DoS), or potentially execute arbitrary code.

Statement

Red Hat Enterprise Linux is not affected by this vulnerability because the Android Binder IPC driver is not enabled in supported Red Hat kernels. The flaw stems from a memory management race condition within the Android Binder subsystem when deallocating virtual memory areas, which could lead to a use-after-free scenario. Because this driver is not compiled into Red Hat enterprise kernel packages, systems running Red Hat Enterprise Linux are not exposed to this issue.

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.