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 1ED144908C3 for ; Fri, 25 Sep 2026 10:26:10 +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=1790331971; cv=none; b=IhMLu29SAJHa7wYmxW9PGyj8pud5Dl5y4Pv1VjjeDgFvq4k6Zxfj7vsuzrvGCBhVjqw4mqFc90iMJ+PkM/1XXmO/5d5I1tNsUy0dTR3oSIwcpY0bkuHP97DuyK+p0kRK53i0pnV2Iy8P6xdZ2xksP4i0iugLh3gKx0ba3p35FkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331971; c=relaxed/simple; bh=ApslotK9s18dAJSIYfTcJ89c4Bbv0CWfW2hsyAkOyXw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=brmIK+H2oEaPlnrDOftP6DtaNhRB1AQC6lcA4Kri/gJMs30zGCrlONVIjxhu6W6Ut9rhwaDjICyqu47H2C3vDJRnIPCsiB06zTr/gkmcBjIz7QPBmxRFRQpMKmR1hXyJNAp08fyOG1rUqvWFw5VAsCx0il2zeauWgtg3dC8PIQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mIzfPesE; 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="mIzfPesE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 793671F00893; Fri, 25 Sep 2026 10:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331970; bh=63MSMWQeF766zairOGRQtFlSjIf0R0lUaSBBCz/4Ov8=; h=From:To:Cc:Subject:Date:Reply-To; b=mIzfPesEctVi3Nca+uXQD+FxyeFjlG4SPn3/HANIrMnTCafYtFm4L/idvOR3UFPXl wJNXGOPcL65OtMiRLhn1uyww8MvogrZQW0iSvmyeV9D7zNCZBTav6a94OScOTHK9dD 9eeleHgMHES9YVBbspenaW7OnKTPGsGhz3Ba3vXg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97597: ipv6: flowlabel: cap duplicate leases per socket Date: Fri, 25 Sep 2026 12:22:57 +0200 Message-ID: <2026092559-CVE-2026-97597-223f@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=3162; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wRvKhYYsJXshnA1e/8UlUc4LMcDjVQmlKMho63WQjHU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvN1tbF4bxR5jbckNPOYedY51Maeb7vLc954dq1W+9 95dfHVXRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk036GBVcDV4pV985k7T4w q6Hkn+0Rmw9XFjHMYvYNmbhKqKTwz8sEkfNcPqa/unx3AgA= 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: ipv6: flowlabel: cap duplicate leases per socket ipv6_flowlabel_get() allocates an ipv6_fl_socklist entry for every successful GET. The recheck path for a compatible existing flowlabel links another lease without applying any lease admission check. Repeated GET requests for one shareable label can therefore grow a socket's lease list without bound. Reject a new unprivileged lease once the socket already holds FL_MAX_PER_SOCK leases. Check this on the shared recheck path so reuse of a globally interned label, including the fl_intern() collision path, is covered as well. New-label admission remains under the existing mem_check() policy. Use capable(CAP_NET_ADMIN) rather than ns_capable(), matching mem_check(). An unprivileged user must not bypass the cap by creating a user namespace and a netns where they have CAP_NET_ADMIN, which would still consume host memory. Check the capability only when the socket reaches the limit, so successful unprivileged GET requests below the cap do not generate a capability audit. Do the admission check before updating linger and expires so a rejected GET does not refresh the shared label, matching the existing socket-list allocation failure path. The Linux kernel CVE team has assigned CVE-2026-97597 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.53 with commit 2f1a6dd5c80ceb902f50449efe899f29cd7918e3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2.7 with commit 467467bf4209f9f8add0c648bae763f92a0224c3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3-rc3 with commit 8d6cd188508513503805c156165de38e4e4a8615 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-97597 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/ipv6/ip6_flowlabel.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/2f1a6dd5c80ceb902f50449efe899f29cd7918e3 https://git.kernel.org/stable/c/467467bf4209f9f8add0c648bae763f92a0224c3 https://git.kernel.org/stable/c/8d6cd188508513503805c156165de38e4e4a8615