Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local I/O path (AV:L, PR:L); AC:H because it needs specific large-MDTS NVMe hardware and near-4MiB transfers; write/corruption gives I:L and crash A:H, no leak so C:N.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
7DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
scsi: megaraid_sas: Limit NVMe request size to the PRP chain frame
megasas_make_prp_nvme() builds a command's PRP list in cmd->sg_frame, a DMA pool buffer of instance->max_chain_frame_sz bytes, spending one entry per NVMe page of the transfer plus one per page of the buffer for the chain pointer. The loop runs until the transfer is described and never checks the buffer bound.
max_hw_sectors comes straight from the MDTS the firmware reports for the drive. On drives with a large MDTS the only thing keeping the list inside the buffer was the block layer default of 1280 KiB, which needs 320 entries, which fit into a 4 KiB frame as that holds 512. But since commit 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP") that default is 4 MiB, and such a transfer needs 1025 entries, so the list runs a full page past the end of the frame:
sd 1:0:1:0: [sdb] tag#630 page boundary ptr_sgl: 0x00000000ba62d13f BUG: unable to handle page fault for address: ff663bcb81e7c000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page RIP: 0010:megasas_build_and_issue_cmd_fusion+0xeaa/0x1870 [megaraid_sas]
If the page after the frame happens to be mapped, the overrun does not fault but silently corrupts the neighbouring pool entry, which is another in-flight command's PRP list.
Cap max_hw_sectors at what the chain frame can describe, less one page for transfers that do not start on a page boundary and so need one entry more. This is the megaraid_sas counterpart of commit 04631f55afc5 ("scsi: mpt3sas: Limit NVMe request size to 2 MiB"), but derives the limit from max_chain_frame_sz rather than hardcoding it.
AnalysisAI
An out-of-bounds write in the Linux kernel's megaraid_sas driver (megasas_make_prp_nvme) lets a locally present user submitting large block I/O to an NVMe drive behind a Broadcom/LSI MegaRAID controller overflow the cmd->sg_frame DMA pool buffer, corrupting such a list to run up to a full page past its allocation. The flaw is only reachable on Linux 6.17 and later, after block commit 9b8b84879d4a raised the default maximum transfer size to 4 MiB, and on drives whose firmware reports a large MDTS so max_hw_sectors is not clamped; systems with small-MDTS drives never hit the condition. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Requires a system running Linux 6.17 or later (post block commit 9b8b84879d4a raising BLK_DEF_MAX_SECTORS_CAP to 4 MiB) using the megaraid_sas driver with a Broadcom/LSI MegaRAID controller, an attached NVMe drive whose firmware reports a large MDTS (so max_hw_sectors is not clamped), and an I/O transfer large enough (near 4 MiB) that the PRP list needs more than the ~512 entries a 4 KiB chain frame holds. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The vendor CVSS of 7.8 (AV:L/AC:L/PR:L/C:H/I:H/A:H) overstates real-world risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Vendor-released patch: Linux 6.18.51, 7.2.5 and 7.3-rc2 (upstream commits 4dd118d06dec9efe5065ac7897bdc18f404a3af4, af8c27375733fb6a6df9fa484cda77cc3dd0cb80 and 4bb34769ef44ab3770b89e4055de6af4a458bec9, referenced at https://git.kernel.org/stable/c/4dd118d06dec9efe5065ac7897bdc18f404a3af4, https://git.kernel.org/stable/c/af8c27375733fb6a6df9fa484cda77cc3dd0cb80 and https://git.kernel.org/stable/c/4bb34769ef44ab3770b89e4055de6af4a458bec9); upgrade to the corresponding or later stable release, or backport the megasas_make_prp_nvme clamp that caps max_hw_sectors to what max_chain_frame_sz can describe minus one page. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, inventory all Linux systems running kernel 6.17 or later with Broadcom/LSI MegaRAID controllers and NVMe drives, confirm whether drives report large MDTS values, and restrict local shell access to trusted administrators while monitoring kernel logs for crashes or I/O errors. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-80616
GHSA-hvj3-hrq6-8jr2