Executive summary
CVE-2026-138933 affects the Linux kernel Direct Rendering Manager driver for Qualcomm MSM chipsets, specifically the Display Serial Interface code under drm/msm/dsi. The vulnerable function, dsi_tx_buf_alloc_6g(), acquires a reference to a KMS virtual-machine object before attempting to allocate a kernel GEM object. If that allocation fails, the function returns without releasing the VM reference.
The defect is a reference-count leak in an error path. Its main consequence is gradual accumulation of unreleased GPU-VM references, potentially contributing to resource exhaustion and display-subsystem instability on affected systems. The available record contains no CVSS vector, no evidence of exploitation, and no indication that the CVE is listed in the CISA Known Exploited Vulnerabilities catalog. The practical security impact is therefore assessed as low.
Affected systems
The vulnerable code is present in Linux kernel builds that include the affected drm/msm/dsi implementation of dsi_tx_buf_alloc_6g(). In practice, exposure is limited to systems using Qualcomm MSM hardware and driver configurations that exercise the 6G DSI transmission-buffer allocation path.
The advisory does not enumerate affected kernel versions, commits, Android kernel branches, or distribution packages. Administrators therefore cannot determine exposure from the CVE record alone and need to inspect the relevant drm/msm/dsi source or kernel package changelogs. Custom and long-term-support kernels that backported the affected driver code may also be vulnerable if they did not include the corrected error handling.
Technical details
The affected function follows this sequence:
dsi_tx_buf_alloc_6g()callsdrm_gpuvm_get()to acquire a reference to the KMS VM object.
- The reference is stored in
msm_host->vm.
- The function attempts to create a kernel GEM object through
msm_gem_kernel_new().
- If
msm_gem_kernel_new()fails, the error path clearsmsm_host->tx_gem_objand returns early.
- The early return does not call the matching
drm_gpuvm_put()and does not clearmsm_host->vm.
The missing release is not recovered by later cleanup. msm_dsi_tx_buf_free() only calls drm_gpuvm_put() when msm_host->tx_gem_obj is non-NULL. Because the failed allocation path clears that field, subsequent cleanup does not release the VM reference.
Each traversal of the faulty error path can therefore leave an additional VM reference outstanding. Repeated failures may increase memory pressure and contribute to VM object exhaustion or instability in the display subsystem. The available advisory does not indicate that an unprivileged user can directly select the failing allocation path, and the issue does not involve memory corruption, information disclosure, or an attacker-controlled write primitive.
Mitigation
The upstream correction releases the VM reference and clears msm_host->vm before returning from the failed-allocation path. The patch is published at:
https://patchwork.freedesktop.org/patch/754332/
Administrators responsible for Qualcomm MSM kernel branches should integrate this change through the relevant upstream, stable, Android Common Kernel, or distribution kernel process. The CVE record does not provide affected version ranges or package identifiers, so validation should be based on the actual drm/msm/dsi code and vendor package changelogs.
Because this issue has limited external observability, routine detection is difficult. Kernel maintainers can review the corrected error path and audit other drm/msm and GPU-VM consumers for similar mismatches between drm_gpuvm_get() and drm_gpuvm_put() calls. Where available, DRM debugging facilities may help identify unexpectedly persistent VM references, while monitoring allocator failures can help characterize how often the vulnerable path is reached.
Expert insight
CVE-2026-138933 is best understood as a reliability defect with limited direct security relevance. The bug sits in a specialized Qualcomm display-driver path and depends on an internal allocation failure; it is not presented as a remotely reachable attack primitive. Its significance comes from how cleanup ownership becomes inconsistent: the VM reference remains held, while the field that triggers its later release has already been cleared.
That pattern is more important than the immediate impact of a single leaked reference. Error paths are often exercised during low-memory conditions, precisely when systems are already under resource pressure. A repeated leak can therefore compound an existing operational problem. The direct patch is small, but related DRM GPU-VM code deserves review for the same acquire-and-release asymmetry.
Actionable recommendations
- Integrate the upstream Patchwork fix into every maintained kernel branch containing the affected
drm/msm/dsicode.
- Check downstream and LTS package changelogs because the CVE record does not identify vulnerable version ranges.
- Audit
drm/msmand other GPU-VM consumers for unmatcheddrm_gpuvm_get()anddrm_gpuvm_put()calls on error paths.
- Where diagnostic support is available, monitor DRM VM reference counts and
msm_gem_kernel_new()failure rates on affected Qualcomm systems.
- Treat unusual display instability or sustained memory pressure on exposed systems as a reason to review driver versions and allocation logs rather than as evidence of active exploitation.
منابع
- git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448
- git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470
- git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55
- git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d
- git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44
- git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969