CVE-2026-98999·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix stale pinned_link entry when fb-pin performs the final unpin xe_bo_pin_external() and xe_bo_unpin_external() maintain the bo's pinned_link list membership in xe->pinned.late.external, based on whether the current call is the outermost pin or the final unpin. However, the same external bo's pin_count can also be raised and lowered directly by __xe_pin_fb_vma()/__xe_unpin_fb_vma(), which pin the bo as a display scanout buffer without going through xe_bo_pin_external()/xe_bo_unpin_external() at all, and have no notion of, or ownership over, pinned_link. If a bo is pinned both externally (e.g. dma-buf export) and as an fb, and the external unpin happens first, xe_bo_unpin_external() correctly observes pin_count > 1 and leaves the bo on pinned_link. When the fb unpin later performs the true last unpin (pin_count 1 -> 0), it never touches pinned_link, leaving the bo linked on xe->pinned.late.external indefinitely. Once the bo is subsequently freed, this stale list entry points into freed memory, corrupting the list and risking a use-after-free the next time the list is walked or spliced. The backup object pin/unpin sites in xe_bo_notifier_prepare_pinned()/ xe_bo_notifier_unprepare_pinned() have the same bypass characteristic, though they never add their bo to a pinned list, so are not affected by this particular list-corruption issue. Move the pinned_link removal into xe_bo_account_unpin(), which already runs on every unpin path (kernel, external, framebuffer, backup object) right before the true 1 -> 0 pin_count transition. Since list_del_init() only operates on the node itself, this removal is list-agnostic and safe to perform regardless of which list (external or kernel_bo_present) the bo happens to be linked on, or which code path is performing the final unpin. Drop the now-redundant explicit list_del_init() calls in xe_bo_unpin_external() and xe_bo_unpin(). v2: - New patch v3: - Rebased on changes to previous patch. (cherry picked from commit ca58d36a1f93af586ee93b340c9f9fd81312cc01)
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.57, 7.2.11, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 8% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98999 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to patch a memory corruption vulnerability affecting the DRM/XE graphics driver's pin management logic. If you run kernel 6.18.x, update to 6.18.57 or later; if you run 7.2.x, update to 7.2.11 or later; if you run 7.3+, ensure you have the latest stable release. Alternatively, check if your Linux distribution has released a patched kernel package and install it through your package manager.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and compare against the affected ranges (6.x < 6.18.57, 7.2.x < 7.2.11, 7.3.x without patch)
- Step 2: Verify if the XE DRM driver is loaded by running `lsmod | grep xe` (indicates GPU using XE driver)
- Step 3: Search kernel logs for memory corruption signatures with `sudo dmesg | grep -i 'use-after-free\|corruption\|segfault' | tail -20`
- Step 4: After applying the kernel update, reboot and confirm the new version with `uname -r`, then verify XE driver still loads with `lsmod | grep xe`
FAQ
What is CVE-2026-98999?
This vulnerability is a memory corruption bug in the Linux kernel's XE graphics driver where improper cleanup of pinned memory buffers can leave stale list entries pointing to freed memory, potentially causing use-after-free conditions when the driver accesses these corrupted list entries.
Is CVE-2026-98999 being actively exploited?
No, this CVE is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though the vulnerability does pose a local denial-of-service and potential privilege escalation risk to users with access to graphics devices.
What versions of Kernel are affected by CVE-2026-98999?
The vulnerability affects kernel 6.18.x versions prior to 6.18.57, kernel 7.2.x versions prior to 7.2.11, and kernel 7.3.x versions that lack the patch. Kernels before 6.18 are unaffected as they predate the vulnerable code.
How do I check if my server is vulnerable to CVE-2026-98999?
Run `uname -r` to get your kernel version. If it shows 6.18.x with x < 57, 7.2.x with x < 11, or an unpatched 7.3.x build, you are vulnerable. Additionally, run `lsmod | grep xe` to confirm if the XE driver is loaded on your system.
Does Defensia detect CVE-2026-98999?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98999 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98999. Free for 1 server.
Get started free