# CVE-2026-99294: netfilter: nft_fwd_netdev: use recursion counter in neigh egress path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2026-11-16T09:59:22.229Z
- Modified: 2026-11-30T12:18:06.837Z
- Assigned by: Linux

## 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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from f87b9464d152f7705f1e37288dc48f5af6a2fc0c before b444aafa80361cb931a6ccbaf4a3891d6c0487bb; from f87b9464d152f7705f1e37288dc48f5af6a2fc0c before fcacd948b10a351aa128acd3c2c4cee62d1ea677; from f87b9464d152f7705f1e37288dc48f5af6a2fc0c before 1d47b55b36d2ec73fe6901212c8b28a593c3b27c; 5.17 (not affected: before 5.17; from 6.12.120 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.1 up to *)

## References

- <https://git.kernel.org/stable/c/b444aafa80361cb931a6ccbaf4a3891d6c0487bb>
- <https://git.kernel.org/stable/c/fcacd948b10a351aa128acd3c2c4cee62d1ea677>
- <https://git.kernel.org/stable/c/1d47b55b36d2ec73fe6901212c8b28a593c3b27c>

## Sources

- CVE List: [CVE-2026-99294](https://www.cve.org/CVERecord?id=CVE-2026-99294), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99294](https://nvd.nist.gov/vuln/detail/CVE-2026-99294), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99294 · Whole record: https://cve.day/CVE-2026-99294.json · Rebuilt by cve.day 2026-11-30T12:32:13.267Z
