CVE-2026-98180 Uso después de liberar en drm/msm al liberar con kfree los objetos ring y VM que contienen el scheduler
En el kernel de Linux, msm_ringbuffer_destroy() y msm_gem_vm_free() llaman a drm_sched_fini() sobre el scheduler embebido y luego liberan el objeto con kfree(). Un fence terminado exportado a espacio de usuario sigue apuntando al scheduler liberado, por lo que una llamada posterior a get_timeline_name(), alcanzable sin privilegios mediante SYNC_IOC_FILE_INFO, lee memoria liberada (slab-use-after-free).
CVSS 3.1
- Probabilidad de explotación0,1 %
- Explotada activamenteNo confirmada
- Exploit públicoSí, 1
Afectados
Linux
desde 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 hasta antes de d81bf4581903b0cba0698cd4d1c07fc6be21754adesde 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 hasta antes de 713abac5c04ccbae67f9ac68c3921845535388e7desde 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 hasta antes de 01c8d1f385f788f1bbbbb7687c4386d614281218
Linux
5.15
Qué hacer
- Verificá si usás Linux y en qué versión.
- Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
- Priorizá la corrección: hay código de explotación público.
- Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.
Exploits públicos
Código publicado por terceros. Puede ser malicioso: revisalo solo en un entorno aislado.
Calculadora CVSS
CVSS 3.1 · 7.1 ALTA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Vector de ataqueLocal
- Complejidad del ataqueBaja
- Privilegios requeridosBajos
- Interacción del usuarioNinguna
- AlcanceSin cambio
- ConfidencialidadAlta
- IntegridadNinguna
- DisponibilidadAlta
Descripción original
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/
Referencias (3)
Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.