- Accueil
- Vulnérabilités
- CVE-2026-64099
CVE-2026-64099
In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix use-after-free of CPU job…
Résumé
In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix use-after-free of CPU job query arrays on error path The CPU job ioctl's fail label calls kvfree() on cpu_job's timestamp and performance query arrays after v3d_job_cleanup(), which drops the job's last reference and frees cpu_job. Reading cpu_job at that point is a use-after-free. Also, on the early v3d_job_init() failure path, it is a NULL dereference, since v3d_job_deallocate() zeroes the local pointer. In the success path, the arrays are released from the scheduler's .free_job callback, but on the error path, they are freed manually, as the job was never pushed to the scheduler. While the success path deals with this correctly, the fail path doesn't. On top of that, the manual kvfree() calls only free the array storage; they don't drm_syncobj_put() the per-query syncobjs that v3d_timestamp_query_info_free() and v3d_performance_query_info_free() release on the success path. So the same fail path that triggers the use-after-free also leaks one syncobj reference per query. Unify the CPU job teardown into the CPU job's kref destructor, mirroring v3d_render_job_free(). The scheduler's .free_job slot reverts to the generic v3d_sched_job_free() and the fail label drops the manual kvfree() calls, leaving a single teardown path that is reached from both the scheduler and the ioctl error path. That removes the use-after-free, the NULL dereference, and the syncobj leak by construction.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux kernel | de 6.8 (inclus) à 6.12.93 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.34 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.0.11 (exclu) |
— | NVD |
| Linux kernel | 7.1 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
Avis CERT-FR
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (13 novembre 2026) 13 nov. 2026
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (09 octobre 2026) 9 oct. 2026
Références
- https://git.kernel.org/stable/c/0f8efc45740b0628a787d1b0be8a0ddabd700625Patch
- https://git.kernel.org/stable/c/69c2a1fec2e7ca25598180816f3bc56e1842eb41Patch
- https://git.kernel.org/stable/c/acd55ea40d03e06f20a9986363019e0e5173990ePatch
- https://git.kernel.org/stable/c/b0fe80c0b9250b35e2211bf3117e7aca814a21b0Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)- Faiblesse
- CWE-416 · Corruption mémoire