CVE-2022-49952
Description
A flaw was found in the Linux kernel's FastRPC driver. The driver fails to validate the number of sessions defined in the hardware device tree configuration during initialization. Supplying more sessions than the driver supports causes an out-of-bounds write beyond the fixed-size memory array. This flaw can lead to memory corruption, resulting in a system crash and Denial of Service (DoS), or potentially allow arbitrary code execution.
Statement
This vulnerability does not affect supported Red Hat Enterprise Linux distributions as the vulnerable Qualcomm FastRPC driver code is not present in shipped kernel builds. The issue relies on devicetree configurations declaring more sessions than supported by the driver, which is specific to certain Qualcomm hardware architectures and outside typical enterprise deployments. Consequently, Red Hat products do not expose this flaw.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.