Read the docs

Infinite recursion in Linux netfilter nft_fwd_neigh egress path

Priority LOW 22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel netfilter component from 5.17 is affected. When nft_fwd_neigh is used in an egress chain and the forwarding rule targets the same device or two devices forward to each other, the transmit path re-enters the egress hook without limit. This causes infinite recursion and a stack overflow, which a rule in an egress chain can trigger.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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 ]

Why it matters now

EPSS 0.00214 11th percentileScored 2026-11-16
Fix Fixed Linux (Linux): 6.18.57, 7.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.17 and later6.18.57, 7.1Patch availableCNA
  • Linux VendorLinux Affected 5.17 and later Fixed in 6.18.57, 7.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Upgrade the Linux kernel to 6.18.57 or 7.1, which contain the fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA Linux (Linux) Fixed in 6.18.57, 7.1

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-99294
  2. 2026-11-16 Alias added: GHSA-5pmm-x662-5cgh

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 21768 →

Sources