{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a25e7962db0d79882c9d32fd2a67a02e79129c0e"
            },
            {
              "fixed": "8646f00ce021e49f4f05bc1d4060a0c27b25d0e1"
            },
            {
              "fixed": "db50fb87015b955a5a0c155293b2dd40d63a3b9e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74277.json"
  },
  "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`.",
  "id": "CVE-2026-74277",
  "modified": "2026-08-18T03:31:21.706691215Z",
  "published": "2026-08-15T05:57:48.814Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path"
}