Re: [PATCH] mpt3sas: fix an out of bound write

2018-01-30 Thread Martin K. Petersen
Tomas, > cpu_msix_table is allocated to store online cpus, but > pci_irq_get_affinity may return cpu_possible_mask which is then used > to access cpu_msix_table. That causes bad user experience. Fix > limits access to only online cpus, I've also added an additonal test > to protect from an unlik

Re: [PATCH] mpt3sas: fix an out of bound write

2018-01-28 Thread Suganath Prabu Subramani
Hi, Please consider this patch as Ack-by: Suganath Prabu S Thanks. On Fri, Jan 19, 2018 at 8:52 PM, Tomas Henzl wrote: > cpu_msix_table is allocated to store online cpus, but pci_irq_get_affinity > may return cpu_possible_mask which is then used to access cpu_msix_table. > That causes bad user

[PATCH] mpt3sas: fix an out of bound write

2018-01-19 Thread Tomas Henzl
cpu_msix_table is allocated to store online cpus, but pci_irq_get_affinity may return cpu_possible_mask which is then used to access cpu_msix_table. That causes bad user experience. Fix limits access to only online cpus, I've also added an additonal test to protect from an unlikely change in cpu_on