VDB

CVE-2026-98512

CVE-2026-98512 PUBLISHED CVSS 7.1 HIGH

drm/nouveau: RCU-free the scheduler-containing nouveau_sched

Reported by linux · Published October 18, 2026

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

EPSS 0.16% · 5.2th percentile

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score
0.16%
5.2th percentile

Affected products

VendorProductVersions
LinuxLinux5f03a507b29e44a848f315c7240c19894dd8be4f, 5f03a507b29e44a848f315c7240c19894dd8be4f, 5f03a507b29e44a848f315c7240c19894dd8be4f
LinuxLinux6.8, 0, 6.12.112
LinuxLinux
linuxlinux_kernel6.8, 6.8, 6.8
LinuxLinux5f03a507b29e44a848f315c7240c19894dd8be4f, 6.8, 0

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (4 in total, the first dated here)
  • Oct 24, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98512
vulnetix vdb fixes CVE-2026-98512

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98512/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›