clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe (Linux Linux)

CVE-2023-53725
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe Smatch reports: drivers/clocksource/timer-cadence-ttc.c:529 ttc_timer_probe() warn: 'timer_baseaddr' from of_iomap() not released on lines: 498,508,516. timer_baseaddr may have the problem of not being released after use, I replaced it with the devm_of_iomap() function and added the clk_put() function to cleanup the "clk_ce" and "clk_cs".

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected e932900a3279b5dbb6d8f43c7b369003620e137c < e0a9cc90ea44a50d76a84f9f9bf1703d31fe45e9 ; affected e932900a3279b5dbb6d8f43c7b369003620e137c < 54cc10a0f4b01b522e9519014200f1b33bf7e4aa ; affected e932900a3279b5dbb6d8f43c7b369003620e137c < ebdff0986513a29be242aace0ef89b6c105b0bf0 ; affected e932900a3279b5dbb6d8f43c7b369003620e137c < 289e2054eeb63c9e133960731c342eeffad218d3 ; affected e932900a3279b5dbb6d8f43c7b369003620e137c < 919dd531ebb7514f205ae7aab87994337ebce1f6 ; affected e932900a3279b5dbb6d8f43c7b369003620e137c < 67d7eebbc424935dec61fb352d1ccae5d16cf429
Linux · Linuxaffected 3.10 ; unaffected 0 < 3.10 ; unaffected 4.19.291 ≤ 4.19.* ; unaffected 5.4.251 ≤ 5.4.* ; unaffected 5.10.188 ≤ 5.10.* ; unaffected 5.15.121 ≤ 5.15.*

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