Bug 2516804 (CVE-2026-74277) - CVE-2026-74277 kernel: iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path
Summary: CVE-2026-74277 kernel: iommu/dma-iommu: Fix wrong scatterlist length assignme...
Keywords:
Status: NEW
Alias: CVE-2026-74277
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:34 UTC by OSIDB Bzimport
Modified: 2026-08-20 13:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:34:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path

In iommu_dma_map_sg(), when handling PCI P2PDMA cases, the DMA length
of the current scatterlist segment `s` is incorrectly assigned from the
head entry `sg->length` instead of the current entry `s->length`.

This typo causes all P2PDMA segments in the scatterlist to inherit the
length of the first segment, leading to corrupted DMA lengths for multi-
segment scatterlists.

Fix this by using `s->length` instead of `sg->length`.


Note You need to log in before you can comment on or make changes to this bug.