drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()
Summary
| CVE | CVE-2026-138933 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:52 UTC |
| Updated | 2026-11-30 14:17:52 UTC |
| 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/ |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 96c3a1830434e20212b01784f22486eb031377f0 7c162b45a19c3cc1e633c8be7167acd65ed3b91d git |
Not specified |
| CNA |
Linux |
Linux |
affected 0d3ec0a19f3abdb9504331c1f136bdc7410b8a64 1da57667eb8421dfff4ad307cb2cc2436aaaf448 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e05be78264594634860087953649487f486ffcc 5758338c8c762410f0b8042bc03a4a485e4e8e55 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e05be78264594634860087953649487f486ffcc c4a692585615f76c8ac421015285cfd13a2f0969 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e05be78264594634860087953649487f486ffcc 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5e05be78264594634860087953649487f486ffcc ab91ba61871a896ca2ecc6e048d80a152136da44 git |
Not specified |
| CNA |
Linux |
Linux |
affected 57a90fb6ab1169ab285a1d1e224630a69fda2d01 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.1.63 6.1.193 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.6.2 6.6.163 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.5.12 6.6 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.7 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.7 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.