drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g() dsi_tx_buf_alloc_6g() takes a reference to the kms VM with drm_gpuvm_get() and stores it in msm_host->vm. If msm_gem_kernel_new() fails, the function returns early without dropping that reference. Since msm_host->tx_gem_obj is cleared on the error path, msm_dsi_tx_buf_free() will never see a non-NULL tx_gem_obj and thus never calls drm_gpuvm_put(), leaking the VM reference. Drop the VM reference and clear msm_host->vm on the error path. Patchwork: https://patchwork.freedesktop.org/patch/754332/
References
- https://git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d
- https://git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448
- https://git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55
- https://git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969
- https://git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470
- https://git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44
European references
- ENISA EUVD · EUVD-2026-138836
- GCVE · GCVE-0-2026-138933
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 96c3a1830434e20212b01784f22486eb031377f0 < 7c162b45a19c3cc1e633c8be7167acd65ed3b91d affected : ≥ 0d3ec0a19f3abdb9504331c1f136bdc7410b8a64 < 1da57667eb8421dfff4ad307cb2cc2436aaaf448 affected : ≥ 5e05be78264594634860087953649487f486ffcc < 5758338c8c762410f0b8042bc03a4a485e4e8e55 affected : ≥ 5e05be78264594634860087953649487f486ffcc < c4a692585615f76c8ac421015285cfd13a2f0969 affected : ≥ 5e05be78264594634860087953649487f486ffcc < 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 affected : ≥ 5e05be78264594634860087953649487f486ffcc < ab91ba61871a896ca2ecc6e048d80a152136da44 affected : 57a90fb6ab1169ab285a1d1e224630a69fda2d01 affected : ≥ 6.1.63 < 6.1.193 affected : ≥ 6.6.2 < 6.6.163 affected : ≥ 6.5.12 < 6.6 Other versions : unaffected |
| Linux · Linux | affected : 6.7 unaffected : ≥ 0 < 6.7 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.63 ≤ 6.18.* unaffected : ≥ 7.3.4 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |