CVE-2026-90008

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: megaraid_sas: Limit NVMe request size to the PRP chain frame<br /> <br /> megasas_make_prp_nvme() builds a command&amp;#39;s PRP list in cmd-&gt;sg_frame, a<br /> DMA pool buffer of instance-&gt;max_chain_frame_sz bytes, spending one<br /> entry per NVMe page of the transfer plus one per page of the buffer for<br /> the chain pointer. The loop runs until the transfer is described and<br /> never checks the buffer bound.<br /> <br /> max_hw_sectors comes straight from the MDTS the firmware reports for the<br /> drive. On drives with a large MDTS the only thing keeping the list<br /> inside the buffer was the block layer default of 1280 KiB, which needs<br /> 320 entries, which fit into a 4 KiB frame as that holds 512. But since<br /> commit 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP") that<br /> default is 4 MiB, and such a transfer needs 1025 entries, so the list<br /> runs a full page past the end of the frame:<br /> <br /> sd 1:0:1:0: [sdb] tag#630 page boundary ptr_sgl: 0x00000000ba62d13f<br /> BUG: unable to handle page fault for address: ff663bcb81e7c000<br /> #PF: supervisor write access in kernel mode<br /> #PF: error_code(0x0002) - not-present page<br /> RIP: 0010:megasas_build_and_issue_cmd_fusion+0xeaa/0x1870 [megaraid_sas]<br /> <br /> If the page after the frame happens to be mapped, the overrun does not<br /> fault but silently corrupts the neighbouring pool entry, which is<br /> another in-flight command&amp;#39;s PRP list.<br /> <br /> Cap max_hw_sectors at what the chain frame can describe, less one page<br /> for transfers that do not start on a page boundary and so need one entry<br /> more. This is the megaraid_sas counterpart of commit 04631f55afc5<br /> ("scsi: mpt3sas: Limit NVMe request size to 2 MiB"), but derives the<br /> limit from max_chain_frame_sz rather than hardcoding it.