CVE-2022-49032

iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw

HIGH
7.1
CVSS Score
Published: October 21, 2024 at 08:06 PM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.3014.15 ≤ v < 4.19.2684.20 ≤ v < 5.4.2264.8 ≤ v < 4.14.3014.8 ≤ v < 4.19.2684.8 ≤ v < 4.9.3354.8 ≤ v < 5.10.1584.8 ≤ v < 5.15.824.8 ≤ v < 5.4.2264.8 ≤ v < 6.0.124.8 ≤ v < 6.15.11 ≤ v < 5.15.825.16 ≤ v < 6.0.125.5 ≤ v < 5.10.1586.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc6b36e8257641a043764c62240316610c81e36376c
Vendor states this is fixed in 113c08030a89aaf406f8a1d4549d758a67c2afba (fixed)
Vendor states this is fixed in 3f566b626029ca8598d48e5074e56bb37399ca1b (fixed)
Vendor states this is fixed in 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4 (fixed)
Vendor states this is fixed in 68de7da092f38395dde523f2e5db26eba6c23e28 (fixed)
Vendor states this is fixed in d45d9f45e7b1365fd0d9bf14680d6d5082a590d1 (fixed)
Vendor states this is fixed in f5575041ec15310bdc50c42b8b22118cc900226e (fixed)
Vendor states this is fixed in f7419fc42afc035f6b29ce713e17dcd2000c833f (fixed)
Vendor states this is fixed in fc92d9e3de0b2d30a3ccc08048a5fad533e4672b (fixed)
Vendor states this is fixed in 4.14.301 (unaffected)
Vendor states this is fixed in 4.19.268 (unaffected)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 4.9.335 (unaffected)
Vendor states this is fixed in 5.10.158 (unaffected)
Vendor states this is fixed in 5.15.82 (unaffected)
Vendor states this is fixed in 5.4.226 (unaffected)
Vendor states this is fixed in 6.0.12 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f5575041ec15310bdc50c42b8b22118cc900226e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f7419fc42afc035f6b29ce713e17dcd2000c833f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc92d9e3de0b2d30a3ccc08048a5fad533e4672b

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card