CVE-2024-26853
published critical CVSS 3.1 · 9.8igc: avoid returning frame twice in XDP_REDIRECT
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4ff3203610928cac82d5627ce803559e78d61b91 to < 63a3c1f3c9ecc654d851e7906d05334cd0c236e2 · 4ff3203610928cac82d5627ce803559e78d61b91 to < 8df393af9e7e8dfd62e9c41dbaa4d2ff53bf794a · 4ff3203610928cac82d5627ce803559e78d61b91 to < 1b3b8231386a572bac8cd5b6fd7e944b84f9bb1f · 4ff3203610928cac82d5627ce803559e78d61b91 to < ef27f655b438bed4c83680e4f01e1cde2739854b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 6.1.82 through 6.1.* (unaffected · semver) · 6.6.22 through 6.6.* (unaffected · semver) · 6.7.10 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.16.1.el8_10 | ELSA-2024-5101 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.16.1.rt7.357.el8_10 | ALSA-2024:5102 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.16.1.el8_10 | ALSA-2024:5101 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.31.1.el9_4 | ALSA-2024:5363 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: igc: avoid returning frame twice in XDP_REDIRECT When a frame can not be transmitted in XDP_REDIRECT (e.g. due to a full queue), it is necessary to free it by calling xdp_return_frame_rx_napi. However, this is the responsibility of the caller of the ndo_xdp_xmit (see for example bq_xmit_all in kernel/bpf/devmap.c) and thus calling it inside igc_xdp_xmit (which is the ndo_xdp_xmit of the igc driver) as well will lead to memory corruption. In fact, bq_xmit_all expects that it can return all frames after the last successfully transmitted one. Therefore, break for the first not transmitted frame, but do not call xdp_return_frame_rx_napi in igc_xdp_xmit. This is equally implemented in other Intel drivers such as the igb. There are two alternatives to this that were rejected: 1. Return num_frames as all the frames would have been transmitted and release them inside igc_xdp_xmit. While it might work technically, it is not what the return value is meant to represent (i.e. the number of SUCCESSFULLY transmitted packets). 2. Rework kernel/bpf/devmap.c and all drivers to support non-consecutively dropped packets. Besides being complex, it likely has a negative performance impact without a significant gain since it is anyway unlikely that the next frame can be transmitted if the previous one was dropped. The memory corruption can be reproduced with the following script which leads to a kernel panic after a few seconds. It basically generates more traffic than a i225 NIC can transmit and pushes it via XDP_REDIRECT from a virtual interface to the physical interface where frames get dropped. #!/bin/bash INTERFACE=enp4s0 INTERFACE_IDX=`cat /sys/class/net/$INTERFACE/ifindex` sudo ip link add dev veth1 type veth peer name veth2 sudo ip link set up $INTERFACE sudo ip link set up veth1 sudo ip link set up veth2 cat << EOF > redirect.bpf.c SEC("prog") int redirect(struct xdp_md *ctx) { return bpf_redirect($INTERFACE_IDX, 0); } char _license[] SEC("license") = "GPL"; EOF clang -O2 -g -Wall -target bpf -c redirect.bpf.c -o redirect.bpf.o sudo ip link set veth2 xdp obj redirect.bpf.o cat << EOF > pass.bpf.c SEC("prog") int pass(struct xdp_md *ctx) { return XDP_PASS; } char _license[] SEC("license") = "GPL"; EOF clang -O2 -g -Wall -target bpf -c pass.bpf.c -o pass.bpf.o sudo ip link set $INTERFACE xdp obj pass.bpf.o cat << EOF > trafgen.cfg { /* Ethernet Header */ 0xe8, 0x6a, 0x64, 0x41, 0xbf, 0x46, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, const16(ETH_P_IP), /* IPv4 Header */ 0b01000101, 0, # IPv4 version, IHL, TOS const16(1028), # IPv4 total length (UDP length + 20 bytes (IP header)) const16(2), # IPv4 ident 0b01000000, 0, # IPv4 flags, fragmentation off 64, # IPv4 TTL 17, # Protocol UDP csumip(14, 33), # IPv4 checksum /* UDP Header */ 10, 0, 1, 1, # IP Src - adapt as needed 10, 0, 1, 2, # IP Dest - adapt as needed const16(6666), # UDP Src Port const16(6666), # UDP Dest Port const16(1008), # UDP length (UDP header 8 bytes + payload length) csumudp(14, 34), # UDP checksum /* Payload */ fill('W', 1000), } EOF sudo trafgen -i trafgen.cfg -b3000MB -o veth1 --cpp
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The condition that triggers the bug is a full igc TX ring, which is driven purely by the rate of packets being XDP-redirected to the interface; in an XDP forwarding/load-balancer deployment those packets arrive from arbitrary remote senders across routed networks, so no local or adjacent access is needed. AC:L - The attacker fully controls the trigger by offering traffic faster than the 2.5G NIC can transmit, causing `igc_maybe_stop_tx()` to return -EBUSY deterministically; the fix commit's own reproducer panics the kernel within seconds, with no attacker-uncontrollable precondition. PR:N - Once the XDP redirect path is configured (the intended, supported use of the driver), the corruption is reached purely by sending network packets — the attacker needs no account, credential, or privilege on the target. UI:N - The double free occurs in the NAPI/XDP receive-and-redirect path with no victim action required; the redirect and TX-full condition are driven entirely by inbound traffic. S:U - The freed buffers, page-pool state and TX descriptor ring all live within the kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - Double-freeing into the page pool / buddy allocator makes one page simultaneously owned by two consumers, so a buffer reallocated for another kernel object can be read back out over the network, and the NIC continues DMAing from pages already handed to other users — a use-after-free read primitive over kernel memory. I:H - The NIC DMAs attacker-supplied packet bytes into pages that have been freed and reallocated for arbitrary kernel objects, and the page-pool refcount/ring corruption is a classic heap-grooming primitive; the commit itself describes the result as "memory corruption." A:H - The maintainer's reproducer produces a kernel panic within seconds of sustained traffic, and any double free of page-pool buffers reliably crashes the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4ff3203610928cac82d5627ce803559e78d61b91 to < 63a3c1f3c9ecc654d851e7906d05334cd0c236e2 (affected · git)4ff3203610928cac82d5627ce803559e78d61b91 to < 8df393af9e7e8dfd62e9c41dbaa4d2ff53bf794a (affected · git)4ff3203610928cac82d5627ce803559e78d61b91 to < 1b3b8231386a572bac8cd5b6fd7e944b84f9bb1f (affected · git)4ff3203610928cac82d5627ce803559e78d61b91 to < ef27f655b438bed4c83680e4f01e1cde2739854b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)6.1.82 through 6.1.* (unaffected · semver)6.6.22 through 6.6.* (unaffected · semver)6.7.10 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
igc: avoid returning frame twice in XDP_REDIRECT
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36ec3e17809ac95784ffbe353e1e63203c41e1b869b056bc73b225a92ca5e47e
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record