Bug 2347878 (CVE-2022-49462) - CVE-2022-49462 kernel: drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
Summary: CVE-2022-49462 kernel: drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
Keywords:
Status: NEW
Alias: CVE-2022-49462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:09 UTC by OSIDB Bzimport
Modified: 2025-02-26 22:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:09:54 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 22:06:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022601-CVE-2022-49462-52fb@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.