VulnWatch by ve1ve2
medium 5.5 EPSS 0.17%

CVE-2026-99294: 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…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
linux

https://nvd.nist.gov/vuln/detail/CVE-2026-99294 ↗

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 ] References: https://git.kernel.org/stable/c/1d47b55b36d2ec73fe6901212c8b28a593c3b27c https://git.kernel.org/stable/c/fcacd948b10a351aa128acd3c2c4cee62d1ea677

Linked vulnerabilities (1)

CVE-2026-99294 medium 5.5 EPSS 0.17% (p6) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

kernel: kernel: Denial of Service via stack overflow in Netfilter egress forwarding

CWE: CWE-835NVD: Received

Also reported by (1)