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

Published May 24, 2024
·
Updated

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 drmcrtccommitput can free the drmcrtccommit 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.

Affected Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.7
Linux Linux kernel=5.16-rc1
Linux Linux kernel=5.16-rc2
Linux Linux kernel=5.16-rc3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel DRM vc4 KMS to a version that resolves this vulnerability.

    Patch 9ec03d7f1ed3

Event History

May 24, 2024
CVE Published
via MITRE·03:09 PM
Data Sourced
via MITRE·03:09 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-47533?

CVE-2021-47533 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2021-47533?

To fix CVE-2021-47533, update your Linux kernel to the latest version that addresses this vulnerability.

3

What versions of the Linux kernel are affected by CVE-2021-47533?

CVE-2021-47533 affects Linux kernel versions from 5.12 to 5.15.7, as well as 5.16-rc1 through 5.16-rc3.

4

What is the nature of the vulnerability in CVE-2021-47533?

CVE-2021-47533 involves a flaw in the drm/vc4 subsystem related to FIFO commit pointer handling.

5

Is CVE-2021-47533 exploitable remotely?

CVE-2021-47533 is not typically considered a remote exploit but may affect systems where the vulnerable component is accessible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203