drm/vc4: kms: Add missing drm_crtc_commit_put (Linux Linux)

CVE-2021-47534
MEDIUM 4.1

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9ec03d7f1ed394897891319a4dda75f52c5d292d < 53f9601e908d42481addd67cdb01a9288c611124 ; affected 9ec03d7f1ed394897891319a4dda75f52c5d292d < 049cfff8d53a30cae3349ff71a4c01b7d9981bc2
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.7 ≤ 5.15.* ; unaffected 5.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD