netfilter: nft_reject: prevent unbounded recursion in output hooks
Summary
| CVE | CVE-2026-143368 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:18:26 UTC |
| Updated | 2026-12-03 10:18:26 UTC |
| Description | 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. |
Risk And Classification
EPSS: 0.002090000 probability, percentile 0.116420000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected bee11dc78fc8a41299be5ce04b1c76b0057af450 380edcd3213277c566a82c822b6c97fadeacb45f git | Not specified |
| CNA | Linux | Linux | affected bee11dc78fc8a41299be5ce04b1c76b0057af450 f5802700d0764d44be8a805e882c518c18138005 git | Not specified |
| CNA | Linux | Linux | affected bee11dc78fc8a41299be5ce04b1c76b0057af450 de55924b1ed4225331131ace2ece42da8a58ff34 git | Not specified |
| CNA | Linux | Linux | affected bee11dc78fc8a41299be5ce04b1c76b0057af450 d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866 git | Not specified |
| CNA | Linux | Linux | affected 3.14 | Not specified |
| CNA | Linux | Linux | unaffected 3.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d6c18cadfc6c7a88e9e07e0a1b5ead37c0ddf866 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f5802700d0764d44be8a805e882c518c18138005 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/de55924b1ed4225331131ace2ece42da8a58ff34 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/380edcd3213277c566a82c822b6c97fadeacb45f | 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.