CVE-2021-47534

drm/vc4: kms: Add missing drm_crtc_commit_put

State
Published
Severity
4.1 Medium
Published
May 24, 2024
Updated
May 11, 2026
Reserved
May 24, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.1 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9ec03d7f1ed394897891319a4dda75f52c5d292d to before 53f9601e908d42481addd67cdb01a9288c611124Affected
  • 9ec03d7f1ed394897891319a4dda75f52c5d292d to before 049cfff8d53a30cae3349ff71a4c01b7d9981bc2Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.7 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.