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 C59B249364A for ; Fri, 25 Sep 2026 10:29:25 +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=1790332167; cv=none; b=Fj/VZC8G0H9xcK+xtpUyRSotwJBVRA+qn3/c6vCdYMckxWEgOKOd/Vm0x6sMmKBRsSzvY1mwLIJqVfTTyzGe1lnY3l0ITW1sTjlPmynP7cwOvf2qpLATDAlVXabxo71p8qNwem6Xg++RwXBxQMZMO7mTSYyYawzfIH8Kx0qgE7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332167; c=relaxed/simple; bh=eFDhtEa8dT940vbzDU4MTRhBc2NWcrODloo9FUifiFU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZobPTqh/8y3A9jHHlBE9wJ5qqdKYH8CACkwUa3tjYMnp43B0VJW9j4V+8We+kGecBk703ewBGPrXv2xUSSyaWDNurv81UqWznHX1uwuquEoVtTwLfnVsJJs6oA9Vt6guWsyRWB8tAb9qa9UcFeS3J6/137m5Sop6oFyPVLy5HNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mWjtMAIx; 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="mWjtMAIx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29C361F000FF; Fri, 25 Sep 2026 10:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332165; bh=/hVC/BDS++VkK1Q3DW/M7k/oxGsa2v/PXCDoyJVfjp0=; h=From:To:Cc:Subject:Date:Reply-To; b=mWjtMAIxqXChArPXbsLIYzZp6QYFUTGtl+LE5tai5QPO8zT8pFpKEWtGeTN74/u6t lmZU/bm2twIoOd+RD5zvXUoIFGeWW/KXBtobMrGEl0dPIwCoIDHzDvUH4781NCQjxZ Ud6jObCrI3q2HAHh1OQ1F607+TV3KJFVj/wbzzv8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97940: ipv6: fix fib6 walker UAF on seq stop Date: Fri, 25 Sep 2026 12:24:03 +0200 Message-ID: <2026092512-CVE-2026-97940-88a2@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=2962; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QZ7VczFR3oYXaQEqXR1jZSVsF4oQxgXSODkevp5e/70=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvEPU+Fu+mE4uC6m8sLCy//9W3vpXN9KZT91p2rhRR HJFc2hcRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkEQfDgrnvbGQqFvN/aJoc 8FX8X92lq6a91Qzzk3jMjTfrnn+43O3R9lrL9k+KFw68AQA= 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: fix fib6 walker UAF on seq stop ipv6_route_iter_active() treats a walker in FWS_U at the table root as already unlinked. fib6_del_route() can move a still-linked walker into that same state when the current leaf is the last route at the root, so ipv6_route_native_seq_stop() skips fib6_walker_unlink(). The seq private object can then be freed while it remains on net->ipv6.fib6_walkers. A later route deletion walks the dangling list and uses the freed walker. Use the list head as membership state and reinitialize it when unlinking. Keep the existing w->node check so a never-started iterator with a zeroed private object is not treated as linked. The same stop helper is used by /proc/net/ipv6_route and by the BPF ipv6_route iterator. The BPF show path only widens the race. The Linux kernel CVE team has assigned CVE-2026-97940 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 and fixed in 6.12.111 with commit 0eede1689610e9eeaf729ba86fd1321799eb91a0 Issue introduced in 3.13 with commit 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 and fixed in 6.18.53 with commit b89b691dd00bf39b9ba39ab9446f8c62f419fa7b Issue introduced in 3.13 with commit 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 and fixed in 7.2.7 with commit 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02 Issue introduced in 3.13 with commit 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 and fixed in 7.3-rc3 with commit 19b4ed644d68098cc62ab612727f40d30f43476c 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-97940 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_fib.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/0eede1689610e9eeaf729ba86fd1321799eb91a0 https://git.kernel.org/stable/c/b89b691dd00bf39b9ba39ab9446f8c62f419fa7b https://git.kernel.org/stable/c/4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02 https://git.kernel.org/stable/c/19b4ed644d68098cc62ab612727f40d30f43476c