CVE-2026-99855

Unknown

Last modified

CVE-2026-99855 is a vulnerability of currently unknown severity. 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.

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 868a29f30f15e6a75371ccbc64a9d0bdc2be4795; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < ca67ea4f835648d931c59cd6f80379468ccc5c07; >= 0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186, < 9fb4adbc39751697b9fcf71e45bd5d5119c3f07c
LinuxLinux6.14

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99855?
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.
How severe is CVE-2026-99855?
Severity scoring for CVE-2026-99855 is pending analysis.
How do I fix CVE-2026-99855?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99855?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST