CVE-2026-80634: netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag

Published Aug 28, 2026
·
Updated

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

netfilter: flowtable: avoid numencaps underflow on bridge VLAN untag

The DEVPATHBRVLANUNTAG case post-decrements info->numencaps inside WARNONONCE(). numencaps 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 numencaps == 255.

nftdevforwardpath() then walks info.encap[] (size 2) up to numencaps, 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 WARNONONCE since this can only happen with a buggy bridge path stack --pablo ].

Affected Software

1 affected component
Linux Kernel

Event History

Aug 28, 2026
CVE Published
via MITRE·06:48 AM
Data Sourced
via MITRE·06:48 AM
Description

Frequently Asked Questions

1

What conditions are required for this issue to occur?

The issue requires a malformed bridge path stack that reaches the DEV_PATH_BR_VLAN_UNTAG case while the encapsulation count is already zero. This is described as a condition caused by a buggy bridge path stack rather than a normal path.

2

What is the impact if the malformed path is processed?

The unsigned 8-bit encapsulation count can wrap from zero to 255. A later forwarding-path lookup can then walk a two-entry encapsulation array up to that inflated count, causing an out-of-bounds stack read and copying a bogus count into the route descriptor.

3

What remediation is identified?

The resolved fix moves the decrement outside of WARN_ON_ONCE so that the count does not underflow. The associated change also removes the warning because the condition is attributed to a buggy bridge path stack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203