Skip to contentSkip to conversation

CVE-2026-46105: scsi: mpt3sas: Limit NVMe request size to 2 MiB

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-46105 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit 9b8b84879d4adc506b0d3944e20b28d9f3f6994b and fixed in 6.18.30 with commit 45dcc815fc5539e88154315f36cbcb11d3a52fc2
	Issue introduced in 6.17 with commit 9b8b84879d4adc506b0d3944e20b28d9f3f6994b and fixed in 7.0.7 with commit e5f9824817c6358b9f9738bdb92dec9e4e794d3c
	Issue introduced in 6.17 with commit 9b8b84879d4adc506b0d3944e20b28d9f3f6994b and fixed in 7.1-rc3 with commit 04631f55afc543d5431a2bdee7f6cc0f2c0debe7

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-46105

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/scsi/mpt3sas/mpt3sas_scsih.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/45dcc815fc5539e88154315f36cbcb11d3a52fc2
	https://git.kernel.org/stable/c/e5f9824817c6358b9f9738bdb92dec9e4e794d3c
	https://git.kernel.org/stable/c/04631f55afc543d5431a2bdee7f6cc0f2c0debe7