iio: health: afe4403: Fix oob read in afe4403_read_raw
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b36e8257641a043764c62240316610c81e36376c · < e7e76a77aabef8989cbc0a8417af1aa040620867| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: health: afe4403: Fix oob read in afe4403_read_raw
KASAN report out-of-bounds read as follows:
BUG: KASAN: global-out-of-bounds in afe4403_read_raw+0x42e/0x4c0 Read of size 4 at addr ffffffffc02ac638 by task cat/279
Call Trace: afe4403_read_raw iio_read_channel_info dev_attr_show
The buggy address belongs to the variable: afe4403_channel_leds+0x18/0xffffffffffffe9e0
This issue can be reproduced by singe command:
$ cat /sys/bus/spi/devices/spi0.0/iio\:device0/in_intensity6_raw
From the CVE record · Linux
The Linux kernel’s AFE4403 IIO health driver can read beyond the afe4403_channel_leds array when afe4403_read_raw accesses a channel. A local user can trigger the read by accessing the affected sysfs intensity attribute; the input does not specify authentication requirements beyond that access.
Engineers running Linux kernels with the AFE4403 IIO health driver should check whether their kernel is affected; affected versions are not specified.