CVE-2026-138933
Not scored
drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 96c3a1830434e20212b01784f22486eb031377f0 before 7c162b45a19c3cc1e633c8be7167acd65ed3b91d, from 0d3ec0a19f3abdb9504331c1f136bdc7410b8a64 before 1da57667eb8421dfff4ad307cb2cc2436aaaf448, from 5e05be78264594634860087953649487f486ffcc before 5758338c8c762410f0b8042bc03a4a485e4e8e55, from 5e05be78264594634860087953649487f486ffcc before c4a692585615f76c8ac421015285cfd13a2f0969, from 5e05be78264594634860087953649487f486ffcc before 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470, from 5e05be78264594634860087953649487f486ffcc before ab91ba61871a896ca2ecc6e048d80a152136da44, 57a90fb6ab1169ab285a1d1e224630a69fda2d01, from 6.1.63 before 6.1.193 and 3 more Not affected: before 6.7, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.*, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138933 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138933 changed 2026-11-30 | Public domain |