{"api_version":"1","generated_at":"2026-12-01T12:49:04+00:00","cve":"CVE-2026-138933","urls":{"html":"https://cve.report/CVE-2026-138933","api":"https://cve.report/api/cve/CVE-2026-138933.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138933","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138933"},"summary":{"title":"drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()\n\ndsi_tx_buf_alloc_6g() takes a reference to the kms VM with\ndrm_gpuvm_get() and stores it in msm_host->vm.  If\nmsm_gem_kernel_new() fails, the function returns early without\ndropping that reference.  Since msm_host->tx_gem_obj is cleared on\nthe error path, msm_dsi_tx_buf_free() will never see a non-NULL\ntx_gem_obj and thus never calls drm_gpuvm_put(), leaking the VM\nreference.\n\nDrop the VM reference and clear msm_host->vm on the error path.\n\nPatchwork: https://patchwork.freedesktop.org/patch/754332/","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:52","updated_at":"2026-11-30 14:17:52"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470","name":"https://git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969","name":"https://git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d","name":"https://git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448","name":"https://git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44","name":"https://git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55","name":"https://git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138933","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138933","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 96c3a1830434e20212b01784f22486eb031377f0 7c162b45a19c3cc1e633c8be7167acd65ed3b91d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0d3ec0a19f3abdb9504331c1f136bdc7410b8a64 1da57667eb8421dfff4ad307cb2cc2436aaaf448 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e05be78264594634860087953649487f486ffcc 5758338c8c762410f0b8042bc03a4a485e4e8e55 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e05be78264594634860087953649487f486ffcc c4a692585615f76c8ac421015285cfd13a2f0969 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e05be78264594634860087953649487f486ffcc 419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e05be78264594634860087953649487f486ffcc ab91ba61871a896ca2ecc6e048d80a152136da44 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 57a90fb6ab1169ab285a1d1e224630a69fda2d01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.63 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.2 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.5.12 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/msm/dsi/dsi_host.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7c162b45a19c3cc1e633c8be7167acd65ed3b91d","status":"affected","version":"96c3a1830434e20212b01784f22486eb031377f0","versionType":"git"},{"lessThan":"1da57667eb8421dfff4ad307cb2cc2436aaaf448","status":"affected","version":"0d3ec0a19f3abdb9504331c1f136bdc7410b8a64","versionType":"git"},{"lessThan":"5758338c8c762410f0b8042bc03a4a485e4e8e55","status":"affected","version":"5e05be78264594634860087953649487f486ffcc","versionType":"git"},{"lessThan":"c4a692585615f76c8ac421015285cfd13a2f0969","status":"affected","version":"5e05be78264594634860087953649487f486ffcc","versionType":"git"},{"lessThan":"419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470","status":"affected","version":"5e05be78264594634860087953649487f486ffcc","versionType":"git"},{"lessThan":"ab91ba61871a896ca2ecc6e048d80a152136da44","status":"affected","version":"5e05be78264594634860087953649487f486ffcc","versionType":"git"},{"status":"affected","version":"57a90fb6ab1169ab285a1d1e224630a69fda2d01","versionType":"git"},{"lessThan":"6.1.193","status":"affected","version":"6.1.63","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"6.6.2","versionType":"semver"},{"lessThan":"6.6","status":"affected","version":"6.5.12","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/msm/dsi/dsi_host.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.7"},{"lessThan":"6.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.1.63","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()\n\ndsi_tx_buf_alloc_6g() takes a reference to the kms VM with\ndrm_gpuvm_get() and stores it in msm_host->vm.  If\nmsm_gem_kernel_new() fails, the function returns early without\ndropping that reference.  Since msm_host->tx_gem_obj is cleared on\nthe error path, msm_dsi_tx_buf_free() will never see a non-NULL\ntx_gem_obj and thus never calls drm_gpuvm_put(), leaking the VM\nreference.\n\nDrop the VM reference and clear msm_host->vm on the error path.\n\nPatchwork: https://patchwork.freedesktop.org/patch/754332/"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:19.994Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7c162b45a19c3cc1e633c8be7167acd65ed3b91d"},{"url":"https://git.kernel.org/stable/c/1da57667eb8421dfff4ad307cb2cc2436aaaf448"},{"url":"https://git.kernel.org/stable/c/5758338c8c762410f0b8042bc03a4a485e4e8e55"},{"url":"https://git.kernel.org/stable/c/c4a692585615f76c8ac421015285cfd13a2f0969"},{"url":"https://git.kernel.org/stable/c/419c7a3d1dcbfb9fee0c9c0ad5b9cff281e0b470"},{"url":"https://git.kernel.org/stable/c/ab91ba61871a896ca2ecc6e048d80a152136da44"}],"title":"drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138933","datePublished":"2026-11-30T13:26:19.994Z","dateReserved":"2026-11-30T13:22:15.904Z","dateUpdated":"2026-11-30T13:26:19.994Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:52","lastModifiedDate":"2026-11-30 14:17:52","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138933","Ordinal":"1","Title":"drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()","CVE":"CVE-2026-138933","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138933","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()\n\ndsi_tx_buf_alloc_6g() takes a reference to the kms VM with\ndrm_gpuvm_get() and stores it in msm_host->vm.  If\nmsm_gem_kernel_new() fails, the function returns early without\ndropping that reference.  Since msm_host->tx_gem_obj is cleared on\nthe error path, msm_dsi_tx_buf_free() will never see a non-NULL\ntx_gem_obj and thus never calls drm_gpuvm_put(), leaking the VM\nreference.\n\nDrop the VM reference and clear msm_host->vm on the error path.\n\nPatchwork: https://patchwork.freedesktop.org/patch/754332/","Type":"Description","Title":"drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()"}]}}}