Re: [PATCH] drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()

From: Dmitry Baryshkov

Date: Fri Oct 02 2026 - 20:48:17 EST


On Wed, 16 Sep 2026 17:57:38 +0000, Wentao Liang wrote:
> 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.
>
> [...]

Applied to ttt, thanks!

[1/1] drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()
https://gitlab.freedesktop.org/lumag/msm/-/commit/ab91ba61871a

Best regards,
--
With best wishes
Dmitry