Skip to content
Heist/ feed
Unrated

drm/imagination: Size page table preallocation by device address

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: drm/imagination: Size page table preallocation by device address Commit 0a8224058a58 ("drm/imagination: Fix page count for page table for map() interface") passed the device address to pvr_mmu_op_context_create(), but the preallocation is still sized from device_addr + sgt_offset with an exclusive end. The offset into the object's pages has no place in a device-virtual range, and the exclusive end allocates one table too many when the range ends on a table boundary. Count the tables from device_addr and the inclusive end of the range. The new calculation does not take page table indices into account. This fixes another issue with the previous implementation, where the difference between start and end indices could underflow when a mapping crossed a page table boundary. This would lead to the driver preallocating a huge number of MMU pages, exhausting system memory and triggering an out of memory panic. [Alessio: add paragraph to point out OOM bug being fixed, cc stable]

Announced Source revision 1
Original source ↗

CVE-2026-99004

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-99004

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": "ff5f643de0bf27874c4033cd57a0bd034b5c7d11",
        "lessThan": "51b56bad96fd20127034f660b337c00317c65151",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ff5f643de0bf27874c4033cd57a0bd034b5c7d11",
        "lessThan": "f9b215b3e37a5047c406545de51bf8a2aeb4cd1c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ff5f643de0bf27874c4033cd57a0bd034b5c7d11",
        "lessThan": "7f73da0facf864fe796371ebaccacb1fee678aaf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "ff5f643de0bf27874c4033cd57a0bd034b5c7d11",
        "lessThan": "789f290b2e81d42820bddcb4010ffbc2ae2ded54",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/imagination/pvr_mmu.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.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/imagination/pvr_mmu.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-99004

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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