netfilter: bpf: reject invalid NAT manipulation types

Summary

CVECVE-2026-98793
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:33 UTC
Updated2026-10-21 13:21:46 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001680000 probability, percentile 0.057170000 (date 2026-10-21)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 752492947be3123ea6c689e2f93ae04ecd675d42 git Not specified
CNA Linux Linux affected 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058 git Not specified
CNA Linux Linux affected 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 f6143ae109df56d51d5536e813deb19eee7a6205 git Not specified
CNA Linux Linux affected 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 58108f05b0502448f6bb612ee2eccc63bd6449cb git Not specified
CNA Linux Linux affected 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 16d464013ec2267b00a83f4bfbb97b3ecc63bfa7 git Not specified
CNA Linux Linux affected 6.1 Not specified
CNA Linux Linux unaffected 6.1 semver Not specified
CNA Linux Linux unaffected 6.6.160 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.113 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.56 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.10 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/752492947be3123ea6c689e2f93ae04ecd675d42 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report