[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100702-CVE-2022-50515-fff8@gregkh>
Date: Tue, 7 Oct 2025 17:19:02 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50515: drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-50515 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15.58 with commit e980e1d978e0eb4c0399cff37f175779237db53b and fixed in 5.15.75 with commit 3ba3814c00a4817eb1cd31eff08d921c40e5f3a4
Issue introduced in 5.16 with commit 8e794421bc981586d0af4e959ec76d668c793a55 and fixed in 5.19.17 with commit 8b8da09da2701330e7f2c371655887e3d7defe90
Issue introduced in 5.16 with commit 8e794421bc981586d0af4e959ec76d668c793a55 and fixed in 6.0.3 with commit 600de40ed50c8b5ecb9c7a4f41eb882066c15a00
Issue introduced in 5.16 with commit 8e794421bc981586d0af4e959ec76d668c793a55 and fixed in 6.1 with commit 7136f956c73c4ba50bfeb61653dfd6a9669ea915
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50515
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/3ba3814c00a4817eb1cd31eff08d921c40e5f3a4
https://git.kernel.org/stable/c/8b8da09da2701330e7f2c371655887e3d7defe90
https://git.kernel.org/stable/c/600de40ed50c8b5ecb9c7a4f41eb882066c15a00
https://git.kernel.org/stable/c/7136f956c73c4ba50bfeb61653dfd6a9669ea915
Powered by blists - more mailing lists