CVE-2022-50145
Description
A flaw was found in the Linux kernel's SiFive Platform Direct Memory Access (DMA) driver. A race condition occurs when multiple execution threads concurrently utilize the same DMA channel, causing channel descriptors to be overwritten or prematurely freed. A local attacker could exploit this flaw to trigger a system crash, resulting in a Denial of Service (DoS).
Statement
This vulnerability does not affect Red Hat Enterprise Linux or other Red Hat products because the SiFive Platform DMA (sf-pdma) driver is not enabled or compiled into supported kernels. The issue stems from a multithreading race condition in driver channel descriptor management that could result in a system crash on architectures supporting this specific hardware. As the vulnerable driver is not present in Red Hat shipments, Red Hat customers are not at risk.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
Integrity,Confidentiality
Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory
In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.