cve.bz

CVE-2021-47309 linux linux kernel: Out-of-bounds Read

7.1 highEPSS 0.2%Fix available

High (7.1) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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 [ ... ]

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-05-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-47309 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-47309?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-47309?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-47309 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.3 and later

Fixed in

ProductRelease lineFixed in
Linux4.44.4.277
Linux4.94.9.277
Linux4.144.14.241
Linux4.194.19.199
Linux5.45.4.135
Linux5.105.10.53
Linux5.135.13.5
Linuxlater releases5.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-47309
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux4.15.0-159.167UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-aws4.15.0-1112.119UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1057.60~18.04.1UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1124.137UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1059.62~18.04.1UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1109.123UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1053.57~18.04.1UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-87.98~18.04.1UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-kvm4.15.0-1100.102UBUNTU-CVE-2021-47309
Ubuntu18.04:LTSlinux-oracle4.15.0-1081.89UBUNTU-CVE-2021-47309
33 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.222.1SUSE-SU-2024:2561-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_581-8.3.1SUSE-SU-2024:2561-1
SUSELinux Enterprise Real Time 12 SP5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.12.14-10.191.1SUSE-SU-2024:2381-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5kernel-azure, kernel-syms-azure, kernel-source-azure4.12.14-16.191.1SUSE-SU-2024:2360-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5kernel-syms, kernel-source, kernel-default4.12.14-122.222.1SUSE-SU-2024:2561-1
SUSELinux Enterprise Software Development Kit 12 SP5kernel-docs, kernel-obs-build4.12.14-122.222.1SUSE-SU-2024:2561-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as a Moderate severity because the unvalidated data is accessed and it may lead to out-of-bounds memory reads, which could result in system crashes or unexpected behavior.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-47309.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON