CVE-2021-47309
📋 TL;DR
A Linux kernel vulnerability in the skb_tunnel_info() function allows reading kernel memory beyond allocated bounds when processing certain network packets. This affects systems using Linux kernel networking features like VXLAN or MPLS tunnels. Attackers could potentially leak sensitive kernel memory information or cause denial of service.
💻 Affected Systems
- Linux Kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel memory disclosure leading to information leakage, potential privilege escalation if combined with other vulnerabilities, or system crashes causing denial of service.
Likely Case
Information disclosure of kernel memory contents, potentially revealing sensitive data or causing system instability/crashes.
If Mitigated
Limited impact with proper network segmentation and minimal use of affected tunneling protocols.
🎯 Exploit Status
Exploitation requires ability to send crafted network packets to systems using vulnerable tunneling configurations. No public exploit code identified.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Fixed in kernel commits: 67a9c94317402b826fc3db32afc8f39336803d97 and related stable backports
Vendor Advisory: https://git.kernel.org/stable/c/67a9c94317402b826fc3db32afc8f39336803d97
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution. 2. For RHEL/CentOS: yum update kernel. 3. For Ubuntu/Debian: apt update && apt upgrade linux-image. 4. Reboot system to load new kernel.
🔧 Temporary Workarounds
Disable affected tunneling protocols
linuxDisable VXLAN and MPLS tunneling if not required
modprobe -r vxlan
modprobe -r mpls_iptunnel
Network segmentation
allRestrict network access to systems using vulnerable tunneling protocols
🧯 If You Can't Patch
- Disable VXLAN and MPLS tunneling features if not essential for operations
- Implement strict network filtering to prevent unauthorized access to systems using these tunneling protocols
🔍 How to Verify
Check if Vulnerable:
Check kernel version and if VXLAN/MPLS modules are loaded: uname -r && lsmod | grep -E 'vxlan|mpls_iptunnel'
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is patched and check for absence of KASAN errors in dmesg: dmesg | grep -i 'KASAN'
📡 Detection & Monitoring
Log Indicators:
- Kernel panic logs
- KASAN error messages in dmesg
- System crash reports
Network Indicators:
- Unusual traffic patterns to VXLAN/MPLS ports
- Malformed tunnel packets
SIEM Query:
source="kernel" AND ("KASAN" OR "slab-out-of-bounds" OR "vxlan" OR "mpls_iptunnel")
🔗 References
- 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
- 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