Home
last modified time | relevance | path

Searched hist:"866 f3576a72b2233a76dffb80290f8086dc49e17" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/s390/pci/
H A Dpci.cdiff 866f3576a72b2233a76dffb80290f8086dc49e17 Mon Aug 13 11:26:46 CEST 2018 Sebastian Ott <sebott@linux.ibm.com> s390/pci: fix out of bounds access during irq setup

During interrupt setup we allocate interrupt vectors, walk the list of msi
descriptors, and fill in the message data. Requesting more interrupts than
supported on s390 can lead to an out of bounds access.

When we restrict the number of interrupts we should also stop walking the
msi list after all supported interrupts are handled.

Cc: stable@vger.kernel.org
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>