CVE-2026-80634

Source
https://cve.org/CVERecord?id=CVE-2026-80634
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80634.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80634
Downstream
Published
2026-08-28T06:48:49.022Z
Modified
2026-08-29T03:47:16.906920484Z
Summary
netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag
Details

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

netfilter: flowtable: avoid num_encaps 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 num_encaps == 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 ].

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80634.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e990cef6516daa4e1e236433579e333f74fd38cb
Fixed
2f55fa28011c97d6495d5787808db10a8c2d690d
Fixed
e052f920773b73be49eb4d8702a9f85de7464363

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80634.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80634.json"