CVE-2026-139725: scsi: mpi3mr: Fix out-of-bounds read of event data
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix out-of-bounds read of event data
The event data length from the reply is used as is, both when caching log data and when sizing the buffer handed to the bottom half. A length larger than the frame makes both of them read past the end of it.
Clamp the length to what the frame can hold.
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
In the Linux kernel's scsi: mpi3mr handling, clamp the event data length to the amount the reply frame can hold before caching log data or sizing the bottom-half buffer.
Event History
Frequently Asked Questions
Which deployments are relevant to this issue?
This affects Linux kernel deployments that use the mpi3mr SCSI driver and process its event replies. The provided data does not identify specific hardware models or kernel versions.
What condition causes the out-of-bounds read?
The issue occurs when an event reply reports an event-data length larger than the reply frame can contain. That unbounded length is used for cached log data and for the buffer passed to the bottom half, causing reads beyond the frame.
What is the remediation described by the fix?
The fix clamps the event-data length to the amount of data the reply frame can hold before it is used for caching or buffer sizing.