CVE-2026-98512
drm/nouveau: RCU-free the scheduler-containing nouveau_sched
Check your servers for CVE-2026-98512
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98512 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.83% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5f03a507b29e44a848f315c7240c19894dd8be4f, before 40edf5eefc3fd94592a91d6eb074d4fc6f606c75 affected from 5f03a507b29e44a848f315c7240c19894dd8be4f, before 35151e9a8274174ccbb92e3b3ba7dc7a008dcada affected from 5f03a507b29e44a848f315c7240c19894dd8be4f, before cd6e11b6ebe04a0a1f1435df561acada9eadc563 affected from 5f03a507b29e44a848f315c7240c19894dd8be4f, before f7eae6d8d768fabd6b59779ca7da79e02c74e113
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.55 up to and including 6.18.* unaffected from 7.2.9 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98512 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98512
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98512
trivy image --scanners vuln IMAGE | grep CVE-2026-98512
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/40edf5eefc3fd94592a91d6eb074d4fc6f606c75 git.kernel.org
- https://git.kernel.org/stable/c/35151e9a8274174ccbb92e3b3ba7dc7a008dcada git.kernel.org
- https://git.kernel.org/stable/c/cd6e11b6ebe04a0a1f1435df561acada9eadc563 git.kernel.org
- https://git.kernel.org/stable/c/f7eae6d8d768fabd6b59779ca7da79e02c74e113 git.kernel.org
Source: the record CVE-2026-98512 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse