# drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

CVE record · `CVE-2022-50515`

- **Identifiers:** `CVE-2022-50515`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Oct 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 7 Oct 2025, 15:19 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `e980e1d978e0eb4c0399cff37f175779237db53b to before 3ba3814c00a4817eb1cd31eff08d921c40e5f3a4` (git)
  - affected: `8e794421bc981586d0af4e959ec76d668c793a55 to before 8b8da09da2701330e7f2c371655887e3d7defe90` (git)
  - affected: `8e794421bc981586d0af4e959ec76d668c793a55 to before 600de40ed50c8b5ecb9c7a4f41eb882066c15a00` (git)
  - affected: `8e794421bc981586d0af4e959ec76d668c793a55 to before 7136f956c73c4ba50bfeb61653dfd6a9669ea915` (git)
  - affected: `5.15.58 to before 5.15.75` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.16`
  - unaffected: `before 5.16` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's amdgpu display driver has a memory leak in hpd_rx_irq_create_workqueue(): when setting up its work queues fails, the queues already created and the allocated array are not freed. The source gives few details on attack requirements or impact. Upgrade to 5.15.75 or later, 5.19.17 or later, 6.0.3 or later, or 6.1 or later.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 7 Oct 2025, 15:19 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50515)
- 7 Oct 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50515)

## Sources

- [CVE List: CVE-2022-50515](https://www.cve.org/CVERecord?id=CVE-2022-50515)
- [NVD: CVE-2022-50515](https://nvd.nist.gov/vuln/detail/CVE-2022-50515)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50515>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50515/>. Everything for agents: <https://agentprime.io/llms.txt>.
