From mboxrd@z Thu Jan 1 00:00:00 1970 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 157203A785C for ; Sun, 19 Jul 2026 15:43:24 +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=1784475805; cv=none; b=Vc5dLbQbn4XAjWVT1ovGLbbE1HF8/x8sLDy2D8inEr00at9cNu+B+8SW7777rheok3SG+e/CU4QWgCTYlIUETNnf6dxDGz3BEl+tvxiKCbXQOZEYaZmZlEqUDJFkFZZEk+7psBs1siQELKK8Kfp6uvNGQ7I0xc9MYzy9U2gNSkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475805; c=relaxed/simple; bh=b/xhn7rXo9Q7fHgrjMOJyUkfST43FrDNj66F9NAfX78=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eQC6Mj14djSpBS/Wq3NwOsFr/mZf+U4nBlmXLbXJDNIudLRteyvZZgF2N0xhgBTpbm4y1o4/WZMsX3xj3bP+TpTI8IeGMFZQXgvEB5Mjd0B4TyGEE2Qyof1fWqzy2CY7zgAes0jA6mLvbd2BGPHhRtkqx9C9ZxezpG6fTY7QgH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zJI1+6nu; 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="zJI1+6nu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 789691F000E9; Sun, 19 Jul 2026 15:43:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475804; bh=9//TBTvmdRk9RwxxMl0uy6wXUEHzmPRD3OV2GZjx+4A=; h=From:To:Cc:Subject:Date:Reply-To; b=zJI1+6nukiS7vTpdQs229Ru39xcJO3gWkY7iYxH5TzUUGbAB77VXi3FB6DFpsfkTJ H7VmVy2aaW0AJ8q4m3eAhRrHhP20657YKUrFK69vvNiN5m+G0RrEKfTl8eVYe19aF/ wJR7D8e0YVrjfcZZTP4QAbGiHhuQKCwmnz/G059Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64054: net: shaper: reject duplicate leaves in GROUP request Date: Sun, 19 Jul 2026 17:38:36 +0200 Message-ID: <2026071909-CVE-2026-64054-45dc@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=2423; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1cnkUrg6N+DySo7IXLSjpLAd2yOlJxm42lkHif8dvB8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7xOXxTbO0807VPYsaIZVpKdhqUUe/93U3PuqWkxpC leU3jN3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESumTDMr13vv8+TPeiB0Xa+ uvW5oqceewdLMCzoKpmR/Nkw9dXRH4XPVOcsW9wz87srAA== 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: shaper: reject duplicate leaves in GROUP request net_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES entries. When userspace supplies the same leaf handle twice, the same old-parent pointer lands twice in old_nodes[]. The cleanup loop double frees the parent. Of course the same parent may still be in old_nodes[] twice if we are moving multiple of its leaves. Note that this patch also implicitly fixes the fact that the i >= leaves_count path forgets to set ret. The Linux kernel CVE team has assigned CVE-2026-64054 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e and fixed in 6.18.34 with commit 5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75 Issue introduced in 6.13 with commit 5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e and fixed in 7.0.11 with commit 31767bf852b59f05125b58a17007e4cd1ea9eb2e Issue introduced in 6.13 with commit 5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e and fixed in 7.1 with commit a9a2fa1da619f276580b0d4c5d12efac89e8642b 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-64054 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: net/shaper/shaper.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/5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75 https://git.kernel.org/stable/c/31767bf852b59f05125b58a17007e4cd1ea9eb2e https://git.kernel.org/stable/c/a9a2fa1da619f276580b0d4c5d12efac89e8642b