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

CVE-2026-98180
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.15 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
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/

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 587f5931eef21218c6310685d174cf7e10db93ca
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 364e2f53616122f06d96aa51d3308413cfe958ea
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 0ba7c696eea3af41ac4712197566a7b94eedc637
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < d81bf4581903b0cba0698cd4d1c07fc6be21754a
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 713abac5c04ccbae67f9ac68c3921845535388e7
affectée : ≥ 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 < 01c8d1f385f788f1bbbbb7687c4386d614281218
Autres versions : non affectée
Linux · Linux
affectée : 5.15
non affectée : ≥ 0 < 5.15
non affectée : ≥ 6.1.193 ≤ 6.1.*
non affectée : ≥ 6.6.163 ≤ 6.6.*
non affectée : ≥ 6.12.117 ≤ 6.12.*
non affectée : ≥ 6.18.54 ≤ 6.18.*
non affectée : ≥ 7.2.8 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD