-

CVE-2026-98793

netfilter: bpf: reject invalid NAT manipulation types

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e
Status affected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < 752492947be3123ea6c689e2f93ae04ecd675d42
Status affected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058
Status affected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < f6143ae109df56d51d5536e813deb19eee7a6205
Status affected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < 58108f05b0502448f6bb612ee2eccc63bd6449cb
Status affected
Version 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version < 16d464013ec2267b00a83f4bfbb97b3ecc63bfa7
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.1
Status affected
Version 0
Version < 6.1
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.160
Status unaffected
Version <= 6.12.*
Version 6.12.113
Status unaffected
Version <= 6.18.*
Version 6.18.56
Status unaffected
Version <= 7.2.*
Version 7.2.10
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.057
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058
https://git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205
https://git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb
https://git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7
https://git.kernel.org/stable/c/752492947be3123ea6c689e2f93ae04ecd675d42
https://git.kernel.org/stable/c/ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e