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 ].
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, an underflow bug in netfilter’s flowtable handling of bridge VLAN untagging can cause a u8 counter to wrap to 255 when it starts at 0. This wrap leads to an out‑of‑bounds read of the encapsulation array, potentially exposing stack data and corrupting route descriptors.

Affected Systems

Linux kernel users across all distributions that employ the standard netfilter flowtable implementation are affected. All kernel releases prior to the commit that applies the fix are at risk; no specific version ranges are enumerated in the data.

Risk and Exploitability

Based on the description, it is inferred that an attacker would need to create a malicious packet or configure a bridge to produce a malformed path stack to trigger the underflow. The CVSS and EPSS metrics are not provided, and the vulnerability is not listed in the CISA KEV catalog, indicating no known public exploitation. The potential for data leakage exists if the special conditions are met, so operators should apply the patch as soon as possible.

Generated by OpenCVE AI on August 28, 2026 at 12:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the netfilter flowtable underflow fix.
  • Reboot the system to load the patched kernel.
  • Monitor network bridge configurations and disable any that can create malformed VLAN untag paths until the patch is applied.

Generated by OpenCVE AI on August 28, 2026 at 12:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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 ].
Title netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:49.022Z

Reserved: 2026-08-26T14:34:25.777Z

Link: CVE-2026-80634

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:48.303

Modified: 2026-08-28T08:16:48.303

Link: CVE-2026-80634

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T12:15:04Z

Weaknesses