{"id":"CVE-2026-99805","summary":"net: limit priority VLAN untag depth","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: limit priority VLAN untag depth\n\nThe priority VLAN receive path can repeatedly remove VID 0 tags and retry\npacket processing. Unlike the read-only VLAN protocol parser, this path has\nno limit on the number of nested tags it consumes.\n\nEach skb_vlan_untag() advances skb-\u003edata and resets header offsets. The\noffsets are stored in 16-bit fields. With enough nested tags, the network\nor transport offset can wrap. A later protocol handler can then derive a\nlarge pull length from the wrapped offsets and access memory outside the\nskb allocation.\n\nApply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry.\nCount the tag already stored in skb VLAN metadata as the first level, then\nstop before untagging a ninth level. Keep the accounting inside this\nuncommon branch so the regular VLAN receive path is unaffected.\n\nA single VID 0 priority tag before a real VLAN tag is valid. No normal\ndeployment was found that intentionally emits multiple consecutive VID 0\ntags; permitting eight levels is therefore conservative.\n\nThe issue was found while researching the Linux network receive path for\nGoogle kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The\naffected path, reproducer and fix were manually reviewed and tested.","modified":"2026-11-25T20:00:30.266110881Z","published":"2026-11-25T18:26:08.126Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99805.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/052a62de6e467646a2a5f8baced4ea319319ae75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3646b7c04717004d0abfc71dd35d25a646c34f45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/376aa7635f7b2ded1012b6dbdef6ead4d072962e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/834b0ab00c64886f1de280530c21a40374a6a75a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3ff07f5acc573e5f72bf1c581bae5d05191ba61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dedb3f9aa54a3fcff41373ed948078d35c0cc50e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e80d07f6f08883c922d1e029a0a75ff3fd81e658"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99805.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99805"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"36b2f61a42c29add695f3bd192ce44d5c113c1eb"},{"fixed":"e80d07f6f08883c922d1e029a0a75ff3fd81e658"},{"fixed":"376aa7635f7b2ded1012b6dbdef6ead4d072962e"},{"fixed":"834b0ab00c64886f1de280530c21a40374a6a75a"},{"fixed":"052a62de6e467646a2a5f8baced4ea319319ae75"},{"fixed":"dedb3f9aa54a3fcff41373ed948078d35c0cc50e"},{"fixed":"3646b7c04717004d0abfc71dd35d25a646c34f45"},{"fixed":"e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01"},{"fixed":"d3ff07f5acc573e5f72bf1c581bae5d05191ba61"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99805.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99805.json"}}],"schema_version":"1.9.2"}