Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A0355349CE4 for ; Sat, 15 Aug 2026 06:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774052; cv=none; b=n6O4HVOcqrU1tcOy6yJEU7NgMSP5qpjR8Xa0DX1rTrfisKc0jZDeW3CAeOICPUsrUxprwOKD4pq8n6sC5AdUR2w94ITeSQ7mi79/ctNnZTQzwqM4GXQ+quYCbIVzro/pRdMyzMZFYeLINuRFCozGpvnTQ2vvq+mFRxOxU5qT0RM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774052; c=relaxed/simple; bh=sVQcoWL2cHF9hMCLrY00l+h423NkQRycFcQu3xPdQVg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mFRq/c0dIu/OHJKCfxJ/ntOW/3a0LStNCJQIeDnDUHXP9+0fXrlLlyCk0t3JHB55vPmKeLRyC3p7TdDntanK0M6gEu5jfG1vqY3i4XrcWdnnxHRIXZHlPxWRxUl+1VcUdYfraY/VMuLaCczy8tOTqOzcfeDSLQwFBe0uxuf1dBU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FFRDHa6l; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FFRDHa6l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F40AD1F000E9; Sat, 15 Aug 2026 06:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774051; bh=lR2B1j32rOAiO0Ewh+NC6syGAGybwtP6tyISlEUg6V4=; h=From:To:Cc:Subject:Date:Reply-To; b=FFRDHa6lkPN2DI6Z+wjbNAh2fxl1aV/bxsR0+x4WkQxqkNV0W5PyY145lPE2UNdbQ xWE3vDe1hn0zCVB8aJy/TQ8KvGnbZm8ZIPbLMccBU7nL0PARMjsRXwgLeIaVeEniZX BMdCJOtat9RNZDy0Ou9w0qjHPEDB4t06bf1A0uII= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72023: octeontx2-pf: fix SQB pointer leak on init failure Date: Sat, 15 Aug 2026 15:01:42 +0900 Message-ID: <2026081510-CVE-2026-72023-c1c4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3266; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=X+7rZp0qYVuPCatDme9Ob5HVc99Hu2VOm+N3ZeUZCl4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDMtsPnLZijt2MW8v/7rLPM5ufdCqiuaP0s9ZD1Yqx /kekDzTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNRWcewYEneFUkz+QViPwKX 3GM6riv8Yf+TCob5RSfXzZtx5kbAvOU+SqUC0vPWX//CCwA= 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-pf: fix SQB pointer leak on init failure otx2_init_hw_resources() initializes SQ aura and pool resources before several later setup steps. On failure, err_free_sq_ptrs only frees SQB pages, leaving the per-SQ sqb_ptrs arrays behind. Use otx2_free_sq_res() for the SQ unwind path and let it free sqb_ptrs even when sq->sqe has not been allocated yet. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1.1. An x86_64 allyesconfig build showed no new warnings. As we do not have an OcteonTX2 PF device and the corresponding AF mailbox setup to test with, no runtime testing was able to be performed. The Linux kernel CVE team has assigned CVE-2026-72023 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit caa2da34fd25a37e9fd43343b6966fb9d730a6d5 and fixed in 6.6.148 with commit 148d7ec0a3a98839c320e6cdd112e2e88bfb091b Issue introduced in 5.6 with commit caa2da34fd25a37e9fd43343b6966fb9d730a6d5 and fixed in 6.12.101 with commit 5e023fe2569e630ba23b5558ebe4bf4837af4d16 Issue introduced in 5.6 with commit caa2da34fd25a37e9fd43343b6966fb9d730a6d5 and fixed in 6.18.40 with commit 5df30f05db96552903680a17f858d250dfd9e86e Issue introduced in 5.6 with commit caa2da34fd25a37e9fd43343b6966fb9d730a6d5 and fixed in 7.1.5 with commit 23d917acd9c9a9fd999688ec3fdde7aa58ab8a14 Issue introduced in 5.6 with commit caa2da34fd25a37e9fd43343b6966fb9d730a6d5 and fixed in 7.2-rc3 with commit 62e7df6d042aeebd5efb581074e28865c04477be 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-2026-72023 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_pf.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/148d7ec0a3a98839c320e6cdd112e2e88bfb091b https://git.kernel.org/stable/c/5e023fe2569e630ba23b5558ebe4bf4837af4d16 https://git.kernel.org/stable/c/5df30f05db96552903680a17f858d250dfd9e86e https://git.kernel.org/stable/c/23d917acd9c9a9fd999688ec3fdde7aa58ab8a14 https://git.kernel.org/stable/c/62e7df6d042aeebd5efb581074e28865c04477be