CVE-2022-49163 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: fix a bug of accessing array out of bounds When error occurs in parsing jpeg, the slot isn't acquired yet, it may be the default value MXC_MAX_SLOTS. If the driver access the slot using the incorrect slot number, it will access array out of bounds. The result is the driver will change num_domains, which follows slot_data in struct mxc_jpeg_dev. Then the driver won't detach the pm domain at rmmod, which will lead to kernel panic when trying to insmod again.
A vulnerability in the Linux kernel's IMX JPEG media component allows for out-of-bounds array access. This issue arises when an error occurs while parsing JPEG files, leading to the use of an incorrect slot number. As a result, the driver modifies the 'num_domains' parameter, which is linked to 'slot_data' in the 'mxc_jpeg_dev' structure. This improper handling prevents the driver from detaching the power management domain during module removal, causing a kernel panic when attempting to reload the module.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747 | kernel.org | Patch |
| https://git.kernel.org/stable/c/20c8b90430c5d6c4a3936eaa7c35aac670581487 | kernel.org | Patch |
| https://git.kernel.org/stable/c/97558d170a1236280407e8d29a7d095d2c2ed554 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e209e6db2e527db6a93b14c2deedf969caca78fc | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.13, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Sep 23, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |