# CVE-2026-23276: net: add xmit recursion limit to tunnel xmit functions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-674
- **Published:** 2026-03-20T08:08:56.575Z
- **Modified:** 2026-11-05T22:18:10.813Z

## Who should check

- Anyone running Linux \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< da5f0166cef3d4285ddbb1b638661263fc03ee92; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 834c4f645726a25fd71ea50cdfb5c135f8f95d85; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 8a57deeb256069f262957d8012418559ff66c385; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< b56b8d19bd05e2a8338385c770bc2b60590bc81e; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 6f1a9140ecda3baba3d945b9a6155af4268aafc4; 3f266b04185de51d8e6446eb1fccec3b5e7ce575; \>= 2.6.35.9, \< 2.6.36
- Anyone running Linux 2.6.37

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: add xmit recursion limit to tunnel xmit functions

Tunnel xmit functions (iptunnel\_xmit, ip6tunnel\_xmit) lack their own
recursion limit. When a bond device in broadcast mode has GRE tap
interfaces as slaves, and those GRE tunnels route back through the
bond, multicast/broadcast traffic triggers infinite recursion between
bond\_xmit\_broadcast() and ip\_tunnel\_xmit()/ip6\_tnl\_xmit(), causing
kernel stack overflow.

The existing XMIT\_RECURSION\_LIMIT (8) in the no-qdisc path is not
sufficient because tunnel recursion involves route lookups and full IP
output, consuming much more stack per level. Use a lower limit of 4
(IP\_TUNNEL\_RECURSION\_LIMIT) to prevent overflow.

Add recursion detection using dev\_xmit\_recursion helpers directly in
iptunnel\_xmit() and ip6tunnel\_xmit() to cover all IPv4/IPv6 tunnel
paths including UDP encapsulated tunnels (VXLAN, Geneve, etc.).

Move dev\_xmit\_recursion helpers from net/core/dev.h to public header
include/linux/netdevice.h so they can be used by tunnel code.

 BUG: KASAN: stack-out-of-bounds in blake2s.constprop.0+0xe7/0x160
 Write of size 32 at addr ffff88810033fed0 by task kworker/0:1/11
 Workqueue: mld mld\_ifc\_work
 Call Trace:
  \<TASK\>
  \_\_build\_flow\_key.constprop.0 (net/ipv4/route.c:515)
  ip\_rt\_update\_pmtu (net/ipv4/route.c:1073)
  iptunnel\_xmit (net/ipv4/ip\_tunnel\_core.c:84)
  ip\_tunnel\_xmit (net/ipv4/ip\_tunnel.c:847)
  gre\_tap\_xmit (net/ipv4/ip\_gre.c:779)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  sch\_direct\_xmit (net/sched/sch\_generic.c:347)
  \_\_dev\_queue\_xmit (net/core/dev.c:4802)
  bond\_dev\_queue\_xmit (drivers/net/bonding/bond\_main.c:312)
  bond\_xmit\_broadcast (drivers/net/bonding/bond\_main.c:5279)
  bond\_start\_xmit (drivers/net/bonding/bond\_main.c:5530)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  \_\_dev\_queue\_xmit (net/core/dev.c:4841)
  ip\_finish\_output2 (net/ipv4/ip\_output.c:237)
  ip\_output (net/ipv4/ip\_output.c:438)
  iptunnel\_xmit (net/ipv4/ip\_tunnel\_core.c:86)
  gre\_tap\_xmit (net/ipv4/ip\_gre.c:779)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  sch\_direct\_xmit (net/sched/sch\_generic.c:347)
  \_\_dev\_queue\_xmit (net/core/dev.c:4802)
  bond\_dev\_queue\_xmit (drivers/net/bonding/bond\_main.c:312)
  bond\_xmit\_broadcast (drivers/net/bonding/bond\_main.c:5279)
  bond\_start\_xmit (drivers/net/bonding/bond\_main.c:5530)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  \_\_dev\_queue\_xmit (net/core/dev.c:4841)
  ip\_finish\_output2 (net/ipv4/ip\_output.c:237)
  ip\_output (net/ipv4/ip\_output.c:438)
  iptunnel\_xmit (net/ipv4/ip\_tunnel\_core.c:86)
  ip\_tunnel\_xmit (net/ipv4/ip\_tunnel.c:847)
  gre\_tap\_xmit (net/ipv4/ip\_gre.c:779)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  sch\_direct\_xmit (net/sched/sch\_generic.c:347)
  \_\_dev\_queue\_xmit (net/core/dev.c:4802)
  bond\_dev\_queue\_xmit (drivers/net/bonding/bond\_main.c:312)
  bond\_xmit\_broadcast (drivers/net/bonding/bond\_main.c:5279)
  bond\_start\_xmit (drivers/net/bonding/bond\_main.c:5530)
  dev\_hard\_start\_xmit (net/core/dev.c:3887)
  \_\_dev\_queue\_xmit (net/core/dev.c:4841)
  mld\_sendpack
  mld\_ifc\_work
  process\_one\_work
  worker\_thread
  \</TASK\>

