CVE-2023-54228
publishedregulator: raa215300: Fix resource leak in case of error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7bce16630837c705f72e8fd53a11ae8c236236f4 to < 2bf2d2ac9e67184dc99275875a6452ca6e3027ff · 7bce16630837c705f72e8fd53a11ae8c236236f4 to < e21ac64e669e960688e79bf5babeed63132dac8a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.5 (affected) · 0 to < 6.5 (unaffected · semver) · 6.5.4 through 6.5.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7bce16630837c705f72e8fd53a11ae8c236236f4 to < 2bf2d2ac9e67184dc99275875a6452ca6e3027ff (affected · git)7bce16630837c705f72e8fd53a11ae8c236236f4 to < e21ac64e669e960688e79bf5babeed63132dac8a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.5 (affected)0 to < 6.5 (unaffected · semver)6.5.4 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
regulator: raa215300: Fix resource leak in case of error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d42768f578094f07eec0dcc7d2e8d1173a90384a4f073885bc089ef131e5c1b8
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record