CVE-2026-46215
Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-416
Utilización después de liberación
Fecha de publicación:
28/05/2026
Última modificación:
10/06/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm: Set old handle to NULL before prime swap in change_handle<br />
<br />
There was a potential race condition in change_handle. The ioctl<br />
briefly had a single object with two idr entries; a concurrent<br />
gem_close could delete the object and remove one of the handles<br />
while leaving the other one dangling, which could subsequently<br />
be dereferenced for a use-after-free.<br />
<br />
To fix this, do the same dance that gem_close itself does.<br />
(f6cd7daecff5 drm: Release driver references to handle before making it available again)<br />
First idr_replace the old handle to NULL. Later, if the prime<br />
operations are successful, actually close it.<br />
<br />
create_tail required a similar dance to avoid a similar problem.<br />
(bd46cece51a3 drm/gem: Fix race in drm_gem_handle_create_tail())<br />
It idr_allocs the new handle with NULL, then swaps in the correct<br />
object later to avoid races. We don&#39;t need to do that here, since<br />
the only operations that could race are drm_prime, and<br />
change_handle holds the prime lock for the entire duration.<br />
<br />
v2: cleanups of error paths
Impacto
Puntuación base 3.x
7.80
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.18 (incluyendo) | 6.18.32 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 7.0.9 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



