CVE-2021-47534

drm/vc4: kms: Add missing drm_crtc_commit_put

Medium · published May 24, 2024

CVSS v3.1
4.1
EPSS
0%
Percentile
7.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.1 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00185 · 7.7th percentile
Published
2024-05-24T15:09Z
EPSS history
Timeline
  • 24 MAY 15:09Z
    drm/vc4: kms: Add missing drm_crtc_commit_put
    cvelistv5