CVE-2026-98512·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: RCU-free the scheduler-containing nouveau_sched struct nouveau_sched embeds a struct drm_gpu_scheduler (base). nouveau_sched_destroy() calls nouveau_sched_fini() (which does drm_sched_fini(&sched->base)) and then frees the object with plain kfree(sched). drm_sched_fence_get_timeline_name() returns fence->sched->name, and the scheduler fence keeps a .release callback so it is not ops-detached on signalling. A finished fence exported to userspace via drm_syncobj / sync_file therefore keeps pointing at &sched->base after nouveau_sched_destroy(), and a later get_timeline_name() -- reachable unprivileged through SYNC_IOC_FILE_INFO -- dereferences freed memory (KASAN slab-use-after-free read). Per the dma-fence lifetime contract the exporter must keep the data backing a signalled fence alive for an RCU grace period. Free the scheduler-containing object with kfree_rcu() instead of kfree().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.112, 6.18.55, 7.2.9, 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.20% — higher than 9% 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-98512 scores 7.1 on CVSS, so a successful attack would be serious — but at 0.20%, 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 a patched stable version to resolve a use-after-free vulnerability in the nouveau GPU scheduler. If you are running kernel 6.12.x, update to 6.12.112 or later; if on 6.18.x, update to 6.18.55 or later; if on 7.2.x, update to 7.2.9 or later. Alternatively, install your Linux distribution's latest kernel security update package, which includes this fix.
sudo dnf update kernel kernel-headers kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version and verify if it is older than the patched versions (6.12.112, 6.18.55, 7.2.9, or 7.3+)
- Check if the nouveau GPU driver is loaded by running `lsmod | grep nouveau`; if it returns no output, your system is not vulnerable
- Search system logs for GPU scheduler fence operations by running `dmesg | grep -i 'nouveau\|gpu\|scheduler'` to identify if the affected code path is active
- After patching, reboot and verify the new kernel version with `uname -r` to confirm the fix was applied
FAQ
What is CVE-2026-98512?
A use-after-free vulnerability in the Linux kernel's nouveau GPU driver where GPU scheduler fence objects retain pointers to freed memory, allowing unprivileged users to trigger a kernel memory dereference via sync file operations.
Is CVE-2026-98512 being actively exploited?
No, there is no evidence of active exploitation in the wild or public exploit code available for this vulnerability.
What versions of Kernel are affected by CVE-2026-98512?
Kernel versions prior to 6.12.112, 6.18.55, 7.2.9, and mainline 7.3 are vulnerable. The exact affected version range depends on your kernel branch.
How do I check if my server is vulnerable to CVE-2026-98512?
Run `uname -r` to get your kernel version and compare it against the patched versions listed above. If your version is older and the nouveau driver is in use (check via `lsmod | grep nouveau`), your system is vulnerable.
Does Defensia detect CVE-2026-98512?
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-98512 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-98512. Free for 1 server.
Get started free