## Affected and fixed versions

- Linux: \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< da5f0166cef3d4285ddbb1b638661263fc03ee92; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 834c4f645726a25fd71ea50cdfb5c135f8f95d85; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 8a57deeb256069f262957d8012418559ff66c385; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< b56b8d19bd05e2a8338385c770bc2b60590bc81e; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 6f1a9140ecda3baba3d945b9a6155af4268aafc4; 3f266b04185de51d8e6446eb1fccec3b5e7ce575; \>= 2.6.35.9, \< 2.6.36 (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- Upgrade Linux to 2.6.36 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23276. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23276.md
Affected: Linux >= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, < da5f0166cef3d4285ddbb1b638661263fc03ee92; >= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, < 834c4f645726a25fd71ea50cdfb5c135f8f95d85; >= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, < 8a57deeb256069f262957d8012418559ff66c385; >= 745e20f1b626b1be4b100af…
Fixed in: Linux 834c4f645726a25fd71ea50cdfb5c135f8f95d85, Linux 8a57deeb256069f262957d8012418559ff66c385, Linux 6f1a9140ecda3baba3d945b9a6155af4268aafc4, Linux 2.6.36

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23276 being exploited?

There is no confirmed exploitation: CVE-2026-23276 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23276?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23276?

Linux \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< da5f0166cef3d4285ddbb1b638661263fc03ee92; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 834c4f645726a25fd71ea50cdfb5c135f8f95d85; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 8a57deeb256069f262957d8012418559ff66c385; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< b56b8d19bd05e2a8338385c770bc2b60590bc81e; \>= 745e20f1b626b1be4b100af5d4bf7b3439392f8f, \< 6f1a9140ecda3baba3d945b9a6155af4268aafc4; 3f266b04185de51d8e6446eb1fccec3b5e7ce575; \>= 2.6.35.9, \< 2.6.36; Linux 2.6.37.

### Is there a fix for CVE-2026-23276?

Yes. Fixed in Linux 834c4f645726a25fd71ea50cdfb5c135f8f95d85, Linux 8a57deeb256069f262957d8012418559ff66c385, Linux 6f1a9140ecda3baba3d945b9a6155af4268aafc4, Linux 2.6.36. Upgrade Linux to 2.6.36 or later.

### How do I check if I'm affected by CVE-2026-23276?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/834c4f645726a25fd71ea50cdfb5c135f8f95d85>
- patch: <https://git.kernel.org/stable/c/8a57deeb256069f262957d8012418559ff66c385>
- patch: <https://git.kernel.org/stable/c/b56b8d19bd05e2a8338385c770bc2b60590bc81e>
- patch: <https://git.kernel.org/stable/c/6f1a9140ecda3baba3d945b9a6155af4268aafc4>
- other: <https://git.kernel.org/stable/c/da5f0166cef3d4285ddbb1b638661263fc03ee92>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23276>

HTML: <https://flawdb.com/CVE-2026-23276> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23276>
