drm/msm: RCU-free the scheduler-containing ring and VM objects (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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/
References
- https://git.kernel.org/stable/c/587f5931eef21218c6310685d174cf7e10db93ca
- https://git.kernel.org/stable/c/364e2f53616122f06d96aa51d3308413cfe958ea
- https://git.kernel.org/stable/c/0ba7c696eea3af41ac4712197566a7b94eedc637
- https://git.kernel.org/stable/c/d81bf4581903b0cba0698cd4d1c07fc6be21754a
- https://git.kernel.org/stable/c/713abac5c04ccbae67f9ac68c3921845535388e7
- https://git.kernel.org/stable/c/01c8d1f385f788f1bbbbb7687c4386d614281218
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-93108
- GCVE · GCVE-0-2026-98180
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 587f5931eef21218c6310685d174cf7e10db93ca affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 364e2f53616122f06d96aa51d3308413cfe958ea affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 0ba7c696eea3af41ac4712197566a7b94eedc637 affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < d81bf4581903b0cba0698cd4d1c07fc6be21754a affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 713abac5c04ccbae67f9ac68c3921845535388e7 affected : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 01c8d1f385f788f1bbbbb7687c4386d614281218 Other versions : unaffected |
| Linux · Linux | affected : 5.15 unaffected : ≥ 0 < 5.15 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.54 ≤ 6.18.* unaffected : ≥ 7.2.8 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |