CVE-2022-50515 PUBLISHED

drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

Assigner: Linux
Reserved: 07.10.2025 Published: 07.10.2025 Updated: 07.10.2025

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

drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

If construction of the array of work queues to handle hpd_rx_irq offload work fails, we need to unwind. Destroy all the created workqueues and the allocated memory for the hpd_rx_irq_offload_work_queue struct array.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from e980e1d978e0eb4c0399cff37f175779237db53b to 3ba3814c00a4817eb1cd31eff08d921c40e5f3a4 (excl.)
  • affected from 8e794421bc981586d0af4e959ec76d668c793a55 to 8b8da09da2701330e7f2c371655887e3d7defe90 (excl.)
  • affected from 8e794421bc981586d0af4e959ec76d668c793a55 to 600de40ed50c8b5ecb9c7a4f41eb882066c15a00 (excl.)
  • affected from 8e794421bc981586d0af4e959ec76d668c793a55 to 7136f956c73c4ba50bfeb61653dfd6a9669ea915 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.16 is affected
  • unaffected from 0 to 5.16 (excl.)
  • unaffected from 5.15.75 to 5.15.* (incl.)
  • unaffected from 5.19.17 to 5.19.* (incl.)
  • unaffected from 6.0.3 to 6.0.* (incl.)
  • unaffected from 6.1 to * (incl.)

References