# CVE-2021-47036: udp: skip L4 aggregation for UDP tunnel packets

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.53% (percentile 39, 2026-11-26)
- **Published:** 2024-02-28T08:13:44.034Z
- **Modified:** 2026-08-05T08:45:39.890Z

## Who should check

- Anyone running Linux \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 450687386cd16d081b58cd7a342acff370a96078; \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 18f25dc399901426dff61e676ba603ff52c666f7
- Anyone running Linux 5.6

## Description

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 system, udp\_gro\_receive() could end-up
doing L4 aggregation (either SKB\_GSO\_UDP\_L4 or SKB\_GSO\_FRAGLIST) at
the outer UDP tunnel level for packets effectively carrying and UDP
tunnel header.

That could cause inner protocol corruption. If e.g. the relevant
packets carry a vxlan header, different vxlan ids will be ignored/
aggregated to the same GSO packet. Inner headers will be ignored, too,
so that e.g. TCP over vxlan push packets will be held in the GRO
engine till the next flush, etc.

Just skip the SKB\_GSO\_UDP\_L4 and SKB\_GSO\_FRAGLIST code path if the
current packet could land in a UDP tunnel, and let udp\_gro\_receive()
do GRO via udp\_sk(sk)-\>gro\_receive.

The check implemented in this patch is broader than what is strictly
needed, as the existing UDP tunnel could be e.g. configured on top of
a different device: we could end-up skipping GRO at-all for some packets.

Anyhow, that is a very thin corner case and covering it will add quite
a bit of complexity.

v1 -\> v2:
 - hopefully clarify the commit message

## Affected and fixed versions

- Linux: \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 450687386cd16d081b58cd7a342acff370a96078; \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 18f25dc399901426dff61e676ba603ff52c666f7 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 18f25dc399901426dff61e676ba603ff52c666f7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47036.md
Affected: Linux >= 9fd1ff5d2ac7181844735806b0a703c942365291, < 450687386cd16d081b58cd7a342acff370a96078; >= 9fd1ff5d2ac7181844735806b0a703c942365291, < 18f25dc399901426dff61e676ba603ff52c666f7; Linux 5.6
Fixed in: Linux 450687386cd16d081b58cd7a342acff370a96078, Linux 18f25dc399901426dff61e676ba603ff52c666f7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47036 being exploited?

There is no confirmed exploitation: CVE-2021-47036 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47036?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-47036?

Linux \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 450687386cd16d081b58cd7a342acff370a96078; \>= 9fd1ff5d2ac7181844735806b0a703c942365291, \< 18f25dc399901426dff61e676ba603ff52c666f7; Linux 5.6.

### Is there a fix for CVE-2021-47036?

Yes. Fixed in Linux 450687386cd16d081b58cd7a342acff370a96078, Linux 18f25dc399901426dff61e676ba603ff52c666f7. Upgrade Linux to 18f25dc399901426dff61e676ba603ff52c666f7 or later.

### How do I check if I'm affected by CVE-2021-47036?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/450687386cd16d081b58cd7a342acff370a96078>
- patch: <https://git.kernel.org/stable/c/18f25dc399901426dff61e676ba603ff52c666f7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47036>

HTML: <https://flawdb.com/CVE-2021-47036> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47036>
