CVE-2023-54228

published 30 Dec 2025 · updated 11 May 2026

regulator: raa215300: Fix resource leak in case of error

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2bf2d2ac9e67184dc99275875a6452ca6e3027ff and Kernel e21ac64e669e960688e79bf5babeed63132dac8a.

In the Linux kernel, the following vulnerability has been resolved: regulator: raa215300: Fix resource leak in case of error The clk_register_clkdev() allocates memory by calling vclkdev_alloc() and this memory is not freed in the error path. Similarly, resources allocated by clk_register_fixed_rate() are not freed in the error path. Fix these issues by using devm_clk_hw_register_fixed_rate() and devm_clk_hw_register_clkdev(). After this, the static variable clk is not needed. Replace it with  local variable hw in probe() and drop calling clk_unregister_fixed_rate() from raa215300_rtc_unregister_device().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.5, >=7bce16630837c705f72e8fd53a11ae8c236236f4 <2bf2d2ac9e67184dc99275875a6452ca6e3027ff, >=7bce16630837c705f72e8fd53a11ae8c236236f4 <e21ac64e669e960688e79bf5babeed63132dac8a2bf2d2ac9e67184dc99275875a6452ca6e3027ff, e21ac64e669e960688e79bf5babeed63132dac8a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54228 severity on Zeptric[![CVE-2023-54228](https://zeptric.io/badge/cve/CVE-2023-54228.svg)](https://zeptric.io/cve/CVE-2023-54228)