CVE-2026-138854 (GCVE-0-2026-138854)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-12-01 05:40
VLAI
Title
iommu/dma: Catch scatterlist length overflows
Summary
In the Linux kernel, the following vulnerability has been resolved: iommu/dma: Catch scatterlist length overflows It is possible, when a very large mapping uses only one scatterlist, that padding overflows scatterlist's length field. This results in: 1) silently wrapping the value 2) smaller than desired mappings produced by iommu_map_sg 3) leaving mapped bytes in memory (no iommu_unmap) Address this issue by adding overflow detection for scatterlist length field.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < c267a09141bc992fd59f1b09017ed86290478221 (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 0ae29e4fb90f019ac88672e6a268ef76de47b22f (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < e092174b31d8591e13bbcfeb96553912a315d66e (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 5706fc3df84087b067804019e664338610437b6b (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 5b5fc4c1bf4745e208d113cafd3a00d2a3772889 (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 0ec1d83baa7b319374e3071f48946240149efb74 (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 621e1976d48b2b345e1e2cee8efb21efe4a43487 (git)
Affected: 809eac54cdd62c67afea1e17080e681dfa33dc09 , < 1c8f6308e557f32412e9d4678b3f029f47f6d9aa (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.7
Unaffected: 0 , < 4.7 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/dma-iommu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c267a09141bc992fd59f1b09017ed86290478221",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "0ae29e4fb90f019ac88672e6a268ef76de47b22f",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "e092174b31d8591e13bbcfeb96553912a315d66e",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "5706fc3df84087b067804019e664338610437b6b",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "5b5fc4c1bf4745e208d113cafd3a00d2a3772889",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "0ec1d83baa7b319374e3071f48946240149efb74",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "621e1976d48b2b345e1e2cee8efb21efe4a43487",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            },
            {
              "lessThan": "1c8f6308e557f32412e9d4678b3f029f47f6d9aa",
              "status": "affected",
              "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/dma-iommu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.7"
            },
            {
              "lessThan": "4.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "4.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/dma: Catch scatterlist length overflows\n\nIt is possible, when a very large mapping uses only one\nscatterlist, that padding overflows scatterlist\u0027s length field.\nThis results in:\n 1) silently wrapping the value\n 2) smaller than desired mappings produced by iommu_map_sg\n 3) leaving mapped bytes in memory (no iommu_unmap)\n\nAddress this issue by adding overflow detection for scatterlist\nlength field."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The oversized scatterlist comes from local allocations: DRM_IOCTL_I915_GEM_USERPTR/GEM_CREATE make i915_gem_userptr_get_pages()/shmem_get_pages() build segments up to i915_sg_segment_size() (0xFFFFF000), then i915_gem_gtt_prepare_pages() -\u003e dma_map_sg_attrs() -\u003e iommu_dma_map_sg(). No remote protocol supplies the segment lengths.\nAC:H - The prev-\u003elength += pad_len wrap needs two adjacent segments of physically contiguous memory that together cross the 4GB PCI segment boundary (0xffffffff, set in pci_device_add()). The user can\u0027t see or arrange \u003e2GB contiguous runs on demand (xe added a workaround after hitting them). The device must also be in an IOMMU DMA domain, and abuse needs IOVA and page reuse.\nPR:L - i915 GEM_CREATE and GEM_USERPTR are DRM_RENDER_ALLOW ioctls on a render node open to ordinary local users. RDMA ib_umem_get() is similar and gated only by RLIMIT_MEMLOCK, so an unprivileged user can submit the oversized scatterlist without any capability.\nUI:N - The attacker allocates and pins the buffer and drives the GPU/RDMA device themselves; no other user action is needed.\nS:C - On wrap, iommu_map_sg() maps fewer bytes than iova_len and out_free_iova frees the IOVA without iommu_unmap(). The device keeps live IOMMU translations to pages the kernel frees and reuses, so device DMA escapes its IOMMU domain: an IOMMU isolation bypass that hits host memory outside the granted buffers.\nC:H - On pre-iommupt VT-d (\u003c=6.18), __domain_mapping() logs \u0027DMA PTE already set\u0027, keeps the stale PTE and returns 0. A later mapping that reuses the freed IOVA (the i915 PAGE_SIZE retry, or a new GEM object) silently points at freed, reallocated pages, so GPU/RDMA reads through the attacker\u0027s buffer leak arbitrary kernel memory.\nI:H - The same stale translations send GPU/RDMA writes to the attacker\u0027s newly mapped buffer into physical pages now owned by other kernel allocations. That is arbitrary physical memory corruption, usable for privilege escalation.\nA:H - Device DMA into reused pages can crash the kernel. Each conflicting PTE fires WARN_ON (fatal with panic_on_warn). On iommupt/io-pgtable-arm, later mappings into the polluted IOVA range fail with -EADDRINUSE/-EEXIST, breaking the device\u0027s I/O."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:40:22.311Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c267a09141bc992fd59f1b09017ed86290478221"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ae29e4fb90f019ac88672e6a268ef76de47b22f"
        },
        {
          "url": "https://git.kernel.org/stable/c/e092174b31d8591e13bbcfeb96553912a315d66e"
        },
        {
          "url": "https://git.kernel.org/stable/c/5706fc3df84087b067804019e664338610437b6b"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b5fc4c1bf4745e208d113cafd3a00d2a3772889"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ec1d83baa7b319374e3071f48946240149efb74"
        },
        {
          "url": "https://git.kernel.org/stable/c/621e1976d48b2b345e1e2cee8efb21efe4a43487"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c8f6308e557f32412e9d4678b3f029f47f6d9aa"
        }
      ],
      "title": "iommu/dma: Catch scatterlist length overflows",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-138854",
    "datePublished": "2026-11-30T13:25:36.152Z",
    "dateReserved": "2026-11-30T13:22:15.899Z",
    "dateUpdated": "2026-12-01T05:40:22.311Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-138854",
      "date": "2026-12-04",
      "epss": "0.00178",
      "percentile": "0.07628"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iommu/dma-iommu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c267a09141bc992fd59f1b09017ed86290478221",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0ae29e4fb90f019ac88672e6a268ef76de47b22f",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e092174b31d8591e13bbcfeb96553912a315d66e",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5706fc3df84087b067804019e664338610437b6b",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5b5fc4c1bf4745e208d113cafd3a00d2a3772889",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0ec1d83baa7b319374e3071f48946240149efb74",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "621e1976d48b2b345e1e2cee8efb21efe4a43487",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1c8f6308e557f32412e9d4678b3f029f47f6d9aa",
                    "status": "affected",
                    "version": "809eac54cdd62c67afea1e17080e681dfa33dc09",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iommu/dma-iommu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.7"
                  },
                  {
                    "lessThan": "4.7",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/dma: Catch scatterlist length overflows\n\nIt is possible, when a very large mapping uses only one\nscatterlist, that padding overflows scatterlist\u0027s length field.\nThis results in:\n 1) silently wrapping the value\n 2) smaller than desired mappings produced by iommu_map_sg\n 3) leaving mapped bytes in memory (no iommu_unmap)\n\nAddress this issue by adding overflow detection for scatterlist\nlength field."
          }
        ],
        "id": "CVE-2026-138854",
        "lastModified": "2026-12-01T06:17:29.167",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.1,
              "impactScore": 6.0,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:41.407",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0ae29e4fb90f019ac88672e6a268ef76de47b22f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0ec1d83baa7b319374e3071f48946240149efb74"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1c8f6308e557f32412e9d4678b3f029f47f6d9aa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5706fc3df84087b067804019e664338610437b6b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b5fc4c1bf4745e208d113cafd3a00d2a3772889"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/621e1976d48b2b345e1e2cee8efb21efe4a43487"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c267a09141bc992fd59f1b09017ed86290478221"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e092174b31d8591e13bbcfeb96553912a315d66e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T06:05:57+00:00",
      "cve": "CVE-2026-138854",
      "id": "CVE-2026-138854",
      "initial_release_date": "2026-11-30T13:25:36.152000+00:00",
      "product_status:known_affected": "238",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via scatterlist length overflow in IOMMU DMA",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138854.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.