CVE-2022-50182
Description
A flaw was found in the Linux kernel's NXP i.MX JPEG driver. A local user can cause a Denial of Service (DoS) or memory corruption by submitting images with arbitrary dimensions. Because the decoder does not properly align buffer sizes upward to match the hardware's requirements, processing unaligned images can trigger an out-of-bounds memory access and crash the system.
Statement
This vulnerability poses minimal risk to Red Hat customers because the affected NXP i.MX JPEG hardware accelerator driver is not built or enabled in supported Red Hat Enterprise Linux kernels. Furthermore, exploitation requires local access and physical presence of specialized NXP multimedia processing hardware that is absent from typical server environments. Consequently, Red Hat products are not affected by this memory handling issue.
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.