[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100709-CVE-2023-53682-10e4@gregkh>
Date: Tue, 7 Oct 2025 17:21:41 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53682: hwmon: (xgene) Fix ioremap and memremap leak
From: Greg Kroah-Hartman <gregkh@...nel.org>
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]
The Linux kernel CVE team has assigned CVE-2023-53682 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.25 with commit 9d482a09acd3d5f61a56aefc125d32c81994707b
Fixed in 6.2.12 with commit 1773185a0a87006c1be78a978d9dd61aa7a33db8
Fixed in 6.3 with commit 813cc94c7847ae4a17e9f744fb4dbdf7df6bd732
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53682
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/hwmon/xgene-hwmon.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/9d482a09acd3d5f61a56aefc125d32c81994707b
https://git.kernel.org/stable/c/1773185a0a87006c1be78a978d9dd61aa7a33db8
https://git.kernel.org/stable/c/813cc94c7847ae4a17e9f744fb4dbdf7df6bd732
Powered by blists - more mailing lists