CVE-2026-98512
Received Received - Intake

Use-After-Free in Nouveau Linux Kernel Driver

Vulnerability report for CVE-2026-98512, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-18

Last updated on: 2026-10-18

Assigner: kernel.org

Description

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-18
Last Modified
2026-10-18
Generated
2026-10-18
AI Q&A
2026-10-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
Linux Linux 5f03a507b29e44a848f315c7240c19894dd8be4f
Linux Linux 5f03a507b29e44a848f315c7240c19894dd8be4f
Linux Linux 5f03a507b29e44a848f315c7240c19894dd8be4f
Linux Linux 5f03a507b29e44a848f315c7240c19894dd8be4f
Linux Linux 6.8

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free vulnerability in the Linux kernel's Nouveau DRM driver. It occurs when a scheduler object is freed with kfree() while a reference to it still exists in a userspace-accessible fence. The fence's release callback keeps pointing to freed memory, which can be accessed via SYNC_IOC_FILE_INFO, leading to a slab-use-after-free read.

Impact Analysis

An unprivileged local attacker could exploit this to read sensitive kernel memory, potentially leading to information disclosure or privilege escalation. Systems using affected Nouveau DRM drivers are at risk.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98512. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart