# CVE-2021-47619: i40e: Fix queues reservation for XDP

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-06-20T11:08:08.647Z
- **Modified:** 2026-06-17T04:18:10.617Z

## Who should check

- Anyone running Linux \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< be6998f232b8e4ca8225029e305b8329d89bfd59; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 768eb705e6381f0c70ca29d4e66f19790d5d19a1; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 00eddb0e4ea115154581d1049507a996acfc2d3e; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 92947844b8beee988c0ce17082b705c2f75f0742
- Anyone running Linux 3.12

## Description

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

i40e: Fix queues reservation for XDP

When XDP was configured on a system with large number of CPUs
and X722 NIC there was a call trace with NULL pointer dereference.

i40e 0000:87:00.0: failed to get tracking for 256 queues for VSI 0 err -12
i40e 0000:87:00.0: setup of MAIN VSI failed

BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: 0010:i40e\_xdp+0xea/0x1b0 \[i40e\]
Call Trace:
? i40e\_reconfig\_rss\_queues+0x130/0x130 \[i40e\]
dev\_xdp\_install+0x61/0xe0
dev\_xdp\_attach+0x18a/0x4c0
dev\_change\_xdp\_fd+0x1e6/0x220
do\_setlink+0x616/0x1030
? ahci\_port\_stop+0x80/0x80
? ata\_qc\_issue+0x107/0x1e0
? lock\_timer\_base+0x61/0x80
? \_\_mod\_timer+0x202/0x380
rtnl\_setlink+0xe5/0x170
? bpf\_lsm\_binder\_transaction+0x10/0x10
? security\_capable+0x36/0x50
rtnetlink\_rcv\_msg+0x121/0x350
? rtnl\_calcit.isra.0+0x100/0x100
netlink\_rcv\_skb+0x50/0xf0
netlink\_unicast+0x1d3/0x2a0
netlink\_sendmsg+0x22a/0x440
sock\_sendmsg+0x5e/0x60
\_\_sys\_sendto+0xf0/0x160
? \_\_sys\_getsockname+0x7e/0xc0
? \_copy\_from\_user+0x3c/0x80
? \_\_sys\_setsockopt+0xc8/0x1a0
\_\_x64\_sys\_sendto+0x20/0x30
do\_syscall\_64+0x33/0x40
entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
RIP: 0033:0x7f83fa7a39e0

This was caused by PF queue pile fragmentation due to
flow director VSI queue being placed right after main VSI.
Because of this main VSI was not able to resize its
queue allocation for XDP resulting in no queues allocated
for main VSI when XDP was turned on.

Fix this by always allocating last queue in PF queue pile
for a flow director VSI.

## Affected and fixed versions

- Linux: \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< be6998f232b8e4ca8225029e305b8329d89bfd59; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 768eb705e6381f0c70ca29d4e66f19790d5d19a1; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 00eddb0e4ea115154581d1049507a996acfc2d3e; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 92947844b8beee988c0ce17082b705c2f75f0742 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2021-47619.md
Affected: Linux >= 41c445ff0f482bb6e6b72dcee9e598e20575f743, < d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b; >= 41c445ff0f482bb6e6b72dcee9e598e20575f743, < be6998f232b8e4ca8225029e305b8329d89bfd59; >= 41c445ff0f482bb6e6b72dcee9e598e20575f743, < 768eb705e6381f0c70ca29d4e66f19790d5d19a1; >= 41c445ff0f482bb6e6b72dc…
Fixed in: Linux 768eb705e6381f0c70ca29d4e66f19790d5d19a1, Linux 00eddb0e4ea115154581d1049507a996acfc2d3e, Linux 4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8, Linux 92947844b8beee988c0ce17082b705c2f75f0742

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< be6998f232b8e4ca8225029e305b8329d89bfd59; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 768eb705e6381f0c70ca29d4e66f19790d5d19a1; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 00eddb0e4ea115154581d1049507a996acfc2d3e; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8; \>= 41c445ff0f482bb6e6b72dcee9e598e20575f743, \< 92947844b8beee988c0ce17082b705c2f75f0742; Linux 3.12.

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

Yes. Fixed in Linux 768eb705e6381f0c70ca29d4e66f19790d5d19a1, Linux 00eddb0e4ea115154581d1049507a996acfc2d3e, Linux 4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8, Linux 92947844b8beee988c0ce17082b705c2f75f0742. Upgrade Linux to 92947844b8beee988c0ce17082b705c2f75f0742 or later.

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

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/d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b>
- patch: <https://git.kernel.org/stable/c/be6998f232b8e4ca8225029e305b8329d89bfd59>
- patch: <https://git.kernel.org/stable/c/768eb705e6381f0c70ca29d4e66f19790d5d19a1>
- patch: <https://git.kernel.org/stable/c/00eddb0e4ea115154581d1049507a996acfc2d3e>
- patch: <https://git.kernel.org/stable/c/4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8>
- patch: <https://git.kernel.org/stable/c/92947844b8beee988c0ce17082b705c2f75f0742>

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

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