# CVE-2022-49032: iio: health: afe4404: Fix oob read in afe4404\_\[read\|write\]\_raw

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 17, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-10-21T20:06:35.864Z
- **Modified:** 2026-06-17T05:16:53.730Z

## Who should check

- Anyone running Linux \>= b36e8257641a043764c62240316610c81e36376c, \< 68de7da092f38395dde523f2e5db26eba6c23e28; \>= b36e8257641a043764c62240316610c81e36376c, \< 113c08030a89aaf406f8a1d4549d758a67c2afba; \>= b36e8257641a043764c62240316610c81e36376c, \< f5575041ec15310bdc50c42b8b22118cc900226e; \>= b36e8257641a043764c62240316610c81e36376c, \< 3f566b626029ca8598d48e5074e56bb37399ca1b; \>= b36e8257641a043764c62240316610c81e36376c, \< 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4; \>= b36e8257641a043764c62240316610c81e36376c, \< f7419fc42afc035f6b29ce713e17dcd2000c833f; \>= b36e8257641a043764c62240316610c81e36376c, \< d45d9f45e7b1365fd0d9bf14680d6d5082a590d1; \>= b36e8257641a043764c62240316610c81e36376c, \< fc92d9e3de0b2d30a3ccc08048a5fad533e4672b
- Anyone running Linux 4.8

## 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 and fixed versions

- Linux: \>= b36e8257641a043764c62240316610c81e36376c, \< 68de7da092f38395dde523f2e5db26eba6c23e28; \>= b36e8257641a043764c62240316610c81e36376c, \< 113c08030a89aaf406f8a1d4549d758a67c2afba; \>= b36e8257641a043764c62240316610c81e36376c, \< f5575041ec15310bdc50c42b8b22118cc900226e; \>= b36e8257641a043764c62240316610c81e36376c, \< 3f566b626029ca8598d48e5074e56bb37399ca1b; \>= b36e8257641a043764c62240316610c81e36376c, \< 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4; \>= b36e8257641a043764c62240316610c81e36376c, \< f7419fc42afc035f6b29ce713e17dcd2000c833f; \>= b36e8257641a043764c62240316610c81e36376c, \< d45d9f45e7b1365fd0d9bf14680d6d5082a590d1; \>= b36e8257641a043764c62240316610c81e36376c, \< fc92d9e3de0b2d30a3ccc08048a5fad533e4672b (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49032. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49032.md
Affected: Linux >= b36e8257641a043764c62240316610c81e36376c, < 68de7da092f38395dde523f2e5db26eba6c23e28; >= b36e8257641a043764c62240316610c81e36376c, < 113c08030a89aaf406f8a1d4549d758a67c2afba; >= b36e8257641a043764c62240316610c81e36376c, < f5575041ec15310bdc50c42b8b22118cc900226e; >= b36e8257641a043764c6224…
Fixed in: Linux 68de7da092f38395dde523f2e5db26eba6c23e28, Linux 113c08030a89aaf406f8a1d4549d758a67c2afba, Linux 3f566b626029ca8598d48e5074e56bb37399ca1b, Linux 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49032 being exploited?

There is no confirmed exploitation: CVE-2022-49032 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49032?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49032?

Linux \>= b36e8257641a043764c62240316610c81e36376c, \< 68de7da092f38395dde523f2e5db26eba6c23e28; \>= b36e8257641a043764c62240316610c81e36376c, \< 113c08030a89aaf406f8a1d4549d758a67c2afba; \>= b36e8257641a043764c62240316610c81e36376c, \< f5575041ec15310bdc50c42b8b22118cc900226e; \>= b36e8257641a043764c62240316610c81e36376c, \< 3f566b626029ca8598d48e5074e56bb37399ca1b; \>= b36e8257641a043764c62240316610c81e36376c, \< 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4; \>= b36e8257641a043764c62240316610c81e36376c, \< f7419fc42afc035f6b29ce713e17dcd2000c833f; \>= b36e8257641a043764c62240316610c81e36376c, \< d45d9f45e7b1365fd0d9bf14680d6d5082a590d1; \>= b36e8257641a043764c62240316610c81e36376c, \< fc92d9e3de0b2d30a3ccc08048a5fad533e4672b; Linux 4.8.

### Is there a fix for CVE-2022-49032?

Yes. Fixed in Linux 68de7da092f38395dde523f2e5db26eba6c23e28, Linux 113c08030a89aaf406f8a1d4549d758a67c2afba, Linux 3f566b626029ca8598d48e5074e56bb37399ca1b, Linux 5eb114f55b37dbc0487aa9c1913b81bb7837f1c4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49032?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28>
- patch: <https://git.kernel.org/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba>
- patch: <https://git.kernel.org/stable/c/f5575041ec15310bdc50c42b8b22118cc900226e>
- patch: <https://git.kernel.org/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b>
- patch: <https://git.kernel.org/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4>
- patch: <https://git.kernel.org/stable/c/f7419fc42afc035f6b29ce713e17dcd2000c833f>
- patch: <https://git.kernel.org/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1>
- patch: <https://git.kernel.org/stable/c/fc92d9e3de0b2d30a3ccc08048a5fad533e4672b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49032>

HTML: <https://flawdb.com/CVE-2022-49032> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49032>
