# CVE-2022-50479: drm/amd: fix potential memory leak

- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-10-04T15:16:39.021Z
- Modified: 2026-11-05T21:17:01.127Z
- 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/amd: fix potential memory leak

This patch fix potential memory leak (clk_src) when function run
into last return NULL.

s/free/kfree/ - Alex

(As written by CVE List.)

## Affected

- Linux Linux: from 3cffeffe051a961417bc26f2053bced4cff83119 before a6e6ab9caeac96b277a3fe7da1dfa8f69a591759; from 3cffeffe051a961417bc26f2053bced4cff83119 before 6160216fd2c97107e8a9ab39863b056d677fcd85; 6.0 (not affected: before 6.0; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.11 before 6.0.3

## References

- <https://git.kernel.org/stable/c/a6e6ab9caeac96b277a3fe7da1dfa8f69a591759> (patch)
- <https://git.kernel.org/stable/c/6160216fd2c97107e8a9ab39863b056d677fcd85> (patch)

## Sources

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

---

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