What’s Vulnerable › Vulnerabilities

CVE-2022-49462: drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.121, 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49462 or the next vulnerability affects your stack