4.1medium
drm/vc4: kms: Add missing drm_crtc_commit_put
- Severity
- 4.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: kms: Add missing drm_crtc_commit_put Commit 9ec03d7f1ed3 ("drm/vc4: kms: Wait on previous FIFO users before a commit") introduced a global state for the HVS, with each FIFO storing the current CRTC commit so that we can properly synchronize commits. However, the refcounting was off and we thus ended up leaking the drm_crtc_commit structure every commit. Add a drm_crtc_commit_put to prevent the leakage.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9ec03d7f1ed394897891319a4dda75f52c5d292d before 53f9601e908d42481addd67cdb01a9288c611124, from 9ec03d7f1ed394897891319a4dda75f52c5d292d before 049cfff8d53a30cae3349ff71a4c01b7d9981bc2, 5.12 Not affected: before 5.12, from 5.15.7 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 5.12 before 5.15.7, 5.16 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: kms: Add missing drm_crtc_commit_put Commit 9ec03d7f1ed3 ("drm/vc4: kms: Wait on previous FIFO users before a commit") introduced a global state for the HVS, with each FIFO storing the current CRTC commit so that we can properly synchronize commits. However, the refcounting was off and we thus ended up leaking the drm_crtc_commit structure every commit. Add a drm_crtc_commit_put to prevent the leakage.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/vc4: kms: agregar drm_crtc_commit_put faltante el commit 9ec03d7f1ed3 ("drm/vc4: kms: esperar a los usuarios FIFO anteriores antes de una confirmación") introdujo un estado global para HVS, con cada FIFO almacena El commit CRTC actual para que podamos sincronizar correctamente las confirmaciones. Sin embargo, el recuento no se realizó y, por lo tanto, terminamos filtrando la estructura drm_crtc_commit en cada confirmación. Agregue un drm_crtc_commit_put para evitar la fuga.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47534 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47534 changed 2026-06-17 | Public domain |