Re: [PATCH] scsi: mpt3sas: Fix out-of-bounds cpu_msix_table read on CPU hotplug
From: Martin K. Petersen (Oracle)
Date: Fri Nov 20 2026 - 22:25:48 EST
On Wed, 18 Nov 2026 21:13:16 +0100, Louis Sautier wrote:
> mpt3sas_base_attach() allocates cpu_msix_table based on the highest CPU
> online at probe time, but _base_get_msix_index() indexes it with
> raw_smp_processor_id() without a bounds check. Once a CPU with a higher
> id comes online, I/O submitted from it causes an out-of-bounds read of
> the table. The value read is sent to the firmware as the reply queue
> index. When it is not a valid queue, the IOC faults and I/O fails.
>
> [...]
Applied to 7.4/scsi-fixes, thanks!
[1/1] scsi: mpt3sas: Fix out-of-bounds cpu_msix_table read on CPU hotplug
https://git.kernel.org/mkp/scsi/c/14bc5d239ddd
--
Martin K. Petersen