5.5medium
hwmon: (xgene) Fix ioremap and memremap leak
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 before 9d482a09acd3d5f61a56aefc125d32c81994707b, from ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 before 1773185a0a87006c1be78a978d9dd61aa7a33db8, from ed42cfa881e1d8d9603b7cb872199e3c8e0d1b19 before 813cc94c7847ae4a17e9f744fb4dbdf7df6bd732, 4.9 Not affected: before 4.9, from 6.1.25 up to 6.1.*, from 6.2.12 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | from 4.9 before 6.1.25, from 6.2 before 6.2.12, 6.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: hwmon: (xgene) Corrección de fuga de ioremap y memremap Smatch informa: drivers/hwmon/xgene-hwmon.c:757 xgene_hwmon_probe() advertencia: ’ctx -> pcc_comm_addr’ de ioremap() no liberado en la línea: 757. Esto se debe a que en drivers/hwmon/xgene-hwmon.c:701 xgene_hwmon_probe(), ioremap y memremap no se libera, lo que puede causar una fuga. Para solucionar esto, ioremap y memremap se modifica a devm_ioremap y devm_memremap. [groeck: Formato y asunto corregidos]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53682 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2023-53682 changed 2026-11-05 | Public domain |