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 A33E8368D67 for ; Sun, 18 Oct 2026 15:22:08 +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=1792336929; cv=none; b=jRpJKKZ/VO9k209Zs8Q/J21NbkZiRK+IxzPHPXmKu0n2M1c3PWAZWZN+Mv/z4zJj5a4I1J7LX9nY7pubuDOQdLei4Oag9+uUxw21ZtaipL00cTQ4L//0IRZhayEH5DOPDZAmpnQmnoPqfrpVGp83nK5hcjn9Cg2x70wNZrP+CqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336929; c=relaxed/simple; bh=WrVWK6AOcGpMsRSPmSWawxXOu9qPN5LI5CdPR2+3+t4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R+EJ3FkeCvtEFgaOe78/4B0Ky1B1cK+6AxmJSFWt7GymWH5rCzIBwwLT0K3T9wsxIrFTopjzZkuEW32FbmtYJHVEKe315Mgr6kRXAHAQy+97P5OPv/LHFyqlf3iaL5EvpxglZ8IaAwm0Jjfu1x+d/v6zH7Gg/GK+Ytuz/9HJbwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WAOnPga3; 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="WAOnPga3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20B751F000C4; Sun, 18 Oct 2026 15:22:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336928; bh=tcpIcQh4wlP1dUDdy2HEHlJuEan28cbi2ehxM4RR7+4=; h=From:To:Cc:Subject:Date:Reply-To; b=WAOnPga3uEf3XeMuujaP/Ca0Kgl9SwEntqclqBwx90d1NSS4OroqWw3YqvLcK9T22 xHY9Qt3WGi2TFUB6rAQDYkwtKA0eQmHQlslZu9/8rI3h1VA+km5uv6N1zRhhwXDapK uQCrnVhByAJiQXm4X1/tco0/KWpy/RUiZGfwryKY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98484: netfilter: nf_tables: skip expired catchall elements on insert and delete Date: Sun, 18 Oct 2026 17:15:48 +0200 Message-ID: <2026101815-CVE-2026-98484-9aee@gregkh> X-Mailer: git-send-email 2.56.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=3479; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iL4/c6iHDken274yw4830r9G0hL7zZv4YYWJP833rdw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHjVHv5wq1dm24tK6xsV9tc/OuV+e7DS9/NOMFxNkT CQ1o7jmdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEfnIyzI87YXhH4+baeSGP 7AXtLB9e7yl85MiwYNXSzrYHws9vHd/jyRe27ei3ujmfIwA= 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: netfilter: nf_tables: skip expired catchall elements on insert and delete nft_setelem_catchall_insert() looks up duplicates with nft_set_elem_active() only, while nft_set_catchall_lookup() and the dump path additionally skip expired elements. Once a catchall element with a timeout expires, this predicate drift makes it invisible to userspace dumps, yet it still blocks re-insertion: with NLM_F_EXCL the request fails with -EEXIST, and without it the request reports success but silently inserts nothing. The stale entry only goes away when the (user-tunable) gc interval elapses, so the catchall rule may silently stop matching for an arbitrarily long time after its first expiration. The delete path shows the same drift: nft_setelem_catchall_deactivate() picks the first active-next entry in the catchall list, so with an expired entry still pending GC it retires the stale entry instead of the fresh one, and it deactivates an element that userspace no longer sees instead of failing with -ENOENT. Align both walks with the lookup and dump predicates: only an element that is active and not expired counts as a duplicate or delete candidate, using the per-netns timestamp taken at transaction start, in line with the set backend .insert/.deactivate and catchall GC sync paths. The Linux kernel CVE team has assigned CVE-2026-98484 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 6.12.112 with commit 2f07da3881525f7cbfed1ced2796c71a201505b9 Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 6.18.55 with commit 12cf803edfffef96f6415f0b5dbc7ec88842ea0f Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 7.2.9 with commit 4fb8b1ccc475651e480e509de126bb9ce7f3cff9 Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 7.3-rc5 with commit 70194dc37670bd08e44b471389861cc01bd3a3c9 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-98484 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/netfilter/nf_tables_api.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/2f07da3881525f7cbfed1ced2796c71a201505b9 https://git.kernel.org/stable/c/12cf803edfffef96f6415f0b5dbc7ec88842ea0f https://git.kernel.org/stable/c/4fb8b1ccc475651e480e509de126bb9ce7f3cff9 https://git.kernel.org/stable/c/70194dc37670bd08e44b471389861cc01bd3a3c9