---
id: "CVE-2026-99294"
page: "https://infrastack.ai/live/CVE-2026-99294"
kind: "vulnerability"
aliases: ["CVE-2026-99294"]
title: "Linux kernel: nftables forwarding loop can overflow the kernel stack"
severity: "unknown"
cvss: null
epss: 0.00214
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["kernel", "linux", "netfilter", "nftables", "runtime"]
not_affected_if: ["default-config", "no-nftables-egress-rules"]
published_at: "2026-11-16T10:17:02+00:00"
first_seen_at: "2026-11-16T10:39:26+00:00"
updated_at: "2026-11-16T18:53:18+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99294", "first_seen_at": "2026-11-16T10:39:26+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-99294", "first_seen_at": "2026-11-16T18:53:18+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.00214, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-99294"}]
---

# Linux kernel: nftables forwarding loop can overflow the kernel stack

Link for people: https://infrastack.ai/live/CVE-2026-99294 (this .md is for agents)

A netfilter nftables rule using nft_fwd_neigh in an egress chain can forward a packet back to the same device or between two devices, which re-enters the egress hook without limit. The result is infinite recursion and a kernel stack overflow, which crashes the system.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `uname -r` and compare against the fixed kernel versions in the kernel changelog (unknown from the sources)
- List nftables rules with `nft list ruleset` and look for `fwd` with `neigh` in an `egress` chain (unknown from the sources)

## Timeline

- 2026-11-16T10:39:26+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-99294
- 2026-11-16T18:53:18+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-99294

## From the sources

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 ]

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
