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().
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure via Use‑After‑Free
Action: Patch Update
AI Analysis

Impact

A use‑after‑free flaw exists in the Nouveau DRM driver of the Linux kernel. The driver destroys a scheduler object with a simple kfree while a fence still references the scheduler’s base structure. When the fence is exported to userspace and a user calls get_timeline_name() through the SYNC_IOC_FILE_INFO ioctl, the kernel dereferences the freed scheduler pointer, triggering a KASAN slab‑use‑after‑free read that can leak kernel data such as the scheduler name. The flaw does not provide direct code execution.

Affected Systems

The vulnerability is present in any Linux kernel build that includes the Nouveau DRM driver for NVIDIA GPUs. No specific kernel versions are listed, so all kernels containing the vulnerable code before the patch that replaces kfree with kfree_rcu may be affected. Unprivileged users on such systems can trigger the flaw via normal sync object interfaces.

Risk and Exploitability

The EPSS score is not available and the flaw is not listed in the CISA KEV catalog, indicating no current evidence of in‑the‑wild exploitation. However, the flaw can be triggered locally by an unprivileged user who can create or access sync objects. The resulting KASAN violations or kernel crashes could provide information disclosure and serve as a foothold for further local attacks, but no proven exploit chain is known.

Generated by OpenCVE AI on October 19, 2026 at 00:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel release that incorporates the patch replacing the scheduler‑object kfree with kfree_rcu.
  • If an immediate kernel upgrade is not possible, reduce attack surface by disabling unnecessary sync object or SYNC_IOC_FILE_INFO usage where feasible and monitor kernel logs for KASAN or Oops messages related to the Nouveau driver.
  • Consider disabling the Nouveau driver entirely if the system does not require NVIDIA GPU acceleration, thereby preventing the vulnerable paths from being exercised.
  • Check vendor or distribution channels for an updated kernel version and apply it as soon as it becomes available.

Generated by OpenCVE AI on October 19, 2026 at 00:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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().
Title drm/nouveau: RCU-free the scheduler-containing nouveau_sched
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:17:27.102Z

Reserved: 2026-09-25T10:25:14.354Z

Link: CVE-2026-98512

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:02.457

Modified: 2026-10-18T16:17:02.457

Link: CVE-2026-98512

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T02:45:15Z

Weaknesses