diff options
author | Tomas Henzl <thenzl@redhat.com> | 2024-02-26 16:10:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-11 12:49:09 +0200 |
commit | 586b41060113ae43032ec6c4a16d518cef5da6e0 (patch) | |
tree | 5dba197c0547d591a16fea18b3b319603b1b6d5d /drivers/scsi/3w-9xxx.h | |
parent | 44958ca9e400f57bd0478115519ffc350fcee61e (diff) | |
download | linux-rpi-586b41060113ae43032ec6c4a16d518cef5da6e0.tar.gz linux-rpi-586b41060113ae43032ec6c4a16d518cef5da6e0.tar.bz2 linux-rpi-586b41060113ae43032ec6c4a16d518cef5da6e0.zip |
scsi: mpi3mr: Sanitise num_phys
[ Upstream commit 3668651def2c1622904e58b0280ee93121f2b10b ]
Information is stored in mr_sas_port->phy_mask, values larger then size of
this field shouldn't be allowed.
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20240226151013.8653-1-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions