CVE-2022-49163

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
26/02/2025
Last modified:
23/09/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> media: imx-jpeg: fix a bug of accessing array out of bounds<br /> <br /> When error occurs in parsing jpeg, the slot isn&amp;#39;t acquired yet, it may<br /> be the default value MXC_MAX_SLOTS.<br /> If the driver access the slot using the incorrect slot number, it will<br /> access array out of bounds.<br /> The result is the driver will change num_domains, which follows<br /> slot_data in struct mxc_jpeg_dev.<br /> Then the driver won&amp;#39;t detach the pm domain at rmmod, which will lead to<br /> kernel panic when trying to insmod again.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.13 (including) 5.15.33 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.19 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.17 (including) 5.17.2 (excluding)