ARM: OMAP2+: Fix refcount leak in omapdss_init_of (Linux Linux)

CVE-2022-50199
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ARM: OMAP2+: Fix refcount leak in omapdss_init_of omapdss_find_dss_of_node() calls of_find_compatible_node() to get device node. of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() in later error path and normal path.

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 e0c827aca0730b51f38081aa4e8ecf0912aab55f < 935035cf97c8cd6794044b500fb0a44a6d30ffa1 ; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f < 14bac0c7035bf920e190a63c7e1b113c72eadbf4 ; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f < 230ad40a59c9a9ee8f3822b9a7bec09404102ebc ; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f < a32dc6829e33c54e751346aa3e08ddb6d0e1a6a0 ; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f < 507159facf002d113c4878fec67f37d62f187887 ; affected e0c827aca0730b51f38081aa4e8ecf0912aab55f < 9705db1eff38d6b9114121f9e253746199b759c9
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.211 ≤ 5.4.* ; unaffected 5.10.137 ≤ 5.10.* ; unaffected 5.15.61 ≤ 5.15.* ; unaffected 5.18.18 ≤ 5.18.*

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