Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138933

drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linux96c3a1830434e20212b01784f22486eb031377f0 – < 7c162b45a19c3cc1e633c8be7167acd65ed3b91d · 0d3ec0a19f3abdb9504331c1f136bdc7410b8a64 – < 1da57667eb8421dfff4ad307cb2cc2436aaaf448 · 5e05be78264594634860087953649487f486ffcc – < 5758338c8c762410f0b8042bc03a4a485e4e8e55 · 5e05be78264594634860087953649487f486ffcc – < c4a692585615f76c8ac421015285cfd13a2f0969 · 5e05be78264594634860087953649487f486ffcc – < 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 · 5e05be78264594634860087953649487f486ffcc – < ab91ba61871a896ca2ecc6e048d80a152136da44 · 57a90fb6ab1169ab285a1d1e224630a69fda2d01 · 6.1.63 – < 6.1.193 · 6.6.2 – < 6.6.163 · 6.5.12 – < 6.6Fixed in: 7c162b45a19c3cc1e633c8be7167acd65ed3b91d · 1da57667eb8421dfff4ad307cb2cc2436aaaf448 · 5758338c8c762410f0b8042bc03a4a485e4e8e55 · c4a692585615f76c8ac421015285cfd13a2f0969 · 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 · ab91ba61871a896ca2ecc6e048d80a152136da44 · 6.1.193 · 6.6.163 · 6.6
Linux Linux6.7Fixed in: 6.1.193 · 6.6.163 · 6.12.118 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.