Re: [PATCH 0/2] scsi: mvumi: bound two firmware-supplied lengths

From: Yehyeong Lee

Date: Fri Nov 20 2026 - 10:04:00 EST


On Wed, Oct 14, 2026 at 01:16:18AM +0900, Yehyeong Lee wrote:
> Two places in mvumi trust length/count fields the Marvell UMI firmware
> supplies and never check them against the buffers they index. An event
> with the maximum param_count/sense_data_length makes mvumi_show_event()
> read past the 512-byte event buffer and into the log; a handshake page
> with frame_length >= 256 makes the checksum loop, which uses an unsigned
> char counter, spin forever during probe (shorter over-long values read

This is superseded by v9:
https://lore.kernel.org/all/20261015045213.3975845-10-yhlee@xxxxxxxxxxxxxxxxxx/

Best regards,
Yehyeong Lee