# CVE-2021-47099: veth: ensure skb entering GRO are not cloned.

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2024-03-04T18:10:51.200Z
- **Modified:** 2026-08-05T08:45:58.170Z

## Who should check

- Anyone running Linux \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< d2269ae48598e05b59ec9ea9e6e44fd33941130d; \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< 9695b7de5b4760ed22132aca919570c0190cb0ce
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

veth: ensure skb entering GRO are not cloned.

After commit d3256efd8e8b ("veth: allow enabling NAPI even without XDP"),
if GRO is enabled on a veth device and TSO is disabled on the peer
device, TCP skbs will go through the NAPI callback. If there is no XDP
program attached, the veth code does not perform any share check, and
shared/cloned skbs could enter the GRO engine.

Ignat reported a BUG triggered later-on due to the above condition:

\[   53.970529\]\[    C1\] kernel BUG at net/core/skbuff.c:3574!
\[   53.981755\]\[    C1\] invalid opcode: 0000 \[\#1\] PREEMPT SMP KASAN PTI
\[   53.982634\]\[    C1\] CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.16.0-rc5+ \#25
\[   53.982634\]\[    C1\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
\[   53.982634\]\[    C1\] RIP: 0010:skb\_shift+0x13ef/0x23b0
\[   53.982634\]\[    C1\] Code: ea 03 0f b6 04 02 48 89 fa 83 e2 07 38 d0
7f 08 84 c0 0f 85 41 0c 00 00 41 80 7f 02 00 4d 8d b5 d0 00 00 00 0f
85 74 f5 ff ff \<0f\> 0b 4d 8d 77 20 be 04 00 00 00 4c 89 44 24 78 4c 89
f7 4c 89 8c
\[   53.982634\]\[    C1\] RSP: 0018:ffff8881008f7008 EFLAGS: 00010246
\[   53.982634\]\[    C1\] RAX: 0000000000000000 RBX: ffff8881180b4c80 RCX: 0000000000000000
\[   53.982634\]\[    C1\] RDX: 0000000000000002 RSI: ffff8881180b4d3c RDI: ffff88810bc9cac2
\[   53.982634\]\[    C1\] RBP: ffff8881008f70b8 R08: ffff8881180b4cf4 R09: ffff8881180b4cf0
\[   53.982634\]\[    C1\] R10: ffffed1022999e5c R11: 0000000000000002 R12: 0000000000000590
\[   53.982634\]\[    C1\] R13: ffff88810f940c80 R14: ffff88810f940d50 R15: ffff88810bc9cac0
\[   53.982634\]\[    C1\] FS:  0000000000000000(0000) GS:ffff888235880000(0000) knlGS:0000000000000000
\[   53.982634\]\[    C1\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[   53.982634\]\[    C1\] CR2: 00007ff5f9b86680 CR3: 0000000108ce8004 CR4: 0000000000170ee0
\[   53.982634\]\[    C1\] Call Trace:
\[   53.982634\]\[    C1\]  \<TASK\>
\[   53.982634\]\[    C1\]  tcp\_sacktag\_walk+0xaba/0x18e0
\[   53.982634\]\[    C1\]  tcp\_sacktag\_write\_queue+0xe7b/0x3460
\[   53.982634\]\[    C1\]  tcp\_ack+0x2666/0x54b0
\[   53.982634\]\[    C1\]  tcp\_rcv\_established+0x4d9/0x20f0
\[   53.982634\]\[    C1\]  tcp\_v4\_do\_rcv+0x551/0x810
\[   53.982634\]\[    C1\]  tcp\_v4\_rcv+0x22ed/0x2ed0
\[   53.982634\]\[    C1\]  ip\_protocol\_deliver\_rcu+0x96/0xaf0
\[   53.982634\]\[    C1\]  ip\_local\_deliver\_finish+0x1e0/0x2f0
\[   53.982634\]\[    C1\]  ip\_sublist\_rcv\_finish+0x211/0x440
\[   53.982634\]\[    C1\]  ip\_list\_rcv\_finish.constprop.0+0x424/0x660
\[   53.982634\]\[    C1\]  ip\_list\_rcv+0x2c8/0x410
\[   53.982634\]\[    C1\]  \_\_netif\_receive\_skb\_list\_core+0x65c/0x910
\[   53.982634\]\[    C1\]  netif\_receive\_skb\_list\_internal+0x5f9/0xcb0
\[   53.982634\]\[    C1\]  napi\_complete\_done+0x188/0x6e0
\[   53.982634\]\[    C1\]  gro\_cell\_poll+0x10c/0x1d0
\[   53.982634\]\[    C1\]  \_\_napi\_poll+0xa1/0x530
\[   53.982634\]\[    C1\]  net\_rx\_action+0x567/0x1270
\[   53.982634\]\[    C1\]  \_\_do\_softirq+0x28a/0x9ba
\[   53.982634\]\[    C1\]  run\_ksoftirqd+0x32/0x60
\[   53.982634\]\[    C1\]  smpboot\_thread\_fn+0x559/0x8c0
\[   53.982634\]\[    C1\]  kthread+0x3b9/0x490
\[   53.982634\]\[    C1\]  ret\_from\_fork+0x22/0x30
\[   53.982634\]\[    C1\]  \</TASK\>

Address the issue by skipping the GRO stage for shared or cloned skbs.
To reduce the chance of OoO, try to unclone the skbs before giving up.

v1 -\> v2:
 - use avoid skb\_copy and fallback to netif\_receive\_skb  - Eric

## Affected and fixed versions

- Linux: \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< d2269ae48598e05b59ec9ea9e6e44fd33941130d; \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< 9695b7de5b4760ed22132aca919570c0190cb0ce (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- Upgrade Linux to 9695b7de5b4760ed22132aca919570c0190cb0ce 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-47099. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47099.md
Affected: Linux >= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, < d2269ae48598e05b59ec9ea9e6e44fd33941130d; >= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, < 9695b7de5b4760ed22132aca919570c0190cb0ce; Linux 5.13
Fixed in: Linux 9695b7de5b4760ed22132aca919570c0190cb0ce

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-47099 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< d2269ae48598e05b59ec9ea9e6e44fd33941130d; \>= d3256efd8e8b234a6251e4d4580bd2c3c31fdc4c, \< 9695b7de5b4760ed22132aca919570c0190cb0ce; Linux 5.13.

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

Yes. Fixed in Linux 9695b7de5b4760ed22132aca919570c0190cb0ce. Upgrade Linux to 9695b7de5b4760ed22132aca919570c0190cb0ce or later.

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

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/d2269ae48598e05b59ec9ea9e6e44fd33941130d>
- patch: <https://git.kernel.org/stable/c/9695b7de5b4760ed22132aca919570c0190cb0ce>

## 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-47099>

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