Review reviewHigh

CVE-2022-49163

Linux Linux, linux kernel

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.

CVSS
7.1
EPSS
0.27%
18.9% percentile
CISA KEV
Not listed
Published
2025.02.26
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.27%
Technical severityCVSS 7.1

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747, >= 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 20c8b90430c5d6c4a3936eaa7c35aac670581487, >= 2db16c6ed72ce644d5639b3ed15e5817442db4ba < e209e6db2e527db6a93b14c2deedf969caca78fc, >= 2db16c6ed72ce644d5639b3ed15e5817442db4ba < 97558d170a1236280407e8d29a7d095d2c2ed554, >= 5.13, >= 5.13 < 5.15.33, >= 5.16 < 5.16.19, >= 5.17 < 5.17.2
Fixed versions
5.15.33, 5.16.19, 5.17.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125
CVE-2022-49163 — Linux Linux, linux kernel | SECUFOCUS NOW