clk: Fix memory leak in devm_clk_notifier_register() (Linux Linux)

CVE-2023-53674
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
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.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < a326cf0107b197e649bbaa2a2b1355894826ce32 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < 49451db71b746df990888068961f1033f7c9b734 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < cb1b04fd4283fc8f9acefe0ddc61ba072ed44877 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < efbbda79b2881a04dcd0e8f28634933d79e17e49 ; affected 6d30d50d037dfa092f9d5d1fffa348ab4abb7163 < 7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff
Linux · Linuxaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD