Linux kernel netfilter nft_reject unbounded recursion stack exhaustion
CVE-2026-143368 Published on December 3, 2026
netfilter: nft_reject: prevent unbounded recursion in output hooks
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_reject: prevent unbounded recursion in output hooks
nftables payload-mangling rules can rewrite packet contents (such as TCP
flags) before they are evaluated by reject targets. This defeats the
content-based loop guards, allowing unbounded hook recursion that leads
to kernel stack exhaustion and panics.
Fix this by extracting the per-CPU xmit recursion limit previously used
by the netdev duplication/forwarding paths into a shared header, and
apply it to the inet and inet6 reject transmit functions. It disables BH
while transmitting the skb to address a possible migration to different
CPU leading to imbalanced decrementation of the recursion counters.
Note that the dev_queue_xmit() path used when CONFIG_BRIDGE_NETFILTER is
enabled does not require this recursion guard. In that scenario, the
generated reset packet is transmitted directly at Layer 2. Because the
packet egresses from a different hook, it cannot synchronously loop. In
addition nf_send_unreach() and nf_send_unreach6() are safe as the ICMP
transmit functions are protected against recursion by the
icmp_xmit_lock() and icmpv6_xmit_lock() guards.
Products Associated with CVE-2026-143368
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version bee11dc78fc8a41299be5ce04b1c76b0057af450 and below 380edcd3213277c566a82c822b6c97fadeacb45f is affected.
- Version bee11dc78fc8a41299be5ce04b1c76b0057af450 and below f5802700d0764d44be8a805e882c518c18138005 is affected.
- Version bee11dc78fc8a41299be5ce04b1c76b0057af450 and below de55924b1ed4225331131ace2ece42da8a58ff34 is affected.
- Version bee11dc78fc8a41299be5ce04b1c76b0057af450 and below d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866 is affected.
- Version 3.14 is affected.
- Before 3.14 is unaffected.
- Version 6.12.120, <= 6.12.* is unaffected.
- Version 6.18.66, <= 6.18.* is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc3, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.