Skip to content
CVE PROGRAM SOURCE RECORD4.1 Medium

CVE-2021-47534

drm/vc4: kms: Add missing drm_crtc_commit_put

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9ec03d7f1ed394897891319a4dda75f52c5d292d to < 53f9601e908d42481addd67cdb01a9288c611124affected
  • 9ec03d7f1ed394897891319a4dda75f52c5d292d to < 049cfff8d53a30cae3349ff71a4c01b7d9981bc2affected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.15.7 to ≤ 5.15.*unaffected
  • 5.16 to ≤ *unaffected

References