{"id":"CVE-2026-98793","aliases":["CVE-2026-98793"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: bpf: reject invalid NAT manipulation types","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T15:48:33.555Z","modified":"2026-10-30T13:21:28.133Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e","status":"affected"},{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"752492947be3123ea6c689e2f93ae04ecd675d42","status":"affected"},{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058","status":"affected"},{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"f6143ae109df56d51d5536e813deb19eee7a6205","status":"affected"},{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"58108f05b0502448f6bb612ee2eccc63bd6449cb","status":"affected"},{"type":"git","introduced":"0fabd2aa199faeb8754aee94658f2c48ccb2c8c3","fixed":"16d464013ec2267b00a83f4bfbb97b3ecc63bfa7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/752492947be3123ea6c689e2f93ae04ecd675d42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98793","url":"https://www.cve.org/CVERecord?id=CVE-2026-98793","licence":"CVE Terms of Use","modified":"2026-10-30T12:39:51.633Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98793","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98793","licence":"Public domain","modified":"2026-10-30T13:21:28.133Z"}],"updatedAt":"2026-11-25T22:59:45.304Z","epss":{"score":0.00173,"percentile":0.07069,"date":"2026-12-01T12:00:22.000Z"}}