CVE-2026-98512: drm/nouveau: RCU-free the scheduler-containing nouveau_sched

Published Oct 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

struct nouveausched embeds a struct drmgpuscheduler (base). nouveauscheddestroy() calls nouveauschedfini() (which does drmschedfini(&sched->base)) and then frees the object with plain kfree(sched).

drmschedfencegettimelinename() 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 drmsyncobj / syncfile therefore keeps pointing at &sched->base after nouveauscheddestroy(), and a later gettimelinename() -- reachable unprivileged through SYNCIOCFILEINFO -- 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 kfreercu() instead of kfree().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In nouveau_sched_destroy(), free the scheduler-containing object with kfree_rcu() instead of kfree() so the signalled fence remains valid through the RCU grace period.

Event History

Oct 18, 2026
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

Does triggering this issue require elevated privileges?

No. A later timeline-name lookup is reachable by an unprivileged user through SYNC_IOC_FILE_INFO, but a finished fence must first have been exported to userspace through drm_syncobj or sync_file after the associated scheduler is destroyed.

2

What change fixes the lifetime issue?

The scheduler-containing nouveau_sched object must be released with kfree_rcu() rather than plain kfree(). This preserves the data backing signalled fences until an RCU grace period has elapsed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203