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 7DAE8824A3 for ; Tue, 16 Sep 2025 08:13:34 +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=1758010414; cv=none; b=kZe6+wRBVxetfaRgUhN/NQXWOBzSGh2DPY4opQJQuhDSxrOhrD4dG8XPTwG+KBr4o7h5+3UOXDmoXeTiyKAFcBJ/Mg41iPxD128/2C/vWRkW7julpGDKRLasSAPeXNFIBBJUlP2NV9QkEJ+wvYIkiUYwtmCfTclBu8BxTYR5dyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010414; c=relaxed/simple; bh=o2qRwkyZhqZLZVUDzQYaXDFnAuJNYhbUQBSOFdjIr5s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MQIm4EFkI3NYUCZtci1ws2cl82Ahd35cm/8c+7YCoYbubgysUqf1ynMVeqv8vMD8ARyIctW0Wd6JokKVGCORMk1k7jhn/mEYqx12obNkBgh+NN/wenNgcfjZiP0I0WhvlLumzYnHD59n2w0fm4qZoEWQKiPgTmuv7zGfIDgKFco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M+o/kFpE; 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="M+o/kFpE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F16ABC4CEEB; Tue, 16 Sep 2025 08:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010414; bh=o2qRwkyZhqZLZVUDzQYaXDFnAuJNYhbUQBSOFdjIr5s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=M+o/kFpEJP7/grp3VnyWezkJcwE0QxyiDUe3H63rC74cwhdpHyD466AXcyouIHrdO Jo0zxBwnAkUeAsinBRkQl5vy3iCOAA/h0FhKJMEVTfn7AxgWOw2cazov5ZUSOjUAtw TIZSii9hm9ko7eUtYCnnCXfuYD9KDQ/ZE8RxkBeM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53290: samples/bpf: Fix fout leak in hbm's run_bpf_prog Date: Tue, 16 Sep 2025 10:11:40 +0200 Message-ID: <2025091626-CVE-2023-53290-34e0@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=2294; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1UY1TfOOfx1CELMECSc1iDz9phoCOC3bPKoaOKtEZik=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpdclC1+fcHOmbWuKack5v1spmmaqFgvvWka9Kebin s81SXhGRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk7yyGeSaxZ17G1lgrPxK3 L+fik/7hr2m0gGEO72ax2K2rGv5EzlmQdIlB6RBH0ubLAA== 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: samples/bpf: Fix fout leak in hbm's run_bpf_prog Fix fout being fopen'ed but then not subsequently fclose'd. In the affected branch, fout is otherwise going out of scope. The Linux kernel CVE team has assigned CVE-2023-53290 to this issue. Affected and fixed versions =========================== Fixed in 5.4.244 with commit a7ec2f424f6edad34651137783a0a59eca9aa37e Fixed in 5.10.181 with commit 7560ed6592ff4077528c239c71e91b19de985b97 Fixed in 5.15.113 with commit e3e6e252d74f20f6fc610c7fef3ae7dda0109a6f Fixed in 6.1.30 with commit f2065b8b0a215bc6aa061287a2e3d9eab2446422 Fixed in 6.3.4 with commit edf37bc8b03d3f948e679b2fd2d14464495f5d1b Fixed in 6.4 with commit 23acb14af1914010dd0aae1bbb7fab28bf518b8e 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-53290 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: samples/bpf/hbm.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/a7ec2f424f6edad34651137783a0a59eca9aa37e https://git.kernel.org/stable/c/7560ed6592ff4077528c239c71e91b19de985b97 https://git.kernel.org/stable/c/e3e6e252d74f20f6fc610c7fef3ae7dda0109a6f https://git.kernel.org/stable/c/f2065b8b0a215bc6aa061287a2e3d9eab2446422 https://git.kernel.org/stable/c/edf37bc8b03d3f948e679b2fd2d14464495f5d1b https://git.kernel.org/stable/c/23acb14af1914010dd0aae1bbb7fab28bf518b8e