# CVE-2021-47533: drm/vc4: kms: Clear the HVS FIFO commit pointer once done

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-05-24T15:09:42.683Z
- Modified: 2026-08-05T08:48:15.580Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vc4: kms: Clear the HVS FIFO commit pointer once done

Commit 9ec03d7f1ed3 ("drm/vc4: kms: Wait on previous FIFO users before a
commit") introduced a wait on the previous commit done on a given HVS
FIFO.

However, we never cleared that pointer once done. Since
drm_crtc_commit_put can free the drm_crtc_commit structure directly if
we were the last user, this means that it can lead to a use-after free
if we were to duplicate the state, and that stale pointer would even be
copied to the new state.

Set the pointer to NULL once we're done with the wait so that we don't
carry over a pointer to a free'd structure.

(As written by CVE List.)

## Affected

- Linux Linux: from 9ec03d7f1ed394897891319a4dda75f52c5d292d before 2931db9a5ed219546cf2ae0546698faf78281b89; from 9ec03d7f1ed394897891319a4dda75f52c5d292d before d134c5ff71c7f2320fc7997f2fbbdedf0c76889a; 5.12 (not affected: before 5.12; from 5.15.7 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.12 before 5.15.7; 5.16

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/2931db9a5ed219546cf2ae0546698faf78281b89> (patch)
- <https://git.kernel.org/stable/c/d134c5ff71c7f2320fc7997f2fbbdedf0c76889a> (patch)

## Sources

- CVE List: [CVE-2021-47533](https://www.cve.org/CVERecord?id=CVE-2021-47533), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47533](https://nvd.nist.gov/vuln/detail/CVE-2021-47533), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47533 · Whole record: https://cve.day/CVE-2021-47533.json · Rebuilt by cve.day 2026-11-25T22:58:08.902Z
