{"id":"CVE-2026-99145","aliases":[],"title":"drm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change","titleSource":"Linux","descriptionSource":"Linux","products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"536a2ead3a8f2048643da3e8340a4d73fdf71903","status":"affected","lessThan":"135e998dd1e66b8854db7bd356b6563baf8b9d51","versionType":"git"},{"version":"536a2ead3a8f2048643da3e8340a4d73fdf71903","status":"affected","lessThan":"ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f","versionType":"git"}],"defaultStatus":"unaffected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99145"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99145"}],"remediation":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Don't transfer shrinker pages for pinned bos on purgeable state change\n\nPinned bos have their pages removed from the shrinker's shrinkable /\npurgeable counts on pin, and added back on unpin according to the\nbo's purgeable state at that time.\n\nHowever, xe_bo_set_purgeable_shrinker() unconditionally transfers\npages between the shrinkable and purgeable counts. If the purgeable\nstate of a pinned bo changes, for example by userspace madvising\nDONTNEED on a VMA of a bo that is also pinned as a scanout buffer,\nthis underflows one count and, after unpin, leaves the other one\npermanently inflated.\n\nOnly update the purgeable flag for pinned bos, and leave the page\naccounting to unpin.\n\n(cherry picked from commit afe6bc012034123fd838328668e609bf57e46bd3)","severity":"unknown","score":null,"published":"2026-10-28T10:35:02.038Z","modified":"2026-10-28T10:35:02.038Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://git.kernel.org/stable/c/135e998dd1e66b8854db7bd356b6563baf8b9d51","https://git.kernel.org/stable/c/ffbfd3f98f4393e91dffce3a46ccb7cf5329cf2f"],"sources":[{"name":"CVE","id":"CVE-2026-99145","modified":"2026-10-28T10:35:02.038Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99145"}],"assessments":[],"sourceAffected":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T23:20:36.067Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}