{"id":"CVE-2026-74277","summary":"iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path","details":"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-\u003elength` instead of the current entry `s-\u003elength`.\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-\u003elength` instead of `sg-\u003elength`.","modified":"2026-08-18T03:56:45.833865073Z","published":"2026-08-15T05:57:48.814Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74277.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/8646f00ce021e49f4f05bc1d4060a0c27b25d0e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db50fb87015b955a5a0c155293b2dd40d63a3b9e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74277.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74277"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a25e7962db0d79882c9d32fd2a67a02e79129c0e"},{"fixed":"8646f00ce021e49f4f05bc1d4060a0c27b25d0e1"},{"fixed":"db50fb87015b955a5a0c155293b2dd40d63a3b9e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74277.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74277.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}