Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759026; b=LdpPaJaw4MNidtrkkGNbMUfjYSv2bTyi+dAWAS4Yukw9ssibbBMDDttWT5IgXJkN4dq5 2SsSm47eD+u6LnBF3IlnocVhm7QYbEKUyZfEkgmWL5Z5R5kmB7r4rH4MunAqHDACxf0qa e5bQTKqMFLqFXEHuUjV5x08CkclRAZyyLo5J8Ht/xE6e6CGJOjEzU45TbYxPVBblEys3I W+YdbGouK/BAs3Y35/uJcsV9Fitd/mtUZ8E7KBlD7lV+DWifMsQ9x+4WUrpWRLTkDpPlZ EiryM3s7X67KEITozdVSTfmC1k/igCnR4tumnck/OIzW0EOL0R9e+NZfQ3OjPZvWPqA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759026; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=oRkE+EnwKbN2M+osBlfgIdvDiNBgYR7hB60Ud9RmpXQ=; b=pidLM2/hkw7JxtAZv8HLzFLdTEbQBhrZXNZhcKmHlPXWuuRKFnyKgWkBWLAEmoQWJ6qi WXP+m6vT1HF26/D8jBVC5EQQuh7lIrPwANQaCeP1dZjyQXnIk11F8aK09Rej0yCiWSpuv aIAI67mEd5SsQYkLqm92MJQzO4E11n5J0p+MqkVfVBdPkQY92iOLr+K6NQy0y++8Ode5M j/IodxnOnbRmbFV3gxAeJI1ozR1tBSfArIPkoSY2o7bdZp0gHIOw2zGp6Tha1m+A0OnzZ GlKPZbwBoTELnGkrmii+L/yKF6kzjjNyYGXwUTEJGEnxmLrlyQxI4Oc3wflCN94Zl+g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=WUyNFOf9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFE51606A31A for ; Fri, 23 Oct 2026 12:37:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=WUyNFOf9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2D2D1F01828; Fri, 23 Oct 2026 12:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759025; bh=oRkE+EnwKbN2M+osBlfgIdvDiNBgYR7hB60Ud9RmpXQ=; h=From:To:Cc:Subject:Date:Reply-To; b=WUyNFOf9U3rFRiX9zoG0h3tkD35sW5P/DcRvQ6qE9NbbhGUDfCiVPGH5LcpFNvsMg jQiv+IGAu6YQ+gb/t35OysSifqmDIoIt5wm2VRTO8jxCedx+jsSfmIYbWCRm/L4TIA q8H01oNxtRhG3i/jFoRpwuLru/tJgntDq9XqIbog= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99029: net: sparx5: free the matchall entry on destroy Date: Fri, 23 Oct 2026 14:20:31 +0200 Message-ID: <2026102324-CVE-2026-99029-81fc@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2821; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zLw3iNcqUBSWPuRmkl1g1Y1RNXokEka9WM8x7EC0HVA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A858suQ0vdYg9lxs6Rn2/3fMeO7sm7KRq4TbyT7Wt KG/+x1DRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkkJVhniHflEWnI55P27Xj i/XqbInd/D6HDjDMr1N2uel7b/tHi3VbOcVszL1/KupzAgA= 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: net: sparx5: free the matchall entry on destroy sparx5_tc_matchall_replace() allocates a struct sparx5_mall_entry for every offloaded matchall filter and adds it to sparx5->mall_entries. sparx5_tc_matchall_destroy() removes the entry from the list, but never frees it, so the entry of every deleted mirror and goto matchall filter is leaked. Free the entry after unlinking it. The leak was discovered by an AI code review agent, and reproduced with kmemleak on a lan969x EV board (EV23X71A) by repeatedly adding and deleting matchall mirror and goto filters. With the fix, kmemleak no longer reports the leak. The Linux kernel CVE team has assigned CVE-2026-99029 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 1ede4acf045ced70d9b72465e2e968aec71e0a42 and fixed in 6.12.113 with commit fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e Issue introduced in 6.10 with commit 1ede4acf045ced70d9b72465e2e968aec71e0a42 and fixed in 6.18.57 with commit cc7cc5955d22ea90555f09a680d4bf56d4a0c24a Issue introduced in 6.10 with commit 1ede4acf045ced70d9b72465e2e968aec71e0a42 and fixed in 7.2.11 with commit 44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e Issue introduced in 6.10 with commit 1ede4acf045ced70d9b72465e2e968aec71e0a42 and fixed in 7.3 with commit 2b82e16d6084cbc651e3c902198f1945408ee1a5 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-99029 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/microchip/sparx5/sparx5_tc_matchall.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/fa0c27d9e17ee2e46d4b8274a6fde706f0d6725e https://git.kernel.org/stable/c/cc7cc5955d22ea90555f09a680d4bf56d4a0c24a https://git.kernel.org/stable/c/44efb6d92dd5a2b1dd9553d92ef0eebde135fc6e https://git.kernel.org/stable/c/2b82e16d6084cbc651e3c902198f1945408ee1a5