iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 7.8epss 0.2%
probabilidade de exploração
0.2%top 94% das CVEs
exploração observada
nãonenhuma fonte reporta
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/116d1f8805ae2daadbac89d24da4c0da50b9edaehttps://git.kernel.org/stable/c/1d24f14e049fdd769146dda026496ed23b397ed9https://git.kernel.org/stable/c/3c374d33f1338dbb5676919c5194caa9c5aa1631https://git.kernel.org/stable/c/947eb6f0a274f8b15a0248051a65b069effd5057https://git.kernel.org/stable/c/94d158985b6ea011bdc26186f42d662a156da6cbhttps://git.kernel.org/stable/c/9ac3675bf875792dced45efbf47116719a7c097b