CyberSecBulletin
CVE-2022-50182NVD status: Modified

Linux: Out-of-bounds Read

CVE-2022-50182 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 9ae2d729de6350c53a06c57782751d84eb2c08d9, 73d1836ed7911953182b787745cb8c5857a2661c, 447795ffb17cd60bb544e0abfc9399e180a14a2f 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 9ae2d729de6350c53a06c57782751d84eb2c08d9 or 73d1836ed7911953182b787745cb8c5857a2661c or 447795ffb17cd60bb544e0abfc9399e180a14a2f or 9e7aa76cdb02923ee23a0ddd48f38bdc3512f92b, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.15.61 or 5.18.18 or 5.19.2, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 9ae2d729de6350c53a06c57782751d84eb2c08d9; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 73d1836ed7911953182b787745cb8c5857a2661c; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 447795ffb17cd60bb544e0abfc9399e180a14a2f; 2db16c6ed72ce644d5639b3ed15e5817442db4ba up to, but not including, 9e7aa76cdb02923ee23a0ddd48f38bdc3512f92b; 5.139ae2d729de6350c53a06c57782751d84eb2c08d9, 73d1836ed7911953182b787745cb8c5857a2661c, 447795ffb17cd60bb544e0abfc9399e180a14a2f, 9e7aa76cdb02923ee23a0ddd48f38bdc3512f92b
LinuxLinux Kernel5.13 up to, but not including, 5.15.61; 5.16 up to, but not including, 5.18.18; 5.19 up to, but not including, 5.19.25.15.61, 5.18.18, 5.19.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.8HighCNA
CVSS 3.17.1HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: media: imx-jpeg: Align upwards buffer size The hardware can support any image size WxH, with arbitrary W (image width) and H (image height) dimensions. Align upwards buffer size for both encoder and decoder. and leave the picture resolution unchanged. For decoder, the risk of memory out of bounds can be avoided. For both encoder and decoder, the driver will lift the limitation of resolution alignment. For example, the decoder can support jpeg whose resolution is 227x149 the encoder can support nv12 1080P, won't change it to 1920x1072.

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.