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 AD0013E3169 for ; Wed, 6 May 2026 11:31:05 +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=1778067065; cv=none; b=i98kfmHguwr/GwQybIzCnwP72JanXL27cI466l52mGmdnN1P0jrxllBDI96tzfxlqoAJyQPKQ+7XKvs6FPN1zJEKRPXO38ZCn5z+J7/c5al7/OKKUlgDWSrSPktQtN58l1ftvy8OABOOF306mRRej17obZC83/m/dcHpi6g7qPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067065; c=relaxed/simple; bh=hnf7zJKw3DlpJ6rABl9YLZYst8FlrRrF9bWbzfz+ALY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fjuLU8sQuAEoZ5l+Omy3Uqwg4g07YTiiIrAkoVzeuBMDpxP/90k/jz/YQsgXQBoQDUyZhsbdPZ+KkjBfI2dDW4OIRlwYJHfLA/8BIz+KTc8Hk/RiCHFCUeJtvxeEHlv+/PAP0jaJC8lOXetS46Bpf86hLjy6PwJga1kbDFHl7fU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uw8bcQlL; 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="uw8bcQlL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44230C2BCB8; Wed, 6 May 2026 11:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067065; bh=hnf7zJKw3DlpJ6rABl9YLZYst8FlrRrF9bWbzfz+ALY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=uw8bcQlLF/Ye38NmkVysoab6PEVERfPwBv5W/uKuRPiNy28XazRBe5leGm3jLKSG+ lg++zH3relhSkA1lZsaKWq9kpJDg+dzHON3Tcj0ueL85836nN9HmZu5tpMaKWXrFTS 6Ho3Y1RIwyg7esvmg/QtSKeM+crGTM8Zv3wrv+WQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43157: octeontx2-af: CGX: fix bitmap leaks Date: Wed, 6 May 2026 13:27:53 +0200 Message-ID: <2026050630-CVE-2026-43157-b4de@gregkh> X-Mailer: git-send-email 2.54.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=3029; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zn89yr12RguexKMKaZjL6F8cXmfh6V2NlhKWyOAeZ1Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VRdJi67YJsAzU3Kzr80EkQ1VVrqrfjsWfr0icfPvb 5v5U7LaO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAil7YwLLj2Ya9TOjPrvf4N icf6bWafM408f5NhQXMgn8NKrnDXrO8fp0ZmCJ/f8+NjKgA= 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-af: CGX: fix bitmap leaks The RX/TX flow-control bitmaps (rx_fc_pfvf_bmap and tx_fc_pfvf_bmap) are allocated by cgx_lmac_init() but never freed in cgx_lmac_exit(). Unbinding and rebinding the driver therefore triggers kmemleak: unreferenced object (size 16): backtrace: rvu_alloc_bitmap cgx_probe Free both bitmaps during teardown. The Linux kernel CVE team has assigned CVE-2026-43157 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 6.1.165 with commit ad8a13a45c5c24d0d32de9a1c3fd58498a675ece Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 6.6.128 with commit 013ac469596a0b8671e62d89c89ae0bd46bbe667 Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 6.12.75 with commit ccef79af58b43787c25710c9da96651c6ddfe50f Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 6.18.16 with commit 6d389382ee655128056fbdab86baad8495ffbf33 Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 6.19.6 with commit ccca14bbdcc25829d355b9f4d3249f43dadb71c1 Issue introduced in 5.18 with commit e740003874edc13e468d19233f99787bedb4bb8e and fixed in 7.0 with commit 3def995c4ede842adf509c410e92d09a0cedc965 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-43157 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/af/cgx.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/ad8a13a45c5c24d0d32de9a1c3fd58498a675ece https://git.kernel.org/stable/c/013ac469596a0b8671e62d89c89ae0bd46bbe667 https://git.kernel.org/stable/c/ccef79af58b43787c25710c9da96651c6ddfe50f https://git.kernel.org/stable/c/6d389382ee655128056fbdab86baad8495ffbf33 https://git.kernel.org/stable/c/ccca14bbdcc25829d355b9f4d3249f43dadb71c1 https://git.kernel.org/stable/c/3def995c4ede842adf509c410e92d09a0cedc965