{"id":"CVE-2026-80634","aliases":["CVE-2026-80634"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag\n\nThe DEV_PATH_BR_VLAN_UNTAG case post-decrements info->num_encaps\ninside WARN_ON_ONCE(). num_encaps is u8, so if it's already 0 the\ndecrement still happens and wraps it to 255. The break only leaves\nthe inner switch -- a later path entry can set info->indev back to\na real device, and we end up returning with num_encaps == 255.\n\nnft_dev_forward_path() then walks info.encap[] (size 2) up to\nnum_encaps, which means an OOB stack read and a bogus count copied\ninto the route descriptor.\n\nShould only happen on a malformed bridge path stack, hence the WARN,\nbut worth handling sanely. Move the decrement out of the WARN.\n\n[ While at this, remove the WARN_ON_ONCE since this can only happen\n  with a buggy bridge path stack --pablo ].","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag\n\nThe DEV_PATH_BR_VLAN_UNTAG case post-decrements info->num_encaps\ninside WARN_ON_ONCE(). num_encaps is u8, so if it's already 0 the\ndecrement still happens and wraps it to 255. The break only leaves\nthe inner switch -- a later path entry can set info->indev back to\na real device, and we end up returning with num_encaps == 255.\n\nnft_dev_forward_path() then walks info.encap[] (size 2) up to\nnum_encaps, which means an OOB stack read and a bogus count copied\ninto the route descriptor.\n\nShould only happen on a malformed bridge path stack, hence the WARN,\nbut worth handling sanely. Move the decrement out of the WARN.\n\n[ While at this, remove the WARN_ON_ONCE since this can only happen\n  with a buggy bridge path stack --pablo ].","source":"cvelist"}],"published":"2026-08-28T06:48:49.022Z","modified":"2026-10-30T13:20:08.780Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"9a4e3a9017ba3da2de187b72ed6545641a0d0a84","status":"affected"},{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"1b52aeb40c9f04bf50eeb4ea09142139d163e239","status":"affected"},{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"ee8440bb000fff4ef8acbfc99652851e9ca0a35b","status":"affected"},{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"547ea9f567498e4accc89e7816264f15a1a0629f","status":"affected"},{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"2f55fa28011c97d6495d5787808db10a8c2d690d","status":"affected"},{"type":"git","introduced":"e990cef6516daa4e1e236433579e333f74fd38cb","fixed":"e052f920773b73be49eb4d8702a9f85de7464363","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9a4e3a9017ba3da2de187b72ed6545641a0d0a84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b52aeb40c9f04bf50eeb4ea09142139d163e239","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee8440bb000fff4ef8acbfc99652851e9ca0a35b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/547ea9f567498e4accc89e7816264f15a1a0629f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f55fa28011c97d6495d5787808db10a8c2d690d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e052f920773b73be49eb4d8702a9f85de7464363","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:19:08.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80634","url":"https://www.cve.org/CVERecord?id=CVE-2026-80634","licence":"CVE Terms of Use","modified":"2026-10-30T12:30:48.907Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80634","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80634","licence":"Public domain","modified":"2026-10-30T13:20:08.780Z"}],"updatedAt":"2026-11-25T22:59:35.595Z","epss":{"score":0.006,"percentile":0.50075,"date":"2026-12-01T12:00:22.000Z"}}