{"id":"CVE-2023-54228","published":"2025-12-30T12:11:20Z","modified":"2026-05-11T19:57:55Z","title":"regulator: raa215300: Fix resource leak in case of error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: raa215300: Fix resource leak in case of error\n\nThe clk_register_clkdev() allocates memory by calling vclkdev_alloc() and\nthis memory is not freed in the error path. Similarly, resources allocated\nby clk_register_fixed_rate() are not freed in the error path.\n\nFix these issues by using devm_clk_hw_register_fixed_rate() and\ndevm_clk_hw_register_clkdev().\n\nAfter this, the static variable clk is not needed. Replace it with \nlocal variable hw in probe() and drop calling clk_unregister_fixed_rate()\nfrom raa215300_rtc_unregister_device().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00245,"percentile":0.09451,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2bf2d2ac9e67184dc99275875a6452ca6e3027ff","tags":[]},{"url":"https://git.kernel.org/stable/c/e21ac64e669e960688e79bf5babeed63132dac8a","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7bce16630837c705f72e8fd53a11ae8c236236f4, < 2bf2d2ac9e67184dc99275875a6452ca6e3027ff",">= 7bce16630837c705f72e8fd53a11ae8c236236f4, < e21ac64e669e960688e79bf5babeed63132dac8a"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"euvd":{"id":"EUVD-2023-60413","exploited":false,"provenance":"source"}}