AZL-118682: CVE-2026-143368 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftreject: 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 devqueuexmit() path used when CONFIGBRIDGENETFILTER 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 nfsendunreach() and nfsendunreach6() are safe as the ICMP transmit functions are protected against recursion by the icmpxmitlock() and icmpv6xmitlock() guards.
Affected Software
Event History
Frequently Asked Questions
What conditions are needed to trigger the crash?
The affected system must use nftables payload-mangling rules that modify packet contents before reject targets evaluate them. Rewriting content such as TCP flags can bypass the reject path's content-based loop guards and cause recursive hook processing until the kernel stack is exhausted.
What is the impact of successful exploitation?
Unbounded recursion can exhaust the kernel stack and panic the system, resulting in a denial of service.
Does enabling CONFIG_BRIDGE_NETFILTER create the same recursive path?
No. With CONFIG_BRIDGE_NETFILTER enabled, the reset packet is sent directly at Layer 2 through dev_queue_xmit() and exits via a different hook, so it cannot synchronously loop in this scenario.
Are ICMP unreachable responses affected by this issue?
The described nf_send_unreach() and nf_send_unreach6() paths are considered safe because their ICMP transmit functions are protected against recursion by icmp_xmit_lock() and icmpv6_xmit_lock().