{"id":"CVE-2026-98512","published":"2026-10-18T15:17:27Z","modified":"2026-10-24T14:09:12Z","title":"drm/nouveau: RCU-free the scheduler-containing nouveau_sched","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: RCU-free the scheduler-containing nouveau_sched\n\nstruct nouveau_sched embeds a struct drm_gpu_scheduler (base).\nnouveau_sched_destroy() calls nouveau_sched_fini() (which does\ndrm_sched_fini(&sched->base)) and then frees the object with plain\nkfree(sched).\n\ndrm_sched_fence_get_timeline_name() returns fence->sched->name, and the\nscheduler fence keeps a .release callback so it is not ops-detached on\nsignalling.  A finished fence exported to userspace via drm_syncobj /\nsync_file therefore keeps pointing at &sched->base after nouveau_sched_destroy(),\nand a later get_timeline_name() -- reachable unprivileged through\nSYNC_IOC_FILE_INFO -- dereferences freed memory (KASAN slab-use-after-free\nread).\n\nPer the dma-fence lifetime contract the exporter must keep the data backing a\nsignalled fence alive for an RCU grace period.  Free the scheduler-containing\nobject with kfree_rcu() instead of kfree().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00159,"percentile":0.05046,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/40edf5eefc3fd94592a91d6eb074d4fc6f606c75","tags":[]},{"url":"https://git.kernel.org/stable/c/35151e9a8274174ccbb92e3b3ba7dc7a008dcada","tags":[]},{"url":"https://git.kernel.org/stable/c/cd6e11b6ebe04a0a1f1435df561acada9eadc563","tags":[]},{"url":"https://git.kernel.org/stable/c/f7eae6d8d768fabd6b59779ca7da79e02c74e113","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5f03a507b29e44a848f315c7240c19894dd8be4f, < 40edf5eefc3fd94592a91d6eb074d4fc6f606c75",">= 5f03a507b29e44a848f315c7240c19894dd8be4f, < 35151e9a8274174ccbb92e3b3ba7dc7a008dcada",">= 5f03a507b29e44a848f315c7240c19894dd8be4f, < cd6e11b6ebe04a0a1f1435df561acada9eadc563",">= 5f03a507b29e44a848f315c7240c19894dd8be4f, < f7eae6d8d768fabd6b59779ca7da79e02c74e113"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2026-103752","exploited":false,"provenance":"source"}}