CVE-2026-139724: scsi: mpi3mr: Fix out-of-bounds phy array access on link change
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix out-of-bounds phy array access on link change
The phy number that comes with a link change is used to index the node's phy array without being compared against the number of phys allocated for that node.
Check it first.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Before indexing the node’s PHY array on a link change, check that the PHY number is less than the number of PHYs allocated for that node.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems running the Linux kernel with the mpi3mr SCSI driver are relevant. The issue is in handling link-change events for a node's PHY array.
What condition triggers the out-of-bounds access?
A link-change event must provide a PHY number that is used as an index into the node's PHY array. The vulnerable behavior occurs when that PHY number is not checked against the number of PHYs allocated for the node.
How is the issue addressed?
The resolved change validates the PHY number before using it to index the node's PHY array. The provided stable-kernel references identify fixes for this validation.