---
id: CVE-2022-50479
title: |-
  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
summary: |-
  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
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.11, < 6.0.3'
patched:
  - linux_kernel 6.0.3
published: '2025-10-04'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-50479'
references:
  - url: 'https://git.kernel.org/stable/c/6160216fd2c97107e8a9ab39863b056d677fcd85'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a6e6ab9caeac96b277a3fe7da1dfa8f69a591759'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00137
epssPercentile: 0.02511
ingestedAt: '2026-08-15T13:26:45.863Z'
---

## Overview

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

## Affected

- `linux_kernel >= 5.11, < 6.0.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0.3`
