iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling (Linux Linux)

CVE-2026-72480
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d5c70627a79455154f5f636096abe6fe57510605 < 116d1f8805ae2daadbac89d24da4c0da50b9edae ; affected d5c70627a79455154f5f636096abe6fe57510605 < 94d158985b6ea011bdc26186f42d662a156da6cb ; affected d5c70627a79455154f5f636096abe6fe57510605 < 1d24f14e049fdd769146dda026496ed23b397ed9 ; affected d5c70627a79455154f5f636096abe6fe57510605 < 9ac3675bf875792dced45efbf47116719a7c097b ; affected d5c70627a79455154f5f636096abe6fe57510605 < 3c374d33f1338dbb5676919c5194caa9c5aa1631 ; affected d5c70627a79455154f5f636096abe6fe57510605 < 947eb6f0a274f8b15a0248051a65b069effd5057
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD