# CVE-2022-50515: drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:10.970Z
- Modified: 2026-11-05T21:17:03.460Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e980e1d978e0eb4c0399cff37f175779237db53b before 3ba3814c00a4817eb1cd31eff08d921c40e5f3a4; from 8e794421bc981586d0af4e959ec76d668c793a55 before 8b8da09da2701330e7f2c371655887e3d7defe90; from 8e794421bc981586d0af4e959ec76d668c793a55 before 600de40ed50c8b5ecb9c7a4f41eb882066c15a00; from 8e794421bc981586d0af4e959ec76d668c793a55 before 7136f956c73c4ba50bfeb61653dfd6a9669ea915; from 5.15.58 before 5.15.75; 5.16 (not affected: before 5.16; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.15.58 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## References

- <https://git.kernel.org/stable/c/3ba3814c00a4817eb1cd31eff08d921c40e5f3a4> (patch)
- <https://git.kernel.org/stable/c/8b8da09da2701330e7f2c371655887e3d7defe90> (patch)
- <https://git.kernel.org/stable/c/600de40ed50c8b5ecb9c7a4f41eb882066c15a00> (patch)
- <https://git.kernel.org/stable/c/7136f956c73c4ba50bfeb61653dfd6a9669ea915> (patch)

## Sources

- CVE List: [CVE-2022-50515](https://www.cve.org/CVERecord?id=CVE-2022-50515), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50515](https://nvd.nist.gov/vuln/detail/CVE-2022-50515), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50515 · Whole record: https://cve.day/CVE-2022-50515.json · Rebuilt by cve.day 2026-11-25T22:58:21.251Z
