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().
Published: 2026-08-15
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Sat, 22 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1025
References
Metrics threat_severity

None

threat_severity

Important


Mon, 17 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Mon, 17 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Mon, 17 Aug 2026 06:00:00 +0000

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'}


Sat, 15 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Sat, 15 Aug 2026 06:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:42:46.791Z

Reserved: 2026-08-09T03:40:39.919Z

Link: CVE-2026-72320

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:04.993

Modified: 2026-08-17T06:18:35.467

Link: CVE-2026-72320

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72320 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T08:45:03Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors