{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-68474",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-68474"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "powerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access()\n\nspufs_mem_mmap_access() computes the local store offset as\naddress - vma->vm_start, but bounds-checks it against vma->vm_end\ninstead of the local store size. On 64-bit, offset is always well\nbelow vma->vm_end, so the clamp never fires and len stays unbounded\nagainst the LS_SIZE buffer returned by ctx->ops->get_ls().\n\nReject offsets at or beyond LS_SIZE and clamp len to the remaining\nspace, mirroring the guard already used by spufs_mem_mmap_fault() and\nspufs_ps_fault().",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-68474"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/aa7aa8ba40c089762d821e3987aaae19e1f5705c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d479a7711f8ff127946467b910d947bd971b94ed"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9d3569bfdceda69d5ffd5148901e57b69954d9ef"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d97a8f3668949a8a9d1f6202f8c53446f2d89aa7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/913feef74354c653f10ecd4631df7618a95c49c2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3c1e92f75e11a11492b8cb901fceeb9f16ae6415"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4efa313b15925bdd864784865d6585174979294b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/47b87f469a35b5ffc81c16eee6b13a9b6c8d55c6"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:50:24Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The bug is reached only through local kernel interfaces (spu_create, mmap of spufs \"mem\", then /proc/self/mem or ptrace/GDB via access_remote_vm); there is no network, adjacent-radio, or physical-device attack path.\nAC:L - An attacker who can map spufs local store fully controls the VMA address and transfer length; the broken bounds check fails deterministically on 64-bit, so no races or victim-specific layout are required.\nPR:L - On Cell systems with spufs mounted, spu_create and the world-readable/writable mem node (0666) require only a local unprivileged account with write access to the spufs mount, not real init-namespace root or non-namespace capabilities.\nUI:N - Exploitation is self-contained: the attacker creates/maps their own SPU context and triggers the flaw through /proc/self/mem or debugging APIs without any separate victim action.\nS:U - Impact is kernel memory corruption and disclosure within the host kernel from a local user context; it does not cross a VM, container, or IOMMU security boundary to another authority.\nC:H - memcpy_fromio with an unclamped length reads well past the 256KB LS_SIZE buffer (vmalloc heap after lscsa or beyond the ioremap), enabling substantial out-of-bounds kernel memory disclosure.\nI:H - memcpy_toio with the same faulty bounds allows out-of-bounds writes past the local-store mapping, corrupting adjacent kernel memory and supporting further privilege escalation or code execution.\nA:H - Out-of-bounds MMIO/vmalloc access can provoke immediate kernel faults/oops/panics, and heap corruption from oversized writes can crash or hang the system during exploitation."
    }
  }
}
