CyberSecBulletin
CVE-2022-49032NVD status: Analyzed

Linux: Out-of-bounds Read

CVE-2022-49032 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 68de7da092f38395dde523f2e5db26eba6c23e28, 113c08030a89aaf406f8a1d4549d758a67c2afba, f5575041ec15310bdc50c42b8b22118cc900226e 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.24% 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 68de7da092f38395dde523f2e5db26eba6c23e28 or 113c08030a89aaf406f8a1d4549d758a67c2afba or f5575041ec15310bdc50c42b8b22118cc900226e or 3f566b626029ca8598d48e5074e56bb37399ca1b, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 4.9.335 or 4.14.301 or 4.19.268 or 5.4.226, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinuxb36e8257641a043764c62240316610c81e36376c up to, but not including, 68de7da092f38395dde523f2e5db26eba6c23e28; b36e8257641a043764c62240316610c81e36376c up to, but not including, 113c08030a89aaf406f8a1d4549d758a67c2afba; b36e8257641a043764c62240316610c81e36376c up to, but not including, f5575041ec15310bdc50c42b8b22118cc900226e; b36e8257641a043764c62240316610c81e36376c up to, but not including, 3f566b626029ca8598d48e5074e56bb37399ca1b; b36e8257641a043764c62240316610c81e36376c up to, but not including, 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4; b36e8257641a043764c62240316610c81e36376c up to, but not including, f7419fc42afc035f6b29ce713e17dcd2000c833f; b36e8257641a043764c62240316610c81e36376c up to, but not including, d45d9f45e7b1365fd0d9bf14680d6d5082a590d1; b36e8257641a043764c62240316610c81e36376c up to, but not including, fc92d9e3de0b2d30a3ccc08048a5fad533e4672b; and 1 more ranges68de7da092f38395dde523f2e5db26eba6c23e28, 113c08030a89aaf406f8a1d4549d758a67c2afba, f5575041ec15310bdc50c42b8b22118cc900226e, 3f566b626029ca8598d48e5074e56bb37399ca1b, 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4, f7419fc42afc035f6b29ce713e17dcd2000c833f
LinuxLinux Kernel4.8 up to, but not including, 4.9.335; 4.10 up to, but not including, 4.14.301; 4.15 up to, but not including, 4.19.268; 4.20 up to, but not including, 5.4.226; 5.5 up to, but not including, 5.10.158; 5.11 up to, but not including, 5.15.82; 5.16 up to, but not including, 6.0.12; 6.14.9.335, 4.14.301, 4.19.268, 5.4.226, 5.10.158, 5.15.82

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.

Official description

In the Linux kernel, the following vulnerability has been resolved: iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw KASAN report out-of-bounds read as follows: BUG: KASAN: global-out-of-bounds in afe4404_read_raw+0x2ce/0x380 Read of size 4 at addr ffffffffc00e4658 by task cat/278 Call Trace: afe4404_read_raw iio_read_channel_info dev_attr_show The buggy address belongs to the variable: afe4404_channel_leds+0x18/0xffffffffffffe9c0 This issue can be reproduce by singe command: $ cat /sys/bus/i2c/devices/0-0058/iio\:device0/in_intensity6_raw The array size of afe4404_channel_leds and afe4404_channel_offdacs are less than channels, so access with chan->address cause OOB read in afe4404_[read|write]_raw. Fix it by moving access before use them.

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. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.