In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: RCU-free the scheduler-containing nouveau_sched struct… (CVE-2026-98512)
Description
A use-after-free vulnerability in the Linux kernel's drm/nouveau driver was resolved by changing the freeing method of the nouveau_sched struct to use RCU (Read-Copy-Update) mechanisms. The issue involved a scheduler fence that could reference freed memory, leading to a kernel memory access error. This vulnerability could be triggered by unprivileged users accessing sync file information, causing a kernel slab-use-after-free read.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's drm/nouveau driver arises from improper freeing of the nouveau_sched struct, which embeds a drm_gpu_scheduler. The nouveau_sched_destroy() function calls nouveau_sched_fini() and then frees the struct with kfree(), but the scheduler fence exported to userspace can still reference the freed memory after destruction. This leads to a use-after-free condition detectable by Kernel Address Sanitizer (KASAN). The fix involves freeing the scheduler-containing object with kfree_rcu() to respect the dma-fence lifetime contract, ensuring the data backing a signaled fence remains valid for an RCU grace period.
Potential Impact
The vulnerability allows unprivileged users to cause a kernel use-after-free read via the SYNC_IOC_FILE_INFO ioctl, potentially leading to kernel memory corruption or crashes. While no known exploits are reported, the flaw could be leveraged for denial of service or information disclosure in the kernel space.
Mitigation Recommendations
A fix is available that changes the freeing method of the nouveau_sched struct from kfree() to kfree_rcu(), ensuring safe memory reclamation after an RCU grace period. Users should update their Linux kernel to a version that includes this patch. No additional mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2689-7jhq-fvhw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98512"]
Threat ID: 6ad520b02cdf04f656993aec
Added to database: 10/18/2026, 19:40:32 UTC
Last enriched: 10/18/2026, 20:19:03 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.