CVE-2023-54228

regulator: raa215300: Fix resource leak in case of error

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
7.7
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00185 · 7.7th percentile
Published
2025-12-30T12:11Z
EPSS history
Timeline
  • 30 DEC 12:11Z
    regulator: raa215300: Fix resource leak in case of error
    cvelistv5