Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling ams_event_to_channel() may return a pointer past the end of dev->channels when no matching scan_index is found. This can lead to invalid memory access in ams_handle_event(). Add a bounds check in ams_event_to_channel() and return NULL when no channel is found. Also guard the caller to safely handle this case.
CVSS 7.8EPSS 0.129%Risk 0.79
View source- Published
- 2026-08-15 06:22:22
- Affected versions
- unknown
- Type
- Kernel
- Last modified
- 2026-08-17 06:19:16
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H