drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4b565ca5a2cbbbb6345e8789da89c193b6b00e5a · < c56de483093d7ad0782327f95dda7da97bc4c315| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s a6xx_gpu_init function fails to release a device-tree node reference, causing a reference-count leak. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel with the drm/msm/a6xx driver should check their systems; affected versions are not specified.