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 8871D314D3A for ; Thu, 18 Sep 2025 16:05:35 +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=1758211535; cv=none; b=A5Yko6/e0fDfVZLD6ADFgXSkPUGhwnGWu+Ait0RDR/TxDaB64RZBBjmW/fImKz6On1DbsxjSgokQruUmHdFbmhawVgOwlzhgPQWioRQqRZdrRXHYmJao16MYruJnOyx6RD/jwu31H/0Io76fqipZnRyJ/v1uCQTrezRzgbl5lWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211535; c=relaxed/simple; bh=tWS6N3EDbtYRNPKyLZNSViSMlEf/AgCEFeLzh/73rYM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u83SyHSCJgQ+kqKsgaZrT+tRpgJZdRppmNkKnXa7ven8LWlOXuYpAYsZiaO28ttlddgmYVGlDDsr4EKekv4jIKO508PVV9H++XXRvZkhqm/bwjsyTytTwD44NrYW8EUYOfP+2dzss4nv5UyWkhd3Zm5NaQN3I1rFUq6PWJChvfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bNOvKI4V; 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="bNOvKI4V" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01DD5C4CEEB; Thu, 18 Sep 2025 16:05:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211535; bh=tWS6N3EDbtYRNPKyLZNSViSMlEf/AgCEFeLzh/73rYM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=bNOvKI4V3had7TluyJkLyswnuK0qGQoVZsche7GwY4N7MyyK/Oi8CfUtLItoTLX9z B5tthYtrp51K83Zq39poelYI8Kf5LkFKg9GHGgW4DxiznNJmSHhe+GASTtNFQtZYqk QfkQCQUZgRT4obbWrxsaOJKmhsmqvFEr0KsSSpjA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53435: cassini: Fix a memory leak in the error handling path of cas_init_one() Date: Thu, 18 Sep 2025 18:04:26 +0200 Message-ID: <2025091858-CVE-2023-53435-ed57@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=3417; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0bVRhYF5459TkDcy3QssaJihLL5Wo3hq9mxEcDNLNZ0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndPO09M9aWb9lW1G7Rpb5LLNa3KzWqvJl7t4bth1xV a42DQ7siGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInMW84wV8pe9X9SU3dwgYrk dvPXDOmLpn97yDBX+nVAcrH0Lc7y/3mX2LruvE002rEAAA== 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: cassini: Fix a memory leak in the error handling path of cas_init_one() cas_saturn_firmware_init() allocates some memory using vmalloc(). This memory is freed in the .remove() function but not it the error handling path of the probe. Add the missing vfree() to avoid a memory leak, should an error occur. The Linux kernel CVE team has assigned CVE-2023-53435 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 4.14.316 with commit 11c0ed097a874156957b515d0ba7e356142eab87 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 4.19.284 with commit 60d8e8b88087d68e10c8991a0f6733fa2f963ff0 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 5.4.244 with commit e20105d967ab5b53ff50a0e5991fe37324d2ba20 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 5.10.181 with commit dc61f7582cc92d547d02e141cd66f5d1f4ed8012 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 5.15.113 with commit 234e744d86bd95b381d24546df2dba72804e0219 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 6.1.30 with commit 172146c26f0c1b86ab4e9ebffc7e06f04229fa17 Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 6.3.4 with commit b8b1a667744741fa7807b09a12797a27f14f3fac Issue introduced in 2.6.28 with commit fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 and fixed in 6.4 with commit 412cd77a2c24b191c65ea53025222418db09817c 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-53435 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/net/ethernet/sun/cassini.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/11c0ed097a874156957b515d0ba7e356142eab87 https://git.kernel.org/stable/c/60d8e8b88087d68e10c8991a0f6733fa2f963ff0 https://git.kernel.org/stable/c/e20105d967ab5b53ff50a0e5991fe37324d2ba20 https://git.kernel.org/stable/c/dc61f7582cc92d547d02e141cd66f5d1f4ed8012 https://git.kernel.org/stable/c/234e744d86bd95b381d24546df2dba72804e0219 https://git.kernel.org/stable/c/172146c26f0c1b86ab4e9ebffc7e06f04229fa17 https://git.kernel.org/stable/c/b8b1a667744741fa7807b09a12797a27f14f3fac https://git.kernel.org/stable/c/412cd77a2c24b191c65ea53025222418db09817c