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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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 size_t.

ProductVersions
Linux Linux8ba997b22f2cd5d29aad8c39f6201f7608ed0c04 to before 18f8301c66da25bbd4efed6ee39d57f31c66b88f Affectedfb428a2005fc1260d18b989cc5199f281617f44d to before 60b25364d7e430c202fb3f1aa24247914d7b1d53 Affectedfb428a2005fc1260d18b989cc5199f281617f44d to before 89930d3c26c282526f904118ddbe0d5b5755cb0b Affectedfb428a2005fc1260d18b989cc5199f281617f44d to before 3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8 Affectedfb428a2005fc1260d18b989cc5199f281617f44d to before fe81812af36bad609d233f11ba989dedcde41ca3 Affectedfb428a2005fc1260d18b989cc5199f281617f44d to before 203b3072e7aa10d98b3f2b766693ea925cfc571d Affected2f3d3fa5b8ed7d3b147478f42b00b468eeb1ecd2 Affected6.1.16 to before 6.1.193 Affected6.2.3 to before 6.3 Affected
Linux Linux6.3 Affectedbefore 6.3 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.