# CVE-2026-98793: netfilter: bpf: reject invalid NAT manipulation types

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:48:33.555Z
- Modified: 2026-10-30T13:21:28.133Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e; from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before 752492947be3123ea6c689e2f93ae04ecd675d42; from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058; from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before f6143ae109df56d51d5536e813deb19eee7a6205; from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before 58108f05b0502448f6bb612ee2eccc63bd6449cb; from 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 before 16d464013ec2267b00a83f4bfbb97b3ecc63bfa7; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/ce7b41f0e4b5db0580d0a2059a0c9e672b461b5e>
- <https://git.kernel.org/stable/c/752492947be3123ea6c689e2f93ae04ecd675d42>
- <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>

## Sources

- CVE List: [CVE-2026-98793](https://www.cve.org/CVERecord?id=CVE-2026-98793), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98793](https://nvd.nist.gov/vuln/detail/CVE-2026-98793), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98793 · Whole record: https://cve.day/CVE-2026-98793.json · Rebuilt by cve.day 2026-11-25T22:59:45.304Z
