{"id":"CVE-2026-99294","aliases":["CVE-2026-99294"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nft_fwd_netdev: use recursion counter in neigh egress path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_fwd_netdev: use recursion counter in neigh egress path\n\nnft_fwd_neigh can be used in egress chains (NF_NETDEV_EGRESS). When the\nforwarding rule targets the same device or two devices forward to each\nother, neigh_xmit() triggers dev_queue_xmit() which re-enters\nnf_hook_egress(), causing infinite recursion and stack overflow.\n\nMove the nf_get_nf_dup_skb_recursion() accessor and NF_RECURSION_LIMIT\nto the shared header nf_dup_netdev.h as a static inline, so that\nnft_fwd_netdev can use the recursion counter directly without exported\nfunction call overhead. Guard neigh_xmit() with the same recursion\nlimit already used in nf_do_netdev_egress().\n\n[ Updated to cache the nf_get_nf_dup_skb_recursion pointer. --pablo ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_fwd_netdev: use recursion counter in neigh egress path\n\nnft_fwd_neigh can be used in egress chains (NF_NETDEV_EGRESS). When the\nforwarding rule targets the same device or two devices forward to each\nother, neigh_xmit() triggers dev_queue_xmit() which re-enters\nnf_hook_egress(), causing infinite recursion and stack overflow.\n\nMove the nf_get_nf_dup_skb_recursion() accessor and NF_RECURSION_LIMIT\nto the shared header nf_dup_netdev.h as a static inline, so that\nnft_fwd_netdev can use the recursion counter directly without exported\nfunction call overhead. Guard neigh_xmit() with the same recursion\nlimit already used in nf_do_netdev_egress().\n\n[ Updated to cache the nf_get_nf_dup_skb_recursion pointer. --pablo ]","source":"cvelist"}],"published":"2026-11-16T09:59:22.229Z","modified":"2026-11-30T12:18:06.837Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f87b9464d152f7705f1e37288dc48f5af6a2fc0c","fixed":"b444aafa80361cb931a6ccbaf4a3891d6c0487bb","status":"affected"},{"type":"git","introduced":"f87b9464d152f7705f1e37288dc48f5af6a2fc0c","fixed":"fcacd948b10a351aa128acd3c2c4cee62d1ea677","status":"affected"},{"type":"git","introduced":"f87b9464d152f7705f1e37288dc48f5af6a2fc0c","fixed":"1d47b55b36d2ec73fe6901212c8b28a593c3b27c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.12.120","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b444aafa80361cb931a6ccbaf4a3891d6c0487bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcacd948b10a351aa128acd3c2c4cee62d1ea677","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d47b55b36d2ec73fe6901212c8b28a593c3b27c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99294","url":"https://www.cve.org/CVERecord?id=CVE-2026-99294","licence":"CVE Terms of Use","modified":"2026-11-30T12:08:43.533Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99294","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99294","licence":"Public domain","modified":"2026-11-30T12:18:06.837Z"}],"updatedAt":"2026-11-30T12:32:13.267Z","epss":{"score":0.00177,"percentile":0.07597,"date":"2026-12-02T12:00:21.000Z"}}