Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: bpf: reject invalid NAT manipulation types

As bpf_ct_set_nat_info() is not validating the NAT manipulation type a
wrong value can be passed directly to nf_nat_setup_info(). This triggers
the WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn't set,
then IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack
cleanup tries to unlink an uninitialized hlist node.

Fix this by checking that NAT manipulation type is correct before
calling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return
NF_DROP instead of continuing with the processing to avoid similar
situations in the future.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel panic
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel, the bpf_ct_set_nat_info() function fails to validate the NAT manipulation type, which allows an attacker to supply a wrong value that is passed directly to nf_nat_setup_info(). This triggers a WARN_ON inside nf_nat_setup_info(), and if the kernel’s panic_on_warn is unset, the IPS_SRC_NAT_DONE flag is set without adding a nat_bysource entry. Consequently, the connection‑track cleanup routine attempts to unlink an uninitialized hlist node, which can cause a kernel crash and bring the system down.

Affected Systems

The flaw resides in the netfilter module of the Linux kernel and affects any installation that compiles the kernel with the unpatched netfilter BPF pathway. Inferred: any distribution running a kernel built with this code before the commit that added NAT type validation is vulnerable. No specific version range is listed in the advisory.

Risk and Exploitability

The vulnerability carries a moderate impact: if an attacker can inject a malformed NAT manipulation value via a BPF program, the kernel may trigger a WARN_ON, set the IPS_SRC_NAT_DONE state improperly, and finally crash, resulting in a denial‑of‑service. The CVSS score of 4.4 indicates moderate severity; the lack of a KEV listing and an EPSS score of < 1% suggest that public exploitation has not yet been observed. Inferred: there is no current evidence of exploitation. The vulnerability requires privileged access to load or modify BPF programs, typically via CAP_NET_ADMIN; this level of privilege is a common target for system administrators and may be abused if misconfigured. Inferred: if such privileges exist, the potential for exploitation increases. Therefore, the risk is moderate for systems that expose BPF loading to untrusted users or run with elevated capabilities, while the exploit likelihood remains uncertain.

Generated by OpenCVE AI on October 24, 2026 at 02:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the bpf_ct_set_nat_info validation and returns NF_DROP on invalid NAT manipulation types.
  • Restrict the use of CAP_NET_ADMIN or BPF program loading to trusted users and enforce least privilege. If possible, disable or restrict netfilter BPF functionality until the patch can be applied.
  • Audit existing BPF programs to confirm they do not pass unsupported NAT manipulation types, and consider disabling any that do.

Generated by OpenCVE AI on October 24, 2026 at 02:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 13:00:00 +0000


Sat, 24 Oct 2026 00:30:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Wed, 21 Oct 2026 13:15:00 +0000


Sun, 18 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: bpf: reject invalid NAT manipulation types As bpf_ct_set_nat_info() is not validating the NAT manipulation type a wrong value can be passed directly to nf_nat_setup_info(). This triggers the WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn't set, then IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack cleanup tries to unlink an uninitialized hlist node. Fix this by checking that NAT manipulation type is correct before calling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return NF_DROP instead of continuing with the processing to avoid similar situations in the future.
Title netfilter: bpf: reject invalid NAT manipulation types
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-10-30T12:39:51.633Z

Reserved: 2026-09-25T10:25:14.370Z

Link: CVE-2026-98793

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:33.287

Modified: 2026-10-30T13:21:28.133

Link: CVE-2026-98793

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98793 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T02:45:17Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-824

    Access of Uninitialized Pointer