CVE-2026-98310
drm/xe/shrinker: Take a runtime PM ref before shrinking non-system memory
Mitigation
- Upgrade Linux to 985862be16c7e4da808c51f393d631fb60c0be5c or later.
Who should check
- Anyone running Linux >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < b7f4d2588b1342bb190c04b3d7a32560f206c74c; >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < 985862be16c7e4da808c51f393d631fb60c0be5c
- Anyone running Linux 7.1
Vulnerability facts
- Affected
- Linux >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < b7f4d2588b1342bb190c04b3d7a32560f206c74c; >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < 985862be16c7e4da808c51f393d631fb60c0be5c; Linux 7.1
- Fixed in
- Linux 985862be16c7e4da808c51f393d631fb60c0be5c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/shrinker: Take a runtime PM ref before shrinking non-system memory __xe_shrinker_walk() walks the SYSTEM and TT LRUs without a runtime PM reference. Shrinking a bo outside system memory invalidates its GPU mappings, which needs the device resumed, so while it is runtime suspended the page table zap trips an assert and the TLB invalidation returns -ENODEV: WARNING: drivers/gpu/drm/xe/xe_bo.c:770 at xe_bo_move_notify+0x1fc/0x450 [xe] xe_bo_shrink+0x20f/0x2b0 [xe] __xe_shrinker_walk+0x174/0x410 [xe] xe_shrinker_scan+0x10c/0x1e0 [xe] do_shrink_slab+0x176/0x7e0 drop_caches_sysctl_handler+0x9c/0xf0 Take a reference before walking a memory type other than XE_PL_SYSTEM and stop there if it cannot be acquired. Reuse the shrinker's existing acquire path, which resumes the device directly where reclaim allows that and otherwise queues the PM worker for a later scan. Stop the walk once the scan target is met, so a satisfied scan does not wake the device. System memory is still reclaimed while the device is suspended. Gate this on xe_device_is_l2_flush_optimized(), the same condition under which xe_bo_trigger_rebind() issues the invalidation for a non-fault-mode vm, so reclaim is unaffected elsewhere. The System CCS copy already has its own reference in xe_bo_shrink(). Only a non-fault-mode vm can reach this, since a fault-mode vm requires LR mode and that holds a runtime PM reference for the vm's lifetime. Reproduced with igt@xe_madvise@dontneed-before-exec while the GPU is runtime suspended. v2: simplify needs_rpm check. (Matt) retarget Fixes tag since the issue occurs with the non-fault-mode path added by 4e7ebff69aed. v3: handle this in xe_shrinker.c instead of xe_bo.c (Thomas) v4: stop the walk once the scan target is met. (Sashiko) v5: rebase on the freed page accounting fix. (Sashiko) v6: reuse the shrinker acquire path so runtime pm can be resumed directly instead of always queueing a worker. (Thomas) v7: replace xe_pm_runtime_put() with xe_shrinker_runtime_pm_put(). (Thomas) (cherry picked from commit 628f92b28bf4c371c10207daf6fc4caee0c0db2e)
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98310. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98310.md Affected: Linux >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < b7f4d2588b1342bb190c04b3d7a32560f206c74c; >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < 985862be16c7e4da808c51f393d631fb60c0be5c; Linux 7.1 Fixed in: Linux 985862be16c7e4da808c51f393d631fb60c0be5c 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.
References
FAQ
Is CVE-2026-98310 being exploited?
There is no confirmed exploitation: CVE-2026-98310 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-98310?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98310?
Linux >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < b7f4d2588b1342bb190c04b3d7a32560f206c74c; >= 4e7ebff69aed345f65f590a17b3119c0cb5eadde, < 985862be16c7e4da808c51f393d631fb60c0be5c; Linux 7.1.
Is there a fix for CVE-2026-98310?
Yes. Fixed in Linux 985862be16c7e4da808c51f393d631fb60c0be5c. Upgrade Linux to 985862be16c7e4da808c51f393d631fb60c0be5c or later.
How do I check if I'm affected by CVE-2026-98310?
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.