CyberSecBulletin
CVE-2022-49163NVD status: Modified

Linux: Out-of-bounds Read

CVE-2022-49163 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747, 20c8b90430c5d6c4a3936eaa7c35aac670581487, e209e6db2e527db6a93b14c2deedf969caca78fc as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.27% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747 or 20c8b90430c5d6c4a3936eaa7c35aac670581487 or e209e6db2e527db6a93b14c2deedf969caca78fc or 97558d170a1236280407e8d29a7d095d2c2ed554, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.15.33 or 5.16.19 or 5.17.2, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 20c8b90430c5d6c4a3936eaa7c35aac670581487; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, e209e6db2e527db6a93b14c2deedf969caca78fc; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 97558d170a1236280407e8d29a7d095d2c2ed554; 5.1302f9f97d54ffc85b50ad77f5b1f3c8f69cd17747, 20c8b90430c5d6c4a3936eaa7c35aac670581487, e209e6db2e527db6a93b14c2deedf969caca78fc, 97558d170a1236280407e8d29a7d095d2c2ed554
LinuxLinux Kernel5.13 up to, but not including, 5.15.33; 5.16 up to, but not including, 5.16.19; 5.17 up to, but not including, 5.17.25.15.33, 5.16.19, 5.17.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.1HighCNA
CVSS 3.17.1HighNVD

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.