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/
https://git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969
https://git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44
https://git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d
https://git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55
https://git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470
https://git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448