{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74277","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-15T05:44:03.880Z","datePublished":"2026-08-15T05:57:48.814Z","dateUpdated":"2026-08-17T05:45:18.964Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:45:18.964Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path\n\nIn iommu_dma_map_sg(), when handling PCI P2PDMA cases, the DMA length\nof the current scatterlist segment `s` is incorrectly assigned from the\nhead entry `sg->length` instead of the current entry `s->length`.\n\nThis typo causes all P2PDMA segments in the scatterlist to inherit the\nlength of the first segment, leading to corrupted DMA lengths for multi-\nsegment scatterlists.\n\nFix this by using `s->length` instead of `sg->length`."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires local block/RDMA I/O that reaches dma_map_sg()/ib_dma_map_sg()→iommu_dma_map_sg() with multi-segment PCI P2PDMA scatterlists (e.g., NVMe-RDMA host, apple_nvme) on IOMMU-enabled systems; no direct remote packet handler invokes this mapping path.\nAC:L - An attacker can reliably trigger the bug by crafting I/O sizes and alignments that yield multi-segment scatterlists with differing P2PDMA segment lengths; no uncontrollable heap layout, timing race, or rare victim state is required beyond P2PDMA-capable hardware topology.\nPR:L - Any unprivileged local user with permission to perform I/O on a PCI device engaged in P2PDMA transfers (typical GPU/compute or storage device access) can trigger the corrupted mapping; real root in the init namespace is not required and user namespaces do not grant this capability.\nUI:N - No victim user action is needed beyond the attacker issuing their own read/write or RDMA/block I/O; exploitation does not depend on a separate user opening files, mounting filesystems, or clicking anything.\nS:C - Incorrect sg_dma_len values let PCIe DMA engines perform bus-address transfers beyond the intended buffer, bypassing IOMMU/DMA isolation and allowing a device’s DMA scope to affect host memory outside the mapped region.\nC:H - When the first segment length exceeds a later P2PDMA segment’s true length, inflated DMA metadata causes the device to read past the buffer end over PCI, enabling disclosure of adjacent device or host memory comparable to an out-of-bounds DMA read.\nI:H - Corrupted DMA lengths permit out-of-bounds PCIe DMA writes beyond the allocated P2PDMA buffer, corrupting adjacent memory and providing a memory-corruption primitive that can be leveraged for further compromise of kernel-adjacent data.\nA:H - Out-of-bounds DMA transfers can trigger IOMMU faults, device errors, and kernel oops/panics when hardware accesses unmapped or protected regions, and the corrupted mappings persist until unmap, enabling repeatable disruption."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/dma-iommu.c"],"versions":[{"version":"a25e7962db0d79882c9d32fd2a67a02e79129c0e","lessThan":"8646f00ce021e49f4f05bc1d4060a0c27b25d0e1","status":"affected","versionType":"git"},{"version":"a25e7962db0d79882c9d32fd2a67a02e79129c0e","lessThan":"db50fb87015b955a5a0c155293b2dd40d63a3b9e","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/dma-iommu.c"],"versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/8646f00ce021e49f4f05bc1d4060a0c27b25d0e1"},{"url":"https://git.kernel.org/stable/c/db50fb87015b955a5a0c155293b2dd40d63a3b9e"}],"title":"iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path","x_generator":{"engine":"bippy-1.2.0"}}}}