CVE-2022-49462

drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before 6832e36f156ea35a6ed74bca72727806116effddAffected
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before 48e82ce8cdb19c20a5020fa446b286d6a147450cAffected
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before edff4c1af831d0c02e654eed9da7d74174de49d5Affected
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before 65ddbc0d26824e2a5d6154d01d8cf39344900213Affected
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before 06907a374f1b74f8f2fb30720dc6df81331e4fb5Affected
  • 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a to before c56de483093d7ad0782327f95dda7da97bc4c315Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.