CVE-2021-47533
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
24/05/2024
Last modified:
18/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/vc4: kms: Clear the HVS FIFO commit pointer once done<br />
<br />
Commit 9ec03d7f1ed3 ("drm/vc4: kms: Wait on previous FIFO users before a<br />
commit") introduced a wait on the previous commit done on a given HVS<br />
FIFO.<br />
<br />
However, we never cleared that pointer once done. Since<br />
drm_crtc_commit_put can free the drm_crtc_commit structure directly if<br />
we were the last user, this means that it can lead to a use-after free<br />
if we were to duplicate the state, and that stale pointer would even be<br />
copied to the new state.<br />
<br />
Set the pointer to NULL once we&#39;re done with the wait so that we don&#39;t<br />
carry over a pointer to a free&#39;d structure.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12 (including) | 5.15.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



