CVE-2022-50384

Description

A flaw was found in the Linux kernel's VME subsystem driver. Improper error handling during Direct Memory Access (DMA) list operations fails to remove an entry before releasing it, resulting in a use-after-free condition (accessing memory that has already been deallocated). A local attacker could exploit this flaw to cause a Denial of Service (DoS) via a system crash or potentially execute arbitrary code.

Statement

This issue poses no security risk to Red Hat customers because the vulnerable staging VME subsystem driver is not built or enabled in Red Hat Enterprise Linux kernels. The flaw stems from improper list cleanup during DMA allocation error handling, which would otherwise require access to specialized VME bus hardware. Consequently, default installations remain unaffected.

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.