netfilter: nft_fwd_netdev: use recursion counter in neigh egress path
Summary
| CVE | CVE-2026-99294 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-16 10:17:02 UTC |
| Updated | 2026-11-30 12:18:06 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_fwd_netdev: use recursion counter in neigh egress path nft_fwd_neigh can be used in egress chains (NF_NETDEV_EGRESS). When the forwarding rule targets the same device or two devices forward to each other, neigh_xmit() triggers dev_queue_xmit() which re-enters nf_hook_egress(), causing infinite recursion and stack overflow. Move the nf_get_nf_dup_skb_recursion() accessor and NF_RECURSION_LIMIT to the shared header nf_dup_netdev.h as a static inline, so that nft_fwd_netdev can use the recursion counter directly without exported function call overhead. Guard neigh_xmit() with the same recursion limit already used in nf_do_netdev_egress(). [ Updated to cache the nf_get_nf_dup_skb_recursion pointer. --pablo ] |
Risk And Classification
EPSS: 0.002140000 probability, percentile 0.117780000 (date 2026-11-16)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f87b9464d152f7705f1e37288dc48f5af6a2fc0c b444aafa80361cb931a6ccbaf4a3891d6c0487bb git | Not specified |
| CNA | Linux | Linux | affected f87b9464d152f7705f1e37288dc48f5af6a2fc0c fcacd948b10a351aa128acd3c2c4cee62d1ea677 git | Not specified |
| CNA | Linux | Linux | affected f87b9464d152f7705f1e37288dc48f5af6a2fc0c 1d47b55b36d2ec73fe6901212c8b28a593c3b27c git | Not specified |
| CNA | Linux | Linux | affected 5.17 | Not specified |
| CNA | Linux | Linux | unaffected 5.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.57 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b444aafa80361cb931a6ccbaf4a3891d6c0487bb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1d47b55b36d2ec73fe6901212c8b28a593c3b27c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fcacd948b10a351aa128acd3c2c4cee62d1ea677 | 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.