CVE-2026-138933: drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()
drm/msm/dsi: Fix VM leak in dsitxbufalloc6g()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1Fixed in 7.3.4-1 - Compensating control
In dsi_tx_buf_alloc_6g(), on the error path, drop the VM reference and clear msm_host->vm.
Event History
Frequently Asked Questions
Which systems are exposed to this leak?
The issue affects Linux kernel systems that execute the drm/msm/dsi transmit-buffer allocation path. The leak occurs specifically when dsi_tx_buf_alloc_6g() obtains a KMS VM reference and msm_gem_kernel_new() then fails.
Why does the normal transmit-buffer cleanup not release the leaked reference?
On this error path, msm_host->tx_gem_obj is cleared. As a result, msm_dsi_tx_buf_free() does not see a non-NULL transmit GEM object and does not call drm_gpuvm_put() to release the VM reference.
What remediation is available?
The fix drops the KMS VM reference and clears msm_host->vm when msm_gem_kernel_new() fails. Stable kernel fixes are referenced by commits 7c162b45a19c3cc1e633c8be7167acd65ed3b91d, 1da57667eb8421dfff4ad307cb2cc2436aaaf448, and 5758338c8c762410f0b8042bc03a4a485e4e8e55.