clk: Fix memory leak in devm_clk_notifier_register() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/a326cf0107b197e649bbaa2a2b1355894826ce32
- https://git.kernel.org/stable/c/49451db71b746df990888068961f1033f7c9b734
- https://git.kernel.org/stable/c/cb1b04fd4283fc8f9acefe0ddc61ba072ed44877
- https://git.kernel.org/stable/c/efbbda79b2881a04dcd0e8f28634933d79e17e49
- https://git.kernel.org/stable/c/7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2025-31940
- GCVE · GCVE-0-2023-53674
CERT-FR advisories
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.121cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.39cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.3.13cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.4 < 6.4.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < a326cf0107b197e649bbaa2a2b1355894826ce32 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < 49451db71b746df990888068961f1033f7c9b734 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < cb1b04fd4283fc8f9acefe0ddc61ba072ed44877 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < efbbda79b2881a04dcd0e8f28634933d79e17e49 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < 7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff |
| Linux · Linux | affected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.121 ≤ 5.15.* ; unaffected 6.1.39 ≤ 6.1.* ; unaffected 6.3.13 ≤ 6.3.* ; unaffected 6.4.4 ≤ 6.4.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |