Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88BEE2E62A9 for ; Tue, 7 Oct 2025 15:25:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850742; cv=none; b=Y+gvvHw05uVr4fQeHduhBUUJt88JRWsa4+M/g+omCr/lDavv9cDdsABmTui3PpGfUDvJ9PM4Vv7DL5Du3kkTjVq7XDdXJW69Kw77M+J2o5rfkvB4d6fRuW5rCapUgKlMbM02f2DhGM3FwrYNWf0SswGgr4geKLtf6UVlTkJz+kE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850742; c=relaxed/simple; bh=hp7YDtYE+J7YFFhf13qs6BASd/m9BlBk5i4bdOh7SY0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WnV3jn6SDbdfFya1HA2BLyMa45TCO+ZGfHpcOcRlcwyVfvC3vSCgj2VqDR4VVdUPiJ7N3ly7Q8qwlbua5KUKYNoGucZLsWfRDe+eo2heFjxAbjRjqEEjBNPBw6AZaSNLO09Bc2CjCacnkkDmK7KGogzcCrKY3fHvqD7TjefM/1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IIzVenKq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IIzVenKq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 011A3C4CEF1; Tue, 7 Oct 2025 15:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850742; bh=hp7YDtYE+J7YFFhf13qs6BASd/m9BlBk5i4bdOh7SY0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IIzVenKqCkADFKzfiVhvjHW670t9NHuek9hkIFVhJkpGto0WTiYenB8PVQRaXiMTI ep5AFRN1xGf1FQ1+YCBnaNjmMslv4SpZusHL1v284VYcUa34A+Y0CPCYlw/YM2aZNX 1En7rc0p+zrzC1HVaL32wE37E04+i195ZyAVx3UU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53682: hwmon: (xgene) Fix ioremap and memremap leak Date: Tue, 7 Oct 2025 17:21:41 +0200 Message-ID: <2025100709-CVE-2023-53682-10e4@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2141; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZSNRCdc27vEOXYs1Qv5lCW8MB46FWDvHSxe47KDb908=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9Z8+vWl5ROmYxJcH3rm3q46mzVbM5V90NWm9XlPfT /FrV9dO64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJqE5hmO8+tWy+h3qOltxp wYqnYuy6R0/u8mSYZ+vhM2OKIouKooUt98OTq5ZZJfh7AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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