Vulnerability in Kernel: media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001141: media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers. Affects Kernel versions < 4eb591c47c82a6a6ad293ed108c3cb77115fbc25. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The media subsystem within the Kernel handles various media-related operations, including image processing and decoding. One of the components in the media subsystem is imx-jpeg, which is responsible for decoding JPEG images on i.MX platforms. However, a vulnerability has been identified in the imx-jpeg component that allows the decoding of NV12M JPEGs into single-planar buffers, potentially leading to memory corruption or other security issues.

Vulnerability Detail

The vulnerability in the imx-jpeg component of the Kernel allows the decoding of NV12M JPEGs into single-planar buffers. This can result in memory corruption or other security issues, as the decoding process may not properly handle the NV12M format. An attacker could exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet, but it is essential to address it to ensure the security and integrity of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is strongly advised to apply the recommended fix by updating the Linux Kernel to the latest version.

Conclusion

The vulnerability in the imx-jpeg component of the Kernel, which allows the decoding of NV12M JPEGs into single-planar buffers, poses a potential risk of memory corruption and other security issues. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.17.2 or later. Applying the recommended fix will ensure that the imx-jpeg component properly handles NV12M JPEGs, enhancing the security and integrity of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows the decoding of NV12M JPEGs into single-planar buffers, which can lead to memory corruption or other security issues. An attacker could potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, and you can upload your manifest file (e.g., package-lock.json) to check if the vulnerability is present.

At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to apply the recommended fix to mitigate the risk of potential exploitation.

The exact attack vector and remote exploitability of this vulnerability have not been proven yet. However, it is always recommended to apply security patches and updates promptly to minimize the risk of remote exploitation.

For more details about this vulnerability, including the specific commit that fixed it, you can refer to the source link provided in the database_specific section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback