clk: Fix memory leak in devm_clk_notifier_register()
Summary
| CVE | CVE-2023-53674 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-10-07 16:15:51 UTC |
| Updated | 2026-08-04 10:19:17 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: clk: Fix memory leak in devm_clk_notifier_register() devm_clk_notifier_register() allocates a devres resource for clk notifier but didn't register that to the device, so the notifier didn't get unregistered on device detach and the allocated resource was leaked. Fix the issue by registering the resource through devres_add(). This issue was found with kmemleak on a Chromebook. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 a326cf0107b197e649bbaa2a2b1355894826ce32 git | Not specified |
| CNA | Linux | Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 49451db71b746df990888068961f1033f7c9b734 git | Not specified |
| CNA | Linux | Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 cb1b04fd4283fc8f9acefe0ddc61ba072ed44877 git | Not specified |
| CNA | Linux | Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 efbbda79b2881a04dcd0e8f28634933d79e17e49 git | Not specified |
| CNA | Linux | Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff git | Not specified |
| CNA | Linux | Linux | affected 5.11 | Not specified |
| CNA | Linux | Linux | unaffected 5.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.121 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.39 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.3.13 6.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.4.4 6.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.5 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/a326cf0107b197e649bbaa2a2b1355894826ce32 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/49451db71b746df990888068961f1033f7c9b734 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/efbbda79b2881a04dcd0e8f28634933d79e17e49 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cb1b04fd4283fc8f9acefe0ddc61ba072ed44877 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.