UBUNTU-CVE-2026-98793: Low severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfilter: bpf: reject invalid NAT manipulation types As bpfctsetnatinfo() is not validating the NAT manipulation type a wrong value can be passed directly to nfnatsetupinfo(). This triggers the WARNON() at nfnatsetupinfo() and if paniconwarn isn't set, then IPSSRCNATDONE is set without adding natbysource and conntrack cleanup tries to unlink an uninitialized hlist node. Fix this by checking that NAT manipulation type is correct before calling nfnatsetupinfo(). In addition, if the WARNON is hit, return NFDROP instead of continuing with the processing to avoid similar situations in the future.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Validate that the NAT manipulation type supplied by bpf_ct_set_nat_info() is valid before calling nf_nat_setup_info().
- Compensating control
If the WARN_ON at nf_nat_setup_info() is triggered, return NF_DROP instead of continuing processing.