Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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`.

Announced Source revision 1
Original source ↗

CVE-2026-74277

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74277

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "a25e7962db0d79882c9d32fd2a67a02e79129c0e",
        "lessThan": "6166cb1344f16dd403f2192f4bea6f6654f1ae1e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a25e7962db0d79882c9d32fd2a67a02e79129c0e",
        "lessThan": "8646f00ce021e49f4f05bc1d4060a0c27b25d0e1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a25e7962db0d79882c9d32fd2a67a02e79129c0e",
        "lessThan": "db50fb87015b955a5a0c155293b2dd40d63a3b9e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/iommu/dma-iommu.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/iommu/dma-iommu.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74277

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#33075 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement