Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2022-50523

Опубликовано: 07 окт. 2025
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

A memory leak flaw was found in the Linux kernel's Rockchip clock driver in the PLL registration error path. A local user on systems with Rockchip hardware can trigger this issue when PLL clock registration fails, causing the driver to return without freeing memory previously allocated by kmemdup for the rate table. This results in a permanent memory leak that accumulates across registration failure cycles, leading to resource exhaustion and denial of service.

Отчет

The rockchip_clk_register_pll function allocates memory for the PLL rate table using kmemdup early in the registration process. If the subsequent clk_register call fails, the function returns immediately without freeing the allocated rate table memory. Since clock registration failures are terminal errors that are not retried automatically, each failure permanently leaks memory. While clock registration typically occurs during boot and rarely fails, certain hardware configurations or deliberate manipulation of clock settings could trigger repeated failures. The issue requires Rockchip SoC hardware and conditions that cause clock registration to fail.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-771
https://bugzilla.redhat.com/show_bug.cgi?id=2402247kernel: clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

EPSS

Процентиль: 5%
0.0015
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.5
ubuntu
11 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

CVSS3: 5.5
nvd
11 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

CVSS3: 5.5
debian
11 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: c ...

CVSS3: 5.5
github
11 месяцев назад

In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

CVSS3: 5.5
fstec
почти 4 года назад

Уязвимость функции rockchip_clk_register_pll() ядра операционной системы Linux, позволяющая нарушителю вызвать отказ в обслуживании

EPSS

Процентиль: 5%
0.0015
Низкий

5.5 Medium

CVSS3