CVE-2026-72320

netfilter: nft_lookup: fix catchall element handling with inverted lookups

Published Aug 15, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical impact

The Linux kernel’s nftables subsystem contains a logic flaw in the nft_lookup_eval function. When an inverted set lookup (NFT_LOOKUP_F_INV) encounters a catchall element, the function fails to recompute the match flag after replacing the direct lookup with the catchall, causing packets to be accepted or dropped incorrectly. This violates the integrity of packet filtering decisions, allowing traffic that should be blocked to pass or legitimate traffic to be denied.

Affected Systems

This defect exists in the kernel’s nftables module and is present in any Linux kernel build that lacks the fix introduced by the commits 0ab8880, 238c612, e6107a4, and ef0c7d4. Because the change was made upstream, all kernel versions shipped before these patches are potentially affected. Exact affected versions are not listed, so any distribution that has not applied the latest kernel update that contains the fix is at risk.

Risk and Exploitability

The CVSS score of 9.1 indicates a high‑severity flaw, while the EPSS score of <1% suggests a very low probability of exploitation in the wild. The vulnerability is not in CISA’s KEV catalog, which implies limited known exploitation. Exploitation requires the ability to modify nftables configuration, a capability that normally necessitates local administrative privileges. If an attacker gains such access, the incorrect verdict could be used to bypass firewall rules, potentially allowing unwanted traffic or blocking legitimate traffic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the nft_lookup patch for inverted lookups.
  • If an update cannot be rolled out immediately, refrain from using inverted set lookups (NFT_LOOKUP_F_INV) in essential nftables rules until a patched kernel is available.
  • Rewrite existing nftables rules that rely on inverted set membership to use explicit ranges or separate match conditions to avoid incorrect verdicts.
  • Audit all nftables configurations for inverted lookup expressions and adjust them before a kernel upgrade is applied.

Generated by OpenCVE AI on August 22, 2026 at 08:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-8781-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-4 Linux kernel (GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-682
Type Values Removed Values Added
Weaknesses CWE-682
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
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().
Title netfilter: nft_lookup: fix catchall element handling with inverted lookups
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:29 PM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Oct 30, 2026, 1:19 PM
Severity
Important
Public date
Aug 15, 2026, 12:00 AM