CVE-2021-47309
published high CVSS 3.1 · 7.8net: validate lwtstate->data before returning from skb_tunnel_info()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < e7f3c9df40515a6c6b46f36c4c94cf48a043f887 · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < b61d327cd3cc5ea591f3bf751dd11e034f388bb5 · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 83bdcfbd968bcc91a0632b7b625e4a9b0cba5e0d · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 8bb1589c89e61e3b182dd546f1021928ebb5c2a6 · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 8aa13a86964cdec4fd969ef677c6614ff068641a · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 2179d96ec702cc33ead02a9ce40ece599b8538c5 · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < a915379594f1e045421635c6316d8f3ffa018c58 · 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 67a9c94317402b826fc3db32afc8f39336803d97 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.3 (affected) · 0 to < 4.3 (unaffected · semver) · 4.4.277 through 4.4.* (unaffected · semver) · 4.9.277 through 4.9.* (unaffected · semver) · 4.14.241 through 4.14.* (unaffected · semver) · 4.19.199 through 4.19.* (unaffected · semver) · 5.4.135 through 5.4.* (unaffected · semver) · 5.10.53 through 5.10.* (unaffected · semver) · 5.13.5 through 5.13.* (unaffected · semver) · 5.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1696 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-004 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-006 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2021-1696 |
Show 76 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-builds390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-basex86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt-develx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debugx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rt_debug-develx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-azurenoarch | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-source-rtnoarch | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-azurex86_64 | Advisory build | 4.12.14-16.191.1 | SUSE-SU-2024:2360-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-syms-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_222-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.222.1 | SUSE-SU-2024:2561-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.191.1 | SUSE-SU-2024:2381-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-006 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2021-1696 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-006 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2021-1696 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-006 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2021-1696 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-004 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-006 |
Description
In the Linux kernel, the following vulnerability has been resolved: net: validate lwtstate->data before returning from skb_tunnel_info() skb_tunnel_info() returns pointer of lwtstate->data as ip_tunnel_info type without validation. lwtstate->data can have various types such as mpls_iptunnel_encap, etc and these are not compatible. So skb_tunnel_info() should validate before returning that pointer. Splat looks like: BUG: KASAN: slab-out-of-bounds in vxlan_get_route+0x418/0x4b0 [vxlan] Read of size 2 at addr ffff888106ec2698 by task ping/811 CPU: 1 PID: 811 Comm: ping Not tainted 5.13.0+ #1195 Call Trace: dump_stack_lvl+0x56/0x7b print_address_description.constprop.8.cold.13+0x13/0x2ee ? vxlan_get_route+0x418/0x4b0 [vxlan] ? vxlan_get_route+0x418/0x4b0 [vxlan] kasan_report.cold.14+0x83/0xdf ? vxlan_get_route+0x418/0x4b0 [vxlan] vxlan_get_route+0x418/0x4b0 [vxlan] [ ... ] vxlan_xmit_one+0x148b/0x32b0 [vxlan] [ ... ] vxlan_xmit+0x25c5/0x4780 [vxlan] [ ... ] dev_hard_start_xmit+0x1ae/0x6e0 __dev_queue_xmit+0x1f39/0x31a0 [ ... ] neigh_xmit+0x2f9/0x940 mpls_xmit+0x911/0x1600 [mpls_iptunnel] lwtunnel_xmit+0x18f/0x450 ip_finish_output2+0x867/0x2040 [ ... ]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires locally configuring a non-IP LWT route (e.g. MPLS encap) whose output device is a tunnel that calls skb_tunnel_info() (VXLAN/GENEVE), then sending traffic on that path via netlink/syscalls—not a remote packet-only entry point. AC:L - Once the LWT-over-tunnel topology is set up, the bug triggers reliably on ordinary transmit (as in the reported ping splat); the attacker fully controls configuration and packet generation with no race or luck required. PR:L - Creating VXLAN/GENEVE devices and MPLS/other LWT routes needs CAP_NET_ADMIN, which an unprivileged user obtains in a user+net namespace (unshare -Urn); after setup even a normal local send triggers the OOB. UI:N - No victim action is required; the attacker configures the netns topology and sends packets themselves. S:U - Impact stays within the kernel’s own authority (local memory corruption/DoS/privilege escalation); this is not a VM, IOMMU, or other cross-boundary escape. C:H - skb_tunnel_info() type-confuses a small mpls_iptunnel_encap (or similar) as a much larger ip_tunnel_info, producing unbounded slab out-of-bounds reads of adjacent kernel heap that can disclose memory (e.g. via tunnel key fields or BPF get_tunnel_key). I:H - This is heap type confusion; on collect-metadata VXLAN/GENEVE paths the bogus info drives &info->dst_cache and related state, enabling out-of-bounds writes into adjacent heap when those fields are attacker-influenced. A:H - The documented KASAN slab-out-of-bounds in vxlan_get_route demonstrates a kernel oops/crash path, and invalid heap accesses can panic or hang the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < e7f3c9df40515a6c6b46f36c4c94cf48a043f887 (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < b61d327cd3cc5ea591f3bf751dd11e034f388bb5 (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 83bdcfbd968bcc91a0632b7b625e4a9b0cba5e0d (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 8bb1589c89e61e3b182dd546f1021928ebb5c2a6 (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 8aa13a86964cdec4fd969ef677c6614ff068641a (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 2179d96ec702cc33ead02a9ce40ece599b8538c5 (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < a915379594f1e045421635c6316d8f3ffa018c58 (affected · git)61adedf3e3f1d3f032c5a6a299978d91eff6d555 to < 67a9c94317402b826fc3db32afc8f39336803d97 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.3 (affected)0 to < 4.3 (unaffected · semver)4.4.277 through 4.4.* (unaffected · semver)4.9.277 through 4.9.* (unaffected · semver)4.14.241 through 4.14.* (unaffected · semver)4.19.199 through 4.19.* (unaffected · semver)5.4.135 through 5.4.* (unaffected · semver)5.10.53 through 5.10.* (unaffected · semver)5.13.5 through 5.13.* (unaffected · semver)5.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2179d96ec702cc33ead02a9ce40ece599b8538c5
- https://git.kernel.org/stable/c/67a9c94317402b826fc3db32afc8f39336803d97
- https://git.kernel.org/stable/c/83bdcfbd968bcc91a0632b7b625e4a9b0cba5e0d
- https://git.kernel.org/stable/c/8aa13a86964cdec4fd969ef677c6614ff068641a
- https://git.kernel.org/stable/c/8bb1589c89e61e3b182dd546f1021928ebb5c2a6
- https://git.kernel.org/stable/c/a915379594f1e045421635c6316d8f3ffa018c58
- https://git.kernel.org/stable/c/b61d327cd3cc5ea591f3bf751dd11e034f388bb5
- https://git.kernel.org/stable/c/e7f3c9df40515a6c6b46f36c4c94cf48a043f887
Provider assertions
3Linux · cna
net: validate lwtstate->data before returning from skb_tunnel_info()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6d63609bfc5d3d1ec153456b6d03323b3e2dec921595a3ce590fd84945169470
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record