# CVE-2026-99145: drm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change

> 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.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-28T10:35:02.038Z
- **Modified:** 2026-10-28T11:17:34.547Z

## Who should check

- Anyone running Linux \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< 135e998dd1e66b8854db7bd356b6563baf8b9d51; \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change

Pinned bos have their pages removed from the shrinker's shrinkable /
purgeable counts on pin, and added back on unpin according to the
bo's purgeable state at that time.

However, xe\_bo\_set\_purgeable\_shrinker() unconditionally transfers
pages between the shrinkable and purgeable counts. If the purgeable
state of a pinned bo changes, for example by userspace madvising
DONTNEED on a VMA of a bo that is also pinned as a scanout buffer,
this underflows one count and, after unpin, leaves the other one
permanently inflated.

Only update the purgeable flag for pinned bos, and leave the page
accounting to unpin.

(cherry picked from commit afe6bc012034123fd838328668e609bf57e46bd3)

## Affected and fixed versions

- Linux: \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< 135e998dd1e66b8854db7bd356b6563baf8b9d51; \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99145.md
Affected: Linux >= 536a2ead3a8f2048643da3e8340a4d73fdf71903, < 135e998dd1e66b8854db7bd356b6563baf8b9d51; >= 536a2ead3a8f2048643da3e8340a4d73fdf71903, < ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f; Linux 7.1
Fixed in: Linux 135e998dd1e66b8854db7bd356b6563baf8b9d51

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-99145 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< 135e998dd1e66b8854db7bd356b6563baf8b9d51; \>= 536a2ead3a8f2048643da3e8340a4d73fdf71903, \< ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f; Linux 7.1.

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

Yes. Fixed in Linux 135e998dd1e66b8854db7bd356b6563baf8b9d51. No fix listed yet: follow the vendor advisory.

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

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/135e998dd1e66b8854db7bd356b6563baf8b9d51>
- other: <https://git.kernel.org/stable/c/ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f>

## 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-99145>

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