{"id":"CVE-2026-99855","aliases":[],"cve":{"records":[{"id":"CVE-2026-99855","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.438Z","published":"2026-11-30T13:17:41.386Z","modified":"2026-11-30T13:17:41.386Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:41.386Z"}],"references":[{"url":"https://git.kernel.org/stable/c/868a29f30f15e6a75371ccbc64a9d0bdc2be4795","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/ca67ea4f835648d931c59cd6f80379468ccc5c07","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/9fb4adbc39751697b9fcf71e45bd5d5119c3f07c","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"nvmet: pci-epf: require SGLs to match the command data length","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: pci-epf: require SGLs to match the command data length\n\nThe PCI endpoint target sends the host every byte a read command's SGL\ndescribes, even when the SGL describes more than the command transfers.\nThe excess is kmalloc() memory the command never wrote, so the host\nreceives stale target memory. Any successful read can do this,\nincluding Identify.\n\nnvmet_pci_epf_alloc_iod_data_buf() allocates each segment at the length\nof its SGL data descriptor, but sets req->transfer_len from\niod->data_len, the length the command implies. Once the command\ncompletes, nvmet_pci_epf_transfer_iod_data() sends every segment in\nfull. Nothing compares the descriptor lengths with iod->data_len, and\nthe MDTS check only bounds iod->data_len.\n\nFail the command with Data SGL Length Invalid when the data descriptors\ndo not add up to iod->data_len, before any segment is allocated. The\ntcp and rdma transports take the data length from the SGL itself, so\nthere most commands already reject a mismatch in\nnvmet_check_transfer_len(). PRP lists are built from iod->data_len and\nare unaffected.\n\nFound by code inspection.","score":null,"severity":"unknown","published":"2026-11-30T13:17:41.386Z","modified":"2026-11-30T13:17:41.386Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","status":"affected","lessThan":"868a29f30f15e6a75371ccbc64a9d0bdc2be4795","versionType":"git"},{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","status":"affected","lessThan":"ca67ea4f835648d931c59cd6f80379468ccc5c07","versionType":"git"},{"version":"0faa0fe6f90ea59b10d1b0f15ce0eb0c18eff186","status":"affected","lessThan":"9fb4adbc39751697b9fcf71e45bd5d5119c3f07c","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99855"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99855"}],"remediation":[],"references":["https://git.kernel.org/stable/c/868a29f30f15e6a75371ccbc64a9d0bdc2be4795","https://git.kernel.org/stable/c/ca67ea4f835648d931c59cd6f80379468ccc5c07","https://git.kernel.org/stable/c/9fb4adbc39751697b9fcf71e45bd5d5119c3f07c"],"sources":[{"name":"CVE","id":"CVE-2026-99855","modified":"2026-11-30T13:17:41.386Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99855"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:47:06.681Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}