What’s Vulnerable › Vulnerabilities

CVE-2023-53682: hwmon: (xgene) Fix ioremap and memremap leak

Description

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 xgene_hwmon_probe() warn: 'ctx->pcc_comm_addr' from ioremap() not released on line: 757. This is because in drivers/hwmon/xgene-hwmon.c:701 xgene_hwmon_probe(), ioremap and memremap is not released, which may cause a leak. To fix this, ioremap and memremap is modified to devm_ioremap and devm_memremap. [groeck: Fixed formatting and subject]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.25, 6.2.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53682 or the next vulnerability affects your stack