drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init (Linux Linux)

CVE-2022-49462
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 19 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. a6xx_gmu_init() passes the node to of_find_device_by_node() and of_dma_configure(), of_find_device_by_node() will takes its reference, of_dma_configure() doesn't need the node after usage. Add missing of_node_put() 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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/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 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < 6832e36f156ea35a6ed74bca72727806116effdd ; affected 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < 48e82ce8cdb19c20a5020fa446b286d6a147450c ; affected 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < edff4c1af831d0c02e654eed9da7d74174de49d5 ; affected 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < 65ddbc0d26824e2a5d6154d01d8cf39344900213 ; affected 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < 06907a374f1b74f8f2fb30720dc6df81331e4fb5 ; affected 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a < c56de483093d7ad0782327f95dda7da97bc4c315
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.4.198 ≤ 5.4.* ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.*

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