{"id":"CVE-2026-98180","aliases":["CVE-2026-98180"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm: RCU-free the scheduler-containing ring and VM objects","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: RCU-free the scheduler-containing ring and VM objects\n\nBoth struct msm_ringbuffer and struct msm_gem_vm embed a struct\ndrm_gpu_scheduler.  msm_ringbuffer_destroy() and the VM free callback\nmsm_gem_vm_free() call drm_sched_fini() on the embedded scheduler and then\nfree the containing object with plain kfree().\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 (the submit out-fence, or\na VM_BIND fence, via sync_file / drm_syncobj) keeps pointing at the embedded\nscheduler after the ring/VM is freed, so a later get_timeline_name() --\nreachable unprivileged through SYNC_IOC_FILE_INFO -- dereferences freed slab\nmemory (KASAN slab-use-after-free read).\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\nobjects with kfree_rcu() instead of kfree().\n\nPatchwork: https://patchwork.freedesktop.org/patch/750234/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: RCU-free the scheduler-containing ring and VM objects\n\nBoth struct msm_ringbuffer and struct msm_gem_vm embed a struct\ndrm_gpu_scheduler.  msm_ringbuffer_destroy() and the VM free callback\nmsm_gem_vm_free() call drm_sched_fini() on the embedded scheduler and then\nfree the containing object with plain kfree().\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 (the submit out-fence, or\na VM_BIND fence, via sync_file / drm_syncobj) keeps pointing at the embedded\nscheduler after the ring/VM is freed, so a later get_timeline_name() --\nreachable unprivileged through SYNC_IOC_FILE_INFO -- dereferences freed slab\nmemory (KASAN slab-use-after-free read).\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\nobjects with kfree_rcu() instead of kfree().\n\nPatchwork: https://patchwork.freedesktop.org/patch/750234/","source":"cvelist"}],"published":"2026-10-06T08:44:23.327Z","modified":"2026-11-23T08:17:24.317Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"587f5931eef21218c6310685d174cf7e10db93ca","status":"affected"},{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"364e2f53616122f06d96aa51d3308413cfe958ea","status":"affected"},{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"0ba7c696eea3af41ac4712197566a7b94eedc637","status":"affected"},{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"d81bf4581903b0cba0698cd4d1c07fc6be21754a","status":"affected"},{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"713abac5c04ccbae67f9ac68c3921845535388e7","status":"affected"},{"type":"git","introduced":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19","fixed":"01c8d1f385f788f1bbbbb7687c4386d614281218","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/587f5931eef21218c6310685d174cf7e10db93ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/364e2f53616122f06d96aa51d3308413cfe958ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ba7c696eea3af41ac4712197566a7b94eedc637","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d81bf4581903b0cba0698cd4d1c07fc6be21754a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/713abac5c04ccbae67f9ac68c3921845535388e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01c8d1f385f788f1bbbbb7687c4386d614281218","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98180","url":"https://www.cve.org/CVERecord?id=CVE-2026-98180","licence":"CVE Terms of Use","modified":"2026-11-23T07:59:36.631Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98180","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98180","licence":"Public domain","modified":"2026-11-23T08:17:24.317Z"}],"updatedAt":"2026-11-25T22:59:42.279Z","epss":{"score":0.00155,"percentile":0.04863,"date":"2026-12-01T12:00:22.000Z"}}