CVE-2022-49032 json
iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
published 2024-10-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2022-53916
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.9.335, 4.14.301, 4.19.268, 5.4.226, 5.10.158, 5.15.82, 6.0.12, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.12-1
debian advisories DEBIAN-CVE-2022-49032
- linux Ubuntu 18.04 LTS 4.15.0-206.217
- linux Ubuntu 20.04 LTS 5.4.0-144.161
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 18.04 LTS 4.15.0-1151.164
- linux-aws Ubuntu 20.04 LTS 5.4.0-1097.105
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1101.110
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
ubuntu advisories UBUNTU-CVE-2022-49032
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-syms SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-default SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +2 more 5.14.21-150500.55.88.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5 5.14.21-150500.55.88.1
- kernel-obs-build SLE Module for Development Tools 15 SP5 5.14.21-150500.55.88.1
- kernel-default-base SLE Module for Basesystem 15 SP5, SLE Micro 5.5 5.14.21-150500.55.88.1.150500.6.39.4
- kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.194.1
suse advisories SUSE-SU-2024:4364-1SUSE-SU-2024:4317-1SUSE-SU-2024:4313-1SUSE-SU-2024:4131-1SUSE-SU-2024:4082-1SUSE-SU-2024:3985-1
- git.kernel.org/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28 commit
- git.kernel.org/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba commit
- git.kernel.org/stable/c/f5575041ec15310bdc50c42b8b22118cc900226e commit
- git.kernel.org/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b commit
- git.kernel.org/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4 commit
- git.kernel.org/stable/c/f7419fc42afc035f6b29ce713e17dcd2000c833f commit
- git.kernel.org/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1 commit
- git.kernel.org/stable/c/fc92d9e3de0b2d30a3ccc08048a5fad533e4672b commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49032 updated cvss 7.1
kernel: iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
git.kernel.org
/stable/c/68de7da092f38395dde523f2e5db26eba6c23e28
patch
-
git.kernel.org
/stable/c/113c08030a89aaf406f8a1d4549d758a67c2afba
patch
-
git.kernel.org
/stable/c/f5575041ec15310bdc50c42b8b22118cc900226e
patch
-
git.kernel.org
/stable/c/3f566b626029ca8598d48e5074e56bb37399ca1b
patch
-
git.kernel.org
/stable/c/5eb114f55b37dbc0487aa9c1913b81bb7837f1c4
patch
-
git.kernel.org
/stable/c/f7419fc42afc035f6b29ce713e17dcd2000c833f
patch
-
git.kernel.org
/stable/c/d45d9f45e7b1365fd0d9bf14680d6d5082a590d1
patch
-
git.kernel.org
/stable/c/fc92d9e3de0b2d30a3ccc08048a5fad533e4672b
patch
Sources
- CVE List CVE-2022-49032
- NVD CVE-2022-49032
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.