In the Linux kernel, the following vulnerability has been resolved:
hwmon: (xgene) Fix ioremap and memremap leak
Smatch reports:
drivers/hwmon/xgene-hwmon.c:757 xgenehwmonprobe() warn: 'ctx->pcccommaddr' from ioremap() not released on line: 757.
This is because in drivers/hwmon/xgene-hwmon.c:701 xgenehwmonprobe(), ioremap and memremap is not released, which may cause a leak.
To fix this, ioremap and memremap is modified to devmioremap and devmmemremap.
[groeck: Fixed formatting and subject]
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53682.json",
"cna_assigner": "Linux"
}