Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99805

published high CVSS 3.1 · 8.4

net: limit priority VLAN untag depth

Published
25 Nov 2026, 18:26:08 UTC
Updated
01 Dec 2026, 05:43:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux36b2f61a42c29add695f3bd192ce44d5c113c1eb to < e80d07f6f08883c922d1e029a0a75ff3fd81e658 · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 376aa7635f7b2ded1012b6dbdef6ead4d072962e · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 834b0ab00c64886f1de280530c21a40374a6a75a · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 052a62de6e467646a2a5f8baced4ea319319ae75 · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < dedb3f9aa54a3fcff41373ed948078d35c0cc50e · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 3646b7c04717004d0abfc71dd35d25a646c34f45 · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01 · 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < d3ff07f5acc573e5f72bf1c581bae5d05191ba61 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.2 (affected) · 0 to < 5.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: net: limit priority VLAN untag depth The priority VLAN receive path can repeatedly remove VID 0 tags and retry packet processing. Unlike the read-only VLAN protocol parser, this path has no limit on the number of nested tags it consumes. Each skb_vlan_untag() advances skb->data and resets header offsets. The offsets are stored in 16-bit fields. With enough nested tags, the network or transport offset can wrap. A later protocol handler can then derive a large pull length from the wrapped offsets and access memory outside the skb allocation. Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry. Count the tag already stored in skb VLAN metadata as the first level, then stop before untagging a ninth level. Keep the accounting inside this uncommon branch so the regular VLAN receive path is unaffected. A single VID 0 priority tag before a real VLAN tag is valid. No normal deployment was found that intentionally emits multiple consecutive VID 0 tags; permitting eight levels is therefore conservative. The issue was found while researching the Linux network receive path for Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The affected path, reproducer and fix were manually reviewed and tested.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H
Scenarios
en: AV:L - The ~64 KiB frame of ~16K nested VID-0 802.1Q tags cannot arrive through a physical NIC (MTU at most ~9.7 KB). tun_get_user() (vhost-net handle_tx_copy falls back to sendmsg for frames >PAGE_SIZE) and AF_PACKET on lo (MTU 65536) skip RX MTU checks, so a KVM guest's virtio TX ring or a local process reaches the __netif_receive_skb_core() check_vlan_id strip loop. AC:L - The attacker chooses the tag count so the network header lands in [65476,65535]. Headroom is fixed (tun->align=NET_SKB_PAD, lo LL_RESERVED_SPACE=16), so the u16 transport_header=network_header+ihl*4 in ip_rcv_core() wraps deterministically. On the default tap+bridge setup the guest needs only its own virtio TX ring, and a miss is a silent drop that can be retried. PR:L - Emitting raw frames needs only root inside the attacker's own guest (a VM tenant). On the host, an unprivileged user gets CAP_NET_RAW over its own netns's lo via unshare -Urn, since packet_create() checks ns_capable. No init-namespace privilege is involved. UI:N - No victim action is needed. On the stock libvirt layout (tap enslaved to virbr0, host IP on the bridge), a frame addressed to the gateway MAC goes through br_pass_frame_up() to netif_receive_skb(br0) without a size check, and the VID-0 loop runs on the bridge. S:C - Guest-supplied frames on the vhost-net/tap path make the host kernel read through an skb->data pointer ~4 GiB outside its buffer. That reaches host direct-map memory holding other guests' RAM, or oopses host NET_RX, so a guest tenant affects host and co-tenant resources under a different authority. C:H - ip_local_deliver_finish() calls __skb_pull(skb, skb_network_header_len(skb)) with the wrapped transport_header, a u32 of (2..59)-(65476..65535). skb->data jumps ~4 GiB past its buffer and skb->len grows by 65516. UDP copies up to ulen bytes from there to a socket, and icmp_send() and the TCP RST path quote them to the sender, disclosing host memory in bulk. I:N - The loop's skb_reorder_vlan_header() memmoves stay inside the reallocated head. The displaced skb is only parsed, checksummed and copied out by udp/tcp/icmp, and raw_rcv's skb_push undoes the pull. No consumer writes through the wild data pointer on these paths, so no write primitive was demonstrated. A:H - The L4 handler dereferences the wild skb->data (head + ~4 GiB) in softirq. When that direct-map address is unmapped (less RAM above the buffer, secretmem/guest_memfd holes), the host oopses in NET_RX and takes down every guest on it. The attacker can repeat the trigger at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 36b2f61a42c29add695f3bd192ce44d5c113c1eb to < e80d07f6f08883c922d1e029a0a75ff3fd81e658 (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 376aa7635f7b2ded1012b6dbdef6ead4d072962e (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 834b0ab00c64886f1de280530c21a40374a6a75a (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 052a62de6e467646a2a5f8baced4ea319319ae75 (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < dedb3f9aa54a3fcff41373ed948078d35c0cc50e (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < 3646b7c04717004d0abfc71dd35d25a646c34f45 (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01 (affected · git)36b2f61a42c29add695f3bd192ce44d5c113c1eb to < d3ff07f5acc573e5f72bf1c581bae5d05191ba61 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.2 (affected)0 to < 5.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

net: limit priority VLAN untag depth

Provenance

Schema
5.2
Searchable
yes
Content hash
6feec643a85d7ade668eaab94c078c28d55fd84a6bd24a51178d4b9ace1e2866
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected