← CVE Intelligence

CVE-2026-72480

iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected d5c70627a79455154f5f636096abe6fe57510605 before 116d1f8805ae2daadbac89d24da4c0da50b9edae; affected d5c70627a79455154f5f636096abe6fe57510605 before 94d158985b6ea011bdc26186f42d662a156da6cb; affected d5c70627a79455154f5f636096abe6fe57510605 before 1d24f14e049fdd769146dda026496ed23b397ed9; affected d5c70627a79455154f5f636096abe6fe57510605 before 9ac3675bf875792dced45efbf47116719a7c097b; affected d5c70627a79455154f5f636096abe6fe57510605 before 3c374d33f1338dbb5676919c5194caa9c5aa1631; affected d5c70627a79455154f5f636096abe6fe57510605 before 947eb6f0a274f8b15a0248051a65b069effd5057
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References