drm/meson: Fix refcount leak in meson_encoder_hdmi_init (Linux Linux)

CVE-2022-50188
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/meson: Fix refcount leak in meson_encoder_hdmi_init of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Add missing put_device() in error path to avoid refcount leak.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e098989a9219f4456047f9b0e8c44f03e29a843e < 50446ac34545580d073ff0dd154b796726772668 ; affected 0af5e0b41110e2da872030395231ab19c45be931 < 79b15eb0aa059b3a5bc60364ce82eb2cefac80db ; affected 0af5e0b41110e2da872030395231ab19c45be931 < bfcca6234b2a36d213f0cc1c127becc17680f7df ; affected 0af5e0b41110e2da872030395231ab19c45be931 < 7381076809586528e2a812a709e2758916318a99
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 5.18.18 ≤ 5.18.* ; unaffected 5.19.2 ≤ 5.19.* ; unaffected 6.0 ≤ *

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