# CVE-2026-99004: drm/imagination: Size page table preallocation by device address

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-23T12:20:29.122Z
- **Modified:** 2026-10-23T13:17:22.783Z

## Who should check

- Anyone running Linux \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 51b56bad96fd20127034f660b337c00317c65151; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< f9b215b3e37a5047c406545de51bf8a2aeb4cd1c; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 7f73da0facf864fe796371ebaccacb1fee678aaf; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 789f290b2e81d42820bddcb4010ffbc2ae2ded54
- Anyone running Linux 6.8

## Description

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\]

## Affected and fixed versions

- Linux: \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 51b56bad96fd20127034f660b337c00317c65151; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< f9b215b3e37a5047c406545de51bf8a2aeb4cd1c; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 7f73da0facf864fe796371ebaccacb1fee678aaf; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 789f290b2e81d42820bddcb4010ffbc2ae2ded54 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 789f290b2e81d42820bddcb4010ffbc2ae2ded54 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99004. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99004.md
Affected: Linux >= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, < 51b56bad96fd20127034f660b337c00317c65151; >= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, < f9b215b3e37a5047c406545de51bf8a2aeb4cd1c; >= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, < 7f73da0facf864fe796371ebaccacb1fee678aaf; >= ff5f643de0bf27874c4033c…
Fixed in: Linux 51b56bad96fd20127034f660b337c00317c65151, Linux 7f73da0facf864fe796371ebaccacb1fee678aaf, Linux 789f290b2e81d42820bddcb4010ffbc2ae2ded54

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99004 being exploited?

There is no confirmed exploitation: CVE-2026-99004 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99004?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99004?

Linux \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 51b56bad96fd20127034f660b337c00317c65151; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< f9b215b3e37a5047c406545de51bf8a2aeb4cd1c; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 7f73da0facf864fe796371ebaccacb1fee678aaf; \>= ff5f643de0bf27874c4033cd57a0bd034b5c7d11, \< 789f290b2e81d42820bddcb4010ffbc2ae2ded54; Linux 6.8.

### Is there a fix for CVE-2026-99004?

Yes. Fixed in Linux 51b56bad96fd20127034f660b337c00317c65151, Linux 7f73da0facf864fe796371ebaccacb1fee678aaf, Linux 789f290b2e81d42820bddcb4010ffbc2ae2ded54. Upgrade Linux to 789f290b2e81d42820bddcb4010ffbc2ae2ded54 or later.

### How do I check if I'm affected by CVE-2026-99004?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/51b56bad96fd20127034f660b337c00317c65151>
- other: <https://git.kernel.org/stable/c/f9b215b3e37a5047c406545de51bf8a2aeb4cd1c>
- other: <https://git.kernel.org/stable/c/7f73da0facf864fe796371ebaccacb1fee678aaf>
- other: <https://git.kernel.org/stable/c/789f290b2e81d42820bddcb4010ffbc2ae2ded54>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99004>

HTML: <https://flawdb.com/CVE-2026-99004> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99004>
