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 C111C370D63 for ; Sat, 15 Aug 2026 06:22:21 +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=1786774942; cv=none; b=pW7Hb0oVkwaqpblIO2SdkCqctUnfkQrScaOQzgFWSBL8L82zomYglpwILJnJWOK5N2hxOyh2upGf9KToZIXjgFGua5/gXFHJ9sgVsPb1HOKUeJkCL8oRW+ZKlSkXPqwwyAwrn6eoXIU3Y8OQTpRt9Mj8V9sTj0fjraV3PDXVu/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774942; c=relaxed/simple; bh=IuEcZEhdeI7AMerIvC78POu5gSDIm5IXdJqMegwrSFk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H8OlQAy2TQdyUBl9XBnB2VYGC4iLigl+2VDcc3GVyLG3tTn5dskvIHO3iRHPJU8hJANL/q7gESHWzDG6zlLRmuJ9JNtb8+tE1Lz9M1DOqILW04WLO13fUa9cWcivp9XFQr3pr18Snjv4fuL/vnClAFfRvdj72u7SD27EPtFe/DQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Wgl8h9vX; 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="Wgl8h9vX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1869B1F000E9; Sat, 15 Aug 2026 06:22:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774941; bh=ystcak7l5DwaFhEk70Air9w1CoziXiX22VNUdLY+FUE=; h=From:To:Cc:Subject:Date:Reply-To; b=Wgl8h9vXQkXEs30XPBhpDpr3avu6lfR6u8r4kgoS5lj38p9ZjE84p0y6Kx5nz7j4Z wRTfPH9Oea1NCyWojWhxgWprceSA15qxgXuZOMjCbfqmPRjbYEMmsmeDWMyIuIuZ9k /gXUb46CJuLLn31g28W2LrPzuxxZx4t/z1JiFg4Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72320: netfilter: nft_lookup: fix catchall element handling with inverted lookups Date: Sat, 15 Aug 2026 15:06:39 +0900 Message-ID: <2026081506-CVE-2026-72320-23b8@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=2812; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BbCze9Wy2q9RwBa2kz34m4lyLDxf45q6k/kzy1cAUcM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDPcsa/Xu2Ex89TtI6JvuVy5+LW+lYxLyHWaB0V7a+ Z6Nbx93xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQWrGNYsIVNXeuGeYiGkfic zVYCMwWMdFVzGRZsO9gudOR7Gu9PNaN/P5JKtmz/uZMXAA== 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: nft_lookup: fix catchall element handling with inverted lookups nft_lookup_eval() decides whether a lookup matched (`found`) from the direct set lookup and priv->invert before falling back to the catchall element used by interval sets (e.g. nft_set_rbtree) for the open-ended default range. Since `found` is never recomputed after `ext` is replaced by the catchall lookup, inverted lookups (NFT_LOOKUP_F_INV, "!= @set") can wrongly match or wrongly skip the catchall element, producing the wrong verdict. Fold the catchall lookup into `ext` before computing `found`, matching the order already used by nft_objref_map_eval(). The Linux kernel CVE team has assigned CVE-2026-72320 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 6.12.97 with commit 0ab8880865f9678eb6174e72c1fc4712e44c745c Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 6.18.40 with commit 238c612357b5a25f03eacf356f95034f8551f218 Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 7.1.5 with commit ef0c7d4b04a0e6ad175323c24bc84e11470dd79d Issue introduced in 5.13 with commit aaa31047a6d25da0fa101da1ed544e1247949b40 and fixed in 7.2-rc3 with commit e6107a4c74b54cb33e3bce162a63048ae5a6b198 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-72320 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/nft_lookup.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/0ab8880865f9678eb6174e72c1fc4712e44c745c https://git.kernel.org/stable/c/238c612357b5a25f03eacf356f95034f8551f218 https://git.kernel.org/stable/c/ef0c7d4b04a0e6ad175323c24bc84e11470dd79d https://git.kernel.org/stable/c/e6107a4c74b54cb33e3bce162a63048ae5a6b198