Linux veth GRO Flaw Can Trigger Kernel Crash via Cloned Socket Buffers
Patch & Detection Intelligence · 3 sources · Updated 3mo ago · First seen Nov 8, 2022

CVE-2021-47099 affects the Linux kernel's virtual Ethernet (veth) driver, allowing shared or cloned socket buffers to enter Generic Receive Offload (GRO) processing. Under a configuration where GRO is enabled on a veth interface, TCP Segmentation Offload is disabled on its peer, and no XDP program is attached, the condition can trigger a skb_shift kernel BUG during TCP processing and crash the host. The flaw was introduced by commit d3256efd8e8b in Linux 5.13.
Upstream fixed the issue in Linux 5.15.12 and 5.16 by avoiding GRO processing for shared or cloned buffers and attempting to unclone them first. Red Hat issued fixes for supported RHEL 8 and RHEL 9 kernel packages, including RHEL 8.6 EUS via RHSA-2024:1877; RHEL 6 and 7 are outside supported remediation scope. Red Hat rates the issue Low with CVSS 6.0, while CVE.org lists a 7.8 score; organizations should deploy current stable kernel updates and validate affected veth-based container and virtual-networking configurations.
Why it matters
Impact assessment
CVE-2021-47099 can crash affected Linux hosts through a kernel BUG in the veth/TCP receive path, causing denial of service and interruption to container, virtual-machine, and virtual-network workloads. Exposure is configuration-dependent rather than universal: it requires a veth interface with GRO enabled, its peer with TSO disabled, and no attached XDP program.
- Affected populations: Linux systems using veth pairs, including container hosts, Kubernetes worker nodes, network namespaces, and virtualized networking deployments.
- Primary impact: host kernel crash/panic during TCP processing; resulting workload outage and possible cascading service disruption on shared compute nodes.
- Severity assessments: Red Hat rates the issue Low at CVSS 3.1 6.0; CVE.org lists CVSS 3.1 7.8. The reported effect is availability loss, although the CVE.org assessment includes confidentiality and integrity impact.
- Scope: systems running code derived from Linux 5.13 onward are relevant until their vendor kernel includes the backported fix. Actual exploitability depends on the required offload and XDP configuration.
- Exploitation: the supplied references describe a reproduced crash condition but do not report exploitation in the wild.
- Unsupported exposure: RHEL 6, RHEL 7, and RHEL 7 kernel-rt are outside Red Hat remediation scope and should be treated as potentially affected unless independently verified.


