CVE-2026-98180
JSON

7.1high

drm/msm: RCU-free the scheduler-containing ring and VM objects

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm: RCU-free the scheduler-containing ring and VM objects Both struct msm_ringbuffer and struct msm_gem_vm embed a struct drm_gpu_scheduler. msm_ringbuffer_destroy() and the VM free callback msm_gem_vm_free() call drm_sched_fini() on the embedded scheduler and then free the containing object with plain kfree(). 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 (the submit out-fence, or a VM_BIND fence, via sync_file / drm_syncobj) keeps pointing at the embedded scheduler after the ring/VM is freed, so a later get_timeline_name() -- reachable unprivileged through SYNC_IOC_FILE_INFO -- dereferences freed slab 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 objects with kfree_rcu() instead of kfree(). Patchwork: https://patchwork.freedesktop.org/patch/750234/

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before 587f5931eef21218c6310685d174cf7e10db93ca, from 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before 364e2f53616122f06d96aa51d3308413cfe958ea, from 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before 0ba7c696eea3af41ac4712197566a7b94eedc637, from 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before d81bf4581903b0cba0698cd4d1c07fc6be21754a, from 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before 713abac5c04ccbae67f9ac68c3921845535388e7, from 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 before 01c8d1f385f788f1bbbbb7687c4386d614281218, 5.15
Not affected: before 5.15, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.54 up to 6.18.*, from 7.2.8 up to 7.2.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-98180 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-98180 changed 2026-11-23Public domain