CVE-2026-98793

Source
https://cve.org/CVERecord?id=CVE-2026-98793
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98793.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98793
Downstream
Published
2026-10-18T15:48:33Z
Modified
2026-10-19T02:47:22Z
Summary
netfilter: bpf: reject invalid NAT manipulation types
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98793.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Fixed
ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058
Fixed
f6143ae109df56d51d5536e813deb19eee7a6205
Fixed
58108f05b0502448f6bb612ee2eccc63bd6449cb
Fixed
16d464013ec2267b00a83f4bfbb97b3ecc63bfa7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98793.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98793.json"