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 BEF2F2E3B10 for ; Tue, 7 Oct 2025 15:20:32 +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=1759850432; cv=none; b=G1mq/11OcuGSpszaYx0bZhXu211mGMrb9Z3IU+UX4JDciNcoHsvrmMK9RwnYtTHRczEtGb/4GNOGy7gJiS2fwiyjEMoSeE8QWtgscWgOZxbuNDMZbsOnM+ERyg6hQknq5a60A+yB3TnE2z00ywpnG7XJ4KxZkRoWBswPPlhaJ2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850432; c=relaxed/simple; bh=vWDxMyMQhlMUUrZI527TA3uhjkwCIKzIqXL243hVtXo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nbL99BZy1NhEfow2Yq6EpajVAH9ADPeg8btseroncIOtKRsmtkZ2s4B57Q0dmV1uxqjw+EGbZkzvJLO3uqdWikP8R8oUdR8+N3ya+pK33+i/4WSTDRQDGfOVzL71wgqHGb5ZVeLbmaQzhHNgWMMSWNQAUQLJOzzpaaff3n3hWHk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aBn4i8GN; 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="aBn4i8GN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A92AC4CEFE; Tue, 7 Oct 2025 15:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850432; bh=vWDxMyMQhlMUUrZI527TA3uhjkwCIKzIqXL243hVtXo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aBn4i8GNCBKgqgSW5yAepNUrO/v3Kl0SMqu1TVNWre2gtxQgs6Tdo6y1DjeG0mfPT 6lYtblPJieWFpNBwQA1VV3JFjjzySuPz0aSotqzVr04GYIPypdB6yu8q8ai+o42DLt Cd2ADM9uy//+kTjE8XtDDjUNvRNsq9+aTOfaFiS4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53617: soc: aspeed: socinfo: Add kfree for kstrdup Date: Tue, 7 Oct 2025 17:19:22 +0200 Message-ID: <2025100708-CVE-2023-53617-909b@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=2289; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=L5UgpnW3u1+eilUEFP5Ml2bgXjYL09nWlaiW22GZqNQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9XNPxroynfm3Rr5bsrRGJ4uxZ23XDDeLI2e+5v7b+ yVn47rtHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARtdUMC2afM2rpEw3mP9Fw f/fc399+lEiabWBY0LYr0+TIEjO7f2wmtw2zuOazxjAcBgA= 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: soc: aspeed: socinfo: Add kfree for kstrdup Add kfree() in the later error handling in order to avoid memory leak. The Linux kernel CVE team has assigned CVE-2023-53617 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit e0218dca5787c851b403fcbc33cdfec795446fca and fixed in 5.15.128 with commit dfb9676ed25be25ca7cd198d0f0e093b76b7bc7f Issue introduced in 5.11 with commit e0218dca5787c851b403fcbc33cdfec795446fca and fixed in 6.1.47 with commit b662856b71343d9e731c1cd4bbe54758c7791abb Issue introduced in 5.11 with commit e0218dca5787c851b403fcbc33cdfec795446fca and fixed in 6.4.12 with commit d9a5ad4477d2a11e9b03f00c52694451e9332228 Issue introduced in 5.11 with commit e0218dca5787c851b403fcbc33cdfec795446fca and fixed in 6.5 with commit 6e6d847a8ce18ab2fbec4f579f682486a82d2c6b 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-53617 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/soc/aspeed/aspeed-socinfo.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/dfb9676ed25be25ca7cd198d0f0e093b76b7bc7f https://git.kernel.org/stable/c/b662856b71343d9e731c1cd4bbe54758c7791abb https://git.kernel.org/stable/c/d9a5ad4477d2a11e9b03f00c52694451e9332228 https://git.kernel.org/stable/c/6e6d847a8ce18ab2fbec4f579f682486a82d2c6b