Skip to content

scsi: mpi3mr: Sanitise num_phys

Merge Request Required Information

Summary of Changes

scsi: mpi3mr: Sanitise num_phys

JIRA: https://issues.redhat.com/browse/RHEL-38547

commit 3668651def2c1622904e58b0280ee93121f2b10b Author: Tomas Henzl thenzl@redhat.com Date: Mon Feb 26 16:10:13 2024 +0100

scsi: mpi3mr: Sanitise num_phys

Information is stored in mr_sas_port->phy_mask, values larger then size of this field shouldn't be allowed.

Signed-off-by: Bryan Gurney bgurney@redhat.com

Approved Development Ticket

All submissions to CentOS Stream must reference an approved ticket in Red Hat Jira. Please follow the CentOS Stream contribution documentation for how to file this ticket and have it approved.

Edited by bgurney

Merge request reports