CVE-2026-99855
publishednvmet: pci-epf: require SGLs to match the command data length
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < 868a29f30f15e6a75371ccbc64a9d0bdc2be4795 · 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < ca67ea4f835648d931c59cd6f80379468ccc5c07 · 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < 9fb4adbc39751697b9fcf71e45bd5d5119c3f07c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: pci-epf: require SGLs to match the command data length The PCI endpoint target sends the host every byte a read command's SGL describes, even when the SGL describes more than the command transfers. The excess is kmalloc() memory the command never wrote, so the host receives stale target memory. Any successful read can do this, including Identify. nvmet_pci_epf_alloc_iod_data_buf() allocates each segment at the length of its SGL data descriptor, but sets req->transfer_len from iod->data_len, the length the command implies. Once the command completes, nvmet_pci_epf_transfer_iod_data() sends every segment in full. Nothing compares the descriptor lengths with iod->data_len, and the MDTS check only bounds iod->data_len. Fail the command with Data SGL Length Invalid when the data descriptors do not add up to iod->data_len, before any segment is allocated. The tcp and rdma transports take the data length from the SGL itself, so there most commands already reject a mismatch in nvmet_check_transfer_len(). PRP lists are built from iod->data_len and are unaffected. Found by code inspection.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < 868a29f30f15e6a75371ccbc64a9d0bdc2be4795 (affected · git)0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < ca67ea4f835648d931c59cd6f80379468ccc5c07 (affected · git)0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186 to < 9fb4adbc39751697b9fcf71e45bd5d5119c3f07c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
nvmet: pci-epf: require SGLs to match the command data length
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0ee1b358c374527d4b2d6773f5529040678657f6c13a3c0196961fba8e5fb1c7
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record