Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: adc: xilinx-ams: fix out-of-bounds channel lookup in event handling

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 products

Linux
  • <3c374d33f1338dbb5676919c5194caa9c5aa1631
  • <5.17
  • =<6.6.*
  • =<*
  • ==5.17
  • <947eb6f0a274f8b15a0248051a65b069effd5057
  • <116d1f8805ae2daadbac89d24da4c0da50b9edae
  • <94d158985b6ea011bdc26186f42d662a156da6cb
  • <9ac3675bf875792dced45efbf47116719a7c097b
  • =<6.12.*
  • =<6.18.*
  • =<7.1.*
  • <1d24f14e049fdd769146dda026496ed23b397ed9
  • =<6.1.*