# CVE-2026-90008: scsi: megaraid\_sas: Limit NVMe request size to the PRP chain frame

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-09-16T10:33:16.772Z
- **Modified:** 2026-10-19T09:18:48.577Z

## Who should check

- Anyone running Linux \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4bb34769ef44ab3770b89e4055de6af4a458bec9; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4dd118d06dec9efe5065ac7897bdc18f404a3af4; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< af8c27375733fb6a6df9fa484cda77cc3dd0cb80
- Anyone running Linux 6.17

## Description

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.

## Affected and fixed versions

- Linux: \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4bb34769ef44ab3770b89e4055de6af4a458bec9; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4dd118d06dec9efe5065ac7897bdc18f404a3af4; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< af8c27375733fb6a6df9fa484cda77cc3dd0cb80 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90008. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90008.md
Affected: Linux >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < 4bb34769ef44ab3770b89e4055de6af4a458bec9; >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < 4dd118d06dec9efe5065ac7897bdc18f404a3af4; >= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, < af8c27375733fb6a6df9fa484cda77cc3dd0cb80; Linux 6.17
Fixed in: Linux 4bb34769ef44ab3770b89e4055de6af4a458bec9, Linux 4dd118d06dec9efe5065ac7897bdc18f404a3af4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90008 being exploited?

There is no confirmed exploitation: CVE-2026-90008 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-90008?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-90008?

Linux \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4bb34769ef44ab3770b89e4055de6af4a458bec9; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< 4dd118d06dec9efe5065ac7897bdc18f404a3af4; \>= 9b8b84879d4adc506b0d3944e20b28d9f3f6994b, \< af8c27375733fb6a6df9fa484cda77cc3dd0cb80; Linux 6.17.

### Is there a fix for CVE-2026-90008?

Yes. Fixed in Linux 4bb34769ef44ab3770b89e4055de6af4a458bec9, Linux 4dd118d06dec9efe5065ac7897bdc18f404a3af4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-90008?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4bb34769ef44ab3770b89e4055de6af4a458bec9>
- other: <https://git.kernel.org/stable/c/4dd118d06dec9efe5065ac7897bdc18f404a3af4>
- other: <https://git.kernel.org/stable/c/af8c27375733fb6a6df9fa484cda77cc3dd0cb80>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90008>

HTML: <https://flawdb.com/CVE-2026-90008> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90008>
