CVE-2021-47619 json
i40e: Fix queues reservation for XDP
published 2024-06-20 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34621
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.228, 5.4.176, 5.10.96, 5.15.19, 5.16.5, 5.17
- linux Debian 14, Debian 13, Debian 12 5.16.7-1
debian advisories DEBIAN-CVE-2021-47619
- linux Ubuntu 18.04 LTS 4.15.0-176.185
- linux Ubuntu 20.04 LTS 5.4.0-109.123
- linux-aws Ubuntu 18.04 LTS 4.15.0-1127.136
- linux-aws Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1072.77
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1020.22
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1113.116
ubuntu advisories UBUNTU-CVE-2021-47619
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.225.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.225.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.225.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.225.1
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.73.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.73.1
suse advisories SUSE-SU-2024:2940-1SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1SUSE-SU-2024:2902-1SUSE-SU-2024:2901-1SUSE-SU-2024:2892-1
- git.kernel.org/stable/c/d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b commit
- git.kernel.org/stable/c/be6998f232b8e4ca8225029e305b8329d89bfd59 commit
- git.kernel.org/stable/c/768eb705e6381f0c70ca29d4e66f19790d5d19a1 commit
- git.kernel.org/stable/c/00eddb0e4ea115154581d1049507a996acfc2d3e commit
- git.kernel.org/stable/c/4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8 commit
- git.kernel.org/stable/c/92947844b8beee988c0ce17082b705c2f75f0742 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47619 updated cvss 5.5
kernel: i40e: Fix queues reservation for XDP
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/d46fa4ea9756ef6cbcf9752d0832cc66e2d7121b
patch
-
git.kernel.org
/stable/c/be6998f232b8e4ca8225029e305b8329d89bfd59
patch
-
git.kernel.org
/stable/c/768eb705e6381f0c70ca29d4e66f19790d5d19a1
patch
-
git.kernel.org
/stable/c/00eddb0e4ea115154581d1049507a996acfc2d3e
patch
-
git.kernel.org
/stable/c/4b3aa858268b7b9aeef02e5f9c4cd8f8fac101c8
patch
-
git.kernel.org
/stable/c/92947844b8beee988c0ce17082b705c2f75f0742
patch
Sources
- CVE List CVE-2021-47619
- NVD CVE-2021-47619
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.