UDP Tunnel Packet Aggregation Vulnerability in Linux Kernel

linux Updated 02 Oct 2025

Summary

28/02/2024
N/A
No i
Medium
5.5

CVE-2021-47036: In the Linux kernel, the following vulnerability has been resolved: udp: skip L4 aggregation for UDP tunnel packets If NETIF_F_GRO_FRAGLIST or NETIF_F_GRO_UDP_FWD are enabled, and there are UDP tunnels available in the s... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of a Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It supports various networking protocols, including UDP (User Datagram Protocol), which is widely used for transmitting data over the internet. The vulnerability in question arises from the kernel's handling of UDP tunnel packets, specifically when certain features are enabled, leading to potential data corruption.

Vulnerability Detail

In the Linux kernel, a vulnerability exists in the udp_gro_receive() function, which can lead to Layer 4 (L4) aggregation of UDP tunnel packets when NETIF_F_GRO_FRAGLIST or NETIF_F_GRO_UDP_FWD are enabled. This aggregation can cause inner protocol corruption, particularly affecting protocols like VXLAN (Virtual Extensible LAN). As a result, packets with different VXLAN IDs may be incorrectly aggregated into a single Generic Segmentation Offload (GSO) packet, leading to data loss or miscommunication. The issue arises from the kernel's failure to skip the aggregation process for packets that are part of a UDP tunnel, which could hold TCP over VXLAN packets in the GRO engine until the next flush, causing delays and potential data integrity issues.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the NETIF_F_GRO_FRAGLIST and NETIF_F_GRO_UDP_FWD features if they are not required for their applications. This can be done by modifying the network interface settings or kernel parameters, but it is recommended to apply the kernel update as the primary solution.

Conclusion

The vulnerability identified as CVE-2021-47036 in the Linux kernel poses significant risks to data integrity and communication for systems utilizing UDP tunnels. It is crucial for users to update their kernel to the latest version to mitigate these risks. Temporary workarounds are available, but the recommended approach is to apply the kernel update.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to inner protocol corruption, causing data loss and miscommunication in applications relying on UDP tunnels.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

All versions prior to 5.14.6-1 are affected by this vulnerability.

Yes, updating to version 5.14.6-1 or later of the Linux kernel will permanently fix the issue.

These are features in the Linux kernel that enable Generic Receive Offload (GRO) for fragmented packets and UDP forwarding, respectively.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback