Shellfeed logo Shellfeed

CVE-2026-64154 · UNKNOWN

Summary: drm/msm/adreno: Fix a reference leak in a6xx_gpu_init()

Details

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/adreno: Fix a reference leak in a6xx_gpu_init()

In a6xx_gpu_init(), node is obtained via of_parse_phandle().
While there was a manual of_node_put() at the end of the
common path, several early error returns would bypass this call,
resulting in a reference leak.
Fix this by using the __free(device_node) cleanup handler to
release the reference when the variable goes out of scope.

Patchwork: https://patchwork.freedesktop.org/patch/700661/

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [5a903a44a98471cedf0021fac0a6a64bbe86943f – bdad77438cc2ba006b041eb02adccb0b9f8cffad]
  • Linux Kernel [6.5.0 – 6.6.160] [6.7.0 – 6.12.114] [6.13.0 – 6.18.57] [6.19.0 – 7.0.11]

References