{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-64153",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-64153"
  ],
  "published": "2026-07-19T15:41:06Z",
  "summary": "drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: Fix iommu_map_sgtable() return value check and avoid WARN\n\nCommit \"iommu: return full error code from iommu_map_sg[_atomic]()\"\nchanged iommu_map_sgtable() to return an ssize_t and negative values\nin error cases, rather than a size_t and a zero.\n\nStore the return value in the appropriate type and in case of error,\nreturn it rather than WARNing.\n\nPatchwork: https://patchwork.freedesktop.org/patch/719685/",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.175",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-64153"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3c2cdb7c07f664b77e2a75b50793b845d5742efa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3e3c3c95ef4fe17231a9149e27bcfc9dae2dd89f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7256e54583aee21e23929e7554278c2f5c1a08b1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3457807aeb88077712f0a7cb65c3ca5120773d75"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f4e37f3df436c2bdd2621c21f9c72c8f149a221d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3a45af37733446e114bf19b0209fe7d8089bdb8b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/55e0f0d1c1a4ee1e46da7da4d443eb3044fb3851"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T13:16:28Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The bug is reached only through local DRM interfaces on Qualcomm devices: MSM_GEM_SUBMIT and framebuffer/atomic display commits pin GEM buffers into the display or legacy kernel-managed GPU IOMMU domain via ioctl on /dev/dri/renderD* or /dev/dri/card*.\nAC:L - An attacker can reliably force iommu_map_sgtable() failures by exhausting IOMMU page-table space or memory through repeated GEM allocations and mapping operations they fully control, without depending on victim timing or uncontrollable layout.\nPR:L - Exploitation requires only unprivileged access to the DRM render/display node (DRM_RENDER_ALLOW ioctls); on Android phones any app with GPU access can trigger the mapping path without root or special capabilities.\nUI:N - No victim interaction is required beyond the attacker's own DRM/GPU or framebuffer operations; the vulnerable msm_iommu_map() runs during their own buffer pin/map requests.\nS:C - Incorrect handling of IOMMU mapping errors can leave the display engine or Adreno GPU operating on IOVAs without the intended translation, crossing the IOMMU/DMA security boundary between device DMA and system physical memory.\nC:H - If a failed IOMMU mapping is treated as successful, GPU or display DMA can read physical pages outside the intended buffer, enabling arbitrary physical memory disclosure; this is the same error-sign-conversion class that caused silent mapping failure in the parallel tegra fix.\nI:H - A successful-but-unmapped or mis-mapped IOVA lets the GPU (IOMMU_WRITE on typical buffers) or display write-back path corrupt physical memory outside the caller's GEM object, providing a DMA-based write primitive.\nA:H - Repeated IOMMU mapping failures mishandled on the display or GPU path can cause IOMMU fault storms, GPU hangs, display pipeline stalls, or kernel WARN/oops conditions during fault handling."
    }
  }
}
