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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8ba997b22f2cd5d29aad8c39f6201f7608ed0c04 to < 18f8301c66da25bbd4efed6ee39d57f31c66b88faffectedfb428a2005fc1260d18b989cc5199f281617f44d to < 60b25364d7e430c202fb3f1aa24247914d7b1d53affectedfb428a2005fc1260d18b989cc5199f281617f44d to < 89930d3c26c282526f904118ddbe0d5b5755cb0baffectedfb428a2005fc1260d18b989cc5199f281617f44d to < 3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8affectedfb428a2005fc1260d18b989cc5199f281617f44d to < fe81812af36bad609d233f11ba989dedcde41ca3affectedfb428a2005fc1260d18b989cc5199f281617f44d to < 203b3072e7aa10d98b3f2b766693ea925cfc571daffected2f3d3fa5b8ed7d3b147478f42b00b468eeb1ecd2affected6.1.16 to < 6.1.193affected6.2.3 to < 6.3affected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/18f8301c66da25bbd4efed6ee39d57f31c66b88f ↗
- https://git.kernel.org/stable/c/60b25364d7e430c202fb3f1aa24247914d7b1d53 ↗
- https://git.kernel.org/stable/c/89930d3c26c282526f904118ddbe0d5b5755cb0b ↗
- https://git.kernel.org/stable/c/3d858ac76ace4dee07d8d556ff72d7cd3aa3ccd8 ↗
- https://git.kernel.org/stable/c/fe81812af36bad609d233f11ba989dedcde41ca3 ↗
- https://git.kernel.org/stable/c/203b3072e7aa10d98b3f2b766693ea925cfc571d ↗