{"id":"CVE-2026-98793","summary":"netfilter: bpf: reject invalid NAT manipulation types","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: bpf: reject invalid NAT manipulation types\n\nAs bpf_ct_set_nat_info() is not validating the NAT manipulation type a\nwrong value can be passed directly to nf_nat_setup_info(). This triggers\nthe WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn't set,\nthen IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack\ncleanup tries to unlink an uninitialized hlist node.\n\nFix this by checking that NAT manipulation type is correct before\ncalling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return\nNF_DROP instead of continuing with the processing to avoid similar\nsituations in the future.","modified":"2026-10-19T02:47:22.582680788Z","published":"2026-10-18T15:48:33.555Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98793.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98793.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98793"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}