cvelo
P4 · InfoEPSS 0.2%

drm/msm/dsi: Fix VM leak in dsi_tx_buf_alloc_6g()

  • CVE-2026-138933
  • GHSA-w24g-h94g-884f
  • EUVD-2026-138836

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/

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
    • If you run a version from 6.5.12 to before 6.6update to 6.6 or laterMinor version change: check the release notes
    • If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.6.2 to before 6.6.1636.6.163
    from 6.5.12 to before 6.66.6
    from 6.1.63 to before 6.1.1936.1.193
    6.7none stated
    before 6.7: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.118 up to 6.12.*: not affectednone stated

    and 3 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.