---
id: CVE-2022-50515
title: 'drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()'
summary: |-
  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. De…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e980e1d978e0eb4c0399cff37f175779237db53b <
    3ba3814c00a4817eb1cd31eff08d921c40e5f3a4
  - >-
    Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 <
    8b8da09da2701330e7f2c371655887e3d7defe90
  - >-
    Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 <
    600de40ed50c8b5ecb9c7a4f41eb882066c15a00
  - >-
    Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 <
    7136f956c73c4ba50bfeb61653dfd6a9669ea915
  - Linux >= 5.15.58 < 5.15.75
  - Linux 5.16
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:12:50.162557Z'
published: '2025-10-07'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:50.388Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50515'
references:
  - url: 'https://git.kernel.org/stable/c/3ba3814c00a4817eb1cd31eff08d921c40e5f3a4'
  - url: 'https://git.kernel.org/stable/c/8b8da09da2701330e7f2c371655887e3d7defe90'
  - url: 'https://git.kernel.org/stable/c/600de40ed50c8b5ecb9c7a4f41eb882066c15a00'
  - url: 'https://git.kernel.org/stable/c/7136f956c73c4ba50bfeb61653dfd6a9669ea915'
tags:
  - cve.org
epss: 0.00159
epssPercentile: 0.05084
ingestedAt: '2026-11-05T22:38:31.745Z'
---

## Overview

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.

## Affected

- `Linux >= e980e1d978e0eb4c0399cff37f175779237db53b < 3ba3814c00a4817eb1cd31eff08d921c40e5f3a4`
- `Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 < 8b8da09da2701330e7f2c371655887e3d7defe90`
- `Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 < 600de40ed50c8b5ecb9c7a4f41eb882066c15a00`
- `Linux >= 8e794421bc981586d0af4e959ec76d668c793a55 < 7136f956c73c4ba50bfeb61653dfd6a9669ea915`
- `Linux >= 5.15.58 < 5.15.75`
- `Linux 5.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
