Re: [PATCH] scsi: mpi3mr: bounds-check phy_number in mpi3mr_update_links()
From: Junrui Luo
Date: Mon Apr 20 2026 - 00:17:57 EST
On Sun, Apr 19, 2026 at 10:25:25AM -0400, James Bottomley wrote:
> Our threat model for hardware is that we assume it behaves correctly
> unless someone finds a buggy instance in the field ... have you found
> such a buggy device?
No, this came from a code audit rather than an observed incident.
I noticed the sibling mpt3sas driver has a similar check, which led
me to believe this might be a real issue.
If that's not the case, please feel free to drop the patch.
Thanks,
Junrui Luo