Linux
scsi: mpt3sas: Limit NVMe request size to 2 MiB
In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Limit NVMe request size to 2 MiB The HBA firmware reports NVMe MDTS values based on the underlying drive capability. However, because the driver allocates a fixed 4K buffer for the PRP list, accommodating at most 512 entries, the driver supports a maximum I/O transfer size of 2 MiB. Limit max_hw_sectors to the smaller of the reported MDTS and the 2 MiB driver limit to prevent issuing oversized I/O that may lead to a kernel oops.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < 45dcc815fc5539e88154315f36cbcb11d3a52fc2
- >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < e5f9824817c6358b9f9738bdb92dec9e4e794d3c
- >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < 04631f55afc543d5431a2bdee7f6cc0f2c0debe7
Fixed in 45dcc815fc5539e88154315f36cbcb11d3a52fc2, e5f9824817c6358b9f9738bdb92dec9e4e794d3c, 04631f55afc543d5431a2bdee7f6cc0f2c0debe7
- 6.17
Fixed in 0, 6.18.30, 7.0.7, 7.1
Mitigation
Upgrade Linux to 45dcc815fc5539e88154315f36cbcb11d3a52fc2 or e5f9824817c6358b9f9738bdb92dec9e4e794d3c or 04631f55afc543d5431a2bdee7f6cc0f2c0debe7 or later.
Upgrade Linux to 0 or 6.18.30 or 7.0.7 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.