CVE-2026-99294

netfilter: nft_fwd_netdev: use recursion counter in neigh egress path

Published Nov 16, 2026 CVSS n/a EPSS n/a KEV · Not listed
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 ]

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel’s netfilter component allows a crafted packet to trigger the nft_fwd_neigh rule in egress chains, causing neigh_xmit() to call dev_queue_xmit() which re‑enters the nf_hook_egress() hook. This unbounded recursion exhausts the kernel stack, resulting in a stack overflow and a crash of the kernel. The effect is a denial of service that brings the host down for all processes running on it.

Affected Systems

Every Linux kernel version that implements the nft_fwd_neigh feature in NF_NETDEV_EGRESS chains is affected until the vendor applies the fix. The vulnerability was present in the mainline kernel before the patch introduced in commit 1d47b55b36d2 and is also referenced by commit fcacd948b10a351aa128acd3c2c4cee62d1ea677. Systems running older kernels with this feature exposed will remain vulnerable until the kernel update is applied.

Risk and Exploitability

No publicly available exploit has been reported and the EPSS score is presently unavailable, indicating an uncertain current threat level. However, the severity of a stack overflow is high; any attacker able to send specially crafted traffic that engages the recursion path can trigger a kernel crash. The vulnerability is not listed in the CISA KEV catalog, so organizations should treat the risk as moderate to high until the patch is in place.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the newest Linux kernel release that contains the commit adding the recursion counter guard for nft_fwd_neigh (e.g., the patch starting at commit 1d47b55b36d2).
  • Reboot affected hosts so the updated kernel is active and the recursion limit is enforced.
  • If an immediate kernel upgrade is not possible, block or isolate traffic likely to exercise the nft_fwd_neigh egress path until a patch can be applied.

Generated by OpenCVE AI on November 16, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-122
CWE-76
Type Values Removed Values Added
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 ]
Title netfilter: nft_fwd_netdev: use recursion counter in neigh egress path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-76

    Improper Neutralization of Equivalent Special Elements

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 16, 2026, 9:59 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 16, 2026, 10:17 AM
Modified
Nov 16, 2026, 10:17 AM