CVE-2026-139731: scsi: mpi3mr: Fix buffer overflow when caching log data

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix buffer overflow when caching log data

Each log data slot holds a header followed by the payload, but the copy was sized against the whole slot and so wrote one header length past the end of it. Subtracting the header on its own is not enough either, because the entry size is derived from the controller reply size and can be smaller than the header.

Work out the payload room first and clamp the copy to it.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.19.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  7. Compensating control

    In the Linux kernel’s scsi: mpi3mr log-data caching, calculate the payload room after the header and clamp the copy to that size.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via OSV·01:37 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

What systems are exposed to this issue?

Systems running the Linux kernel with the mpi3mr SCSI driver are relevant. The provided information does not identify affected kernel versions, hardware models, or configuration conditions.

2

When can the overflow occur?

The overflow occurs while caching log data when the copy is sized using the full log-data slot rather than the space remaining after its header. A controller reply can also produce an entry size smaller than the header, so safe handling requires calculating payload capacity first and limiting the copy to that capacity.

3

How can I tell whether the issue has been addressed in my kernel source?

Check whether the mpi3mr log-data caching code calculates available payload room before copying and clamps the copy length to that room. The listed stable-kernel references contain the resolving changes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203