5.5medium
drm/msm: Fix a fence leak in submit error path
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix a fence leak in submit error path In error paths, we could unref the submit without calling drm_sched_entity_push_job(), so msm_job_free() will never get called. Since drm_sched_job_cleanup() will NULL out the s_fence, we can use that to detect this case. Patchwork: https://patchwork.freedesktop.org/patch/653584/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 5deab0fa6cfd0cd7def17598db15ceb84f950584, from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 201eba5c9652a900c0b248070263f9acd3735689, from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before fe2695b2f63bd77e0e03bc0fc779164115bb4699, from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 0eaa495b3d5710e5ba72051d2e01bb28292c625c, from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 0dc817f852e5f8ec8501d19ef7dcc01affa181d0, from 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 before 5d319f75ccf7f0927425a7545aa1a22b3eedc189, 3.12 Not affected: before 3.12, from 5.15.187 up to 5.15.*, from 6.1.144 up to 6.1.*, from 6.6.97 up to 6.6.*, from 6.12.37 up to 6.12.*, from 6.15.6 up to 6.15.* | CVE List |
| linux linux_kernel | from 3.12 before 5.15.187, from 5.16 before 6.1.144, from 6.2 before 6.6.97, from 6.7 before 6.12.37, from 6.13 before 6.15.6, 6.16 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix a fence leak in submit error path In error paths, we could unref the submit without calling drm_sched_entity_push_job(), so msm_job_free() will never get called. Since drm_sched_job_cleanup() will NULL out the s_fence, we can use that to detect this case. Patchwork: https://patchwork.freedesktop.org/patch/653584/
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm: Se corrige una fuga de la valla en la ruta de error de envío. En las rutas de error, podríamos eliminar la referencia del envío sin llamar a drm_sched_entity_push_job(), por lo que msm_job_free() nunca se llamaría. Dado que drm_sched_job_cleanup() anulará la s_fence, podemos usarla para detectar este caso. Patchwork: https://patchwork.freedesktop.org/patch/653584/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38410 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-38410 changed 2026-06-17 | Public domain |