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 0E14D25A32A for ; Fri, 2 May 2025 15:57:59 +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=1746201479; cv=none; b=AXiLKkJdpaDOGDCsupcHZt+29/KfSw7GadJ3Hw9OniZ++4wQanNAqQlMmVhWZuzJTQOJO4SyHhORp732zTKViWejN89aP2T94mA8sQDeksCsuE5a9XDVZKc64/iPaeriD7wqa5Ehlin+SypVueLC/tSUSKYwFUsFm13BPM9YbMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201479; c=relaxed/simple; bh=zgHJvDhbL/xLTAVLWw1SPNsQeVSxY7fvOks3R0NfpOE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=grGfQDH4TurUN6L5WdQGZ1xMFADaJwz8daxAHOT/MZGSSmLDVUG6lCs3b/TBRDKy71Tryl5HolbhSJvYQIYDfwTm2lgI3Vv54w5vvexom75XLNC9Dnz8jhbKNBKpdIIPDo/vYCLX86QZCwrubG427y1iemTuBl4Ok8EBHvdRYgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r7vp0afj; 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="r7vp0afj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88A30C4CEE4; Fri, 2 May 2025 15:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201478; bh=zgHJvDhbL/xLTAVLWw1SPNsQeVSxY7fvOks3R0NfpOE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r7vp0afj70jBpX0lWc0dlsRlhXTjRp/KD3oX0/SlvZjOz7+bYSgo9yx6vB6xFiIOQ u/r2lvTmsOxQ5+UTBa36ENak35VZXQ5EkwtBKdPMcp4oouxgdwCFqEJIiMfhbVsiut 915VscNRI5ZGTFcKiLfQJcLy/trYdgzSXX+XbE1I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53069: octeontx2-vf: Add missing free for alloc_percpu Date: Fri, 2 May 2025 17:55:34 +0200 Message-ID: <2025050212-CVE-2023-53069-b486@gregkh> X-Mailer: git-send-email 2.49.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=2416; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/gABvt7OqkIZMYFp0YMg7fItdtIfjjRxy0TwC6AYaf4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkirx7OijPbK7XkVtetF08dj7/PKXS+m/MwcKbAapOkw 3W2e414OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiczgZ5grJ/s+91yS0J+7T TXcW/49FH8LF7jPMj1CfzCK75vGXS/9zLmVv2BFQbyneAgA= 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: octeontx2-vf: Add missing free for alloc_percpu Add the free_percpu for the allocated "vf->hw.lmt_info" in order to avoid memory leak, same as the "pf->hw.lmt_info" in `drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c`. The Linux kernel CVE team has assigned CVE-2023-53069 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 5.15.105 with commit 90874b76e5f82eaa3309714d72ff2cd8bb8d1b02 Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.1.22 with commit 840631bcf21f58c0a3f01378a54d79e9ce86b226 Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.2.9 with commit 813b590840771890c738ce6dbfd0c5938a1bafb9 Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.3 with commit f038f3917baf04835ba2b7bcf2a04ac93fbf8a9c 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-53069 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/marvell/octeontx2/nic/otx2_vf.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/90874b76e5f82eaa3309714d72ff2cd8bb8d1b02 https://git.kernel.org/stable/c/840631bcf21f58c0a3f01378a54d79e9ce86b226 https://git.kernel.org/stable/c/813b590840771890c738ce6dbfd0c5938a1bafb9 https://git.kernel.org/stable/c/f038f3917baf04835ba2b7bcf2a04ac93fbf8a9c