CVE-2026-139723: scsi: mpi3mr: Fix buffer overflow in the BSG target device map

Published Nov 30, 2026
·
Updated

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

scsi: mpi3mr: Fix buffer overflow in the BSG target device map

The size of the target device map buffer is held in a u16 while the number of devices it is derived from is not bounded to fit. With enough devices the size wraps, a short buffer is allocated, and the loop that fills it writes past the end.

Do the calculation in sizet.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Calculate the target device map buffer size in size_t rather than u16.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Frequently Asked Questions

1

What condition is required to trigger the overflow?

The mpi3mr BSG target device map must be derived from enough devices that its size calculation exceeds the capacity of the u16 used to store it. The resulting wrap causes allocation of a buffer that is too small.

2

What happens after the size calculation wraps?

A short target device map buffer is allocated, and the loop that populates the map writes beyond that buffer's end.

3

Are affected kernel versions or a device-count threshold provided?

No affected version range or exact number of devices needed to trigger the wrap is provided.

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