In the Linux kernel, the following vulnerability has been resolved:
clocksource/drivers/cadence-ttc: Fix memory leak in ttctimerprobe
Smatch reports: drivers/clocksource/timer-cadence-ttc.c:529 ttctimerprobe() warn: 'timerbaseaddr' from ofiomap() not released on lines: 498,508,516.
timerbaseaddr may have the problem of not being released after use, I replaced it with the devmofiomap() function and added the clkput() function to cleanup the "clkce" and "clkcs".
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53725.json",
"cna_assigner": "Linux"
}