On Mon, 04 Aug 2025 14:01:54 +0800, peter.wang@mediatek.com wrote:
This patch addresses a potential out-of-bounds access issue when accessing 'host->mcq_intr_info[q_index]'. The value of 'q_index' might exceed the valid array bounds if 'q_index == nr'. The condition is corrected to 'q_index >= nr' to prevent accessing invalid memory.
[...]
Applied to 6.17/scsi-fixes, thanks!
[1/1] ufs: host: mediatek: Fix out-of-bounds access in MCQ IRQ mapping https://git.kernel.org/mkp/scsi/c/7ec2bd6cd2d0