Read the docs
TI-2024-27408 Aliases CVE-2024-41047GHSA-j624-93rx-49pr

i40e: Fix XDP program unloading while removing the driver

Priority LOW 25Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

In the Linux kernel, the following vulnerability has been resolved: i40e: Fix XDP program unloading while removing the driver The commit 6533e558c650 ("i40e: Fix reset path while removing the driver") introduced a new PF state "__I40E_IN_REMOVE" to block modifying the XDP program while the driver is being removed. Unfortunately, such a change is useful only if the ".ndo_bpf()" callback was called out of the rmmod context because unloading the existing XDP program is also a part of driver removing procedure. In other words, from the rmmod context the driver is expected to unload the XDP program without reporting any errors. Otherwise, the kernel warning with callstack is printed out to dmesg. Example failing scenario: 1. Load the i40e driver. 2. Load the XDP program. 3. Unload the i40e driver (using "rmmod" command). The example kernel warning log: [ +0.004646] WARNING: CPU: 94 PID: 10395 at net/core/dev.c:9290 unregister_netdevice_many_notify+0x7a9/0x870 [...] [ +0.010959] RIP: 0010:unregister_netdevice_many_notify+0x7a9/0x870 [...] [ +0.002726] Call Trace: [ +0.002457] <TASK> [ +0.002119] ? __warn+0x80/0x120 [ +0.003245] ? unregister_netdevice_many_notify+0x7a9/0x870 [ +0.005586] ? report_bug+0x164/0x190 [ +0.003678] ? handle_bug+0x3c/0x80 [ +0.003503] ? exc_invalid_op+0x17/0x70 [ +0.003846] ? asm_exc_invalid_op+0x1a/0x20 [ +0.004200] ? unregister_netdevice_many_notify+0x7a9/0x870 [ +0.005579] ? unregister_netdevice_many_notify+0x3cc/0x870 [ +0.005586] unregister_netdevice_queue+0xf7/0x140 [ +0.004806] unregister_netdev+0x1c/0x30 [ +0.003933] i40e_vsi_release+0x87/0x2f0 [i40e] [ +0.004604] i40e_remove+0x1a1/0x420 [i40e] [ +0.004220] pci_device_remove+0x3f/0xb0 [ +0.003943] device_release_driver_internal+0x19f/0x200 [ +0.005243] driver_detach+0x48/0x90 [ +0.003586] bus_remove_driver+0x6d/0xf0 [ +0.003939] pci_unregister_driver+0x2e/0xb0 [ +0.004278] i40e_exit_module+0x10/0x5f0 [i40e] [ +0.004570] __do_sys_delete_module.isra.0+0x197/0x310 [ +0.005153] do_syscall_64+0x85/0x170 [ +0.003684] ? syscall_exit_to_user_mode+0x69/0x220 [ +0.004886] ? do_syscall_64+0x95/0x170 [ +0.003851] ? exc_page_fault+0x7e/0x180 [ +0.003932] entry_SYSCALL_64_after_hwframe+0x71/0x79 [ +0.005064] RIP: 0033:0x7f59dc9347cb [ +0.003648] Code: 73 01 c3 48 8b 0d 65 16 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 35 16 0c 00 f7 d8 64 89 01 48 [ +0.018753] RSP: 002b:00007ffffac99048 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ +0.007577] RAX: ffffffffffffffda RBX: 0000559b9bb2f6e0 RCX: 00007f59dc9347cb [ +0.007140] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000559b9bb2f748 [ +0.007146] RBP: 00007ffffac99070 R08: 1999999999999999 R09: 0000000000000000 [ +0.007133] R10: 00007f59dc9a5ac0 R11: 0000000000000206 R12: 0000000000000000 [ +0.007141] R13: 00007ffffac992d8 R14: 0000559b9bb2f6e0 R15: 0000000000000000 [ +0.007151] </TASK> [ +0.002204] ---[ end trace 0000000000000000 ]--- Fix this by checking if the XDP program is being loaded or unloaded. Then, block only loading a new program while "__I40E_IN_REMOVE" is set. Also, move testing "__I40E_IN_REMOVE" flag to the beginning of XDP_SETUP callback to avoid unnecessary operations and checks.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00273 19th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.15.163, 5.17, 6.1.100 +3Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.15.20 to before 5.15.163; 5.16.6 to before 5.175.15.163, 5.17Patch availableCNA
LinuxLinux5.17 and later5.15.163, 6.1.100, 6.6.41, 6.9.10, 6.10Patch availableCNA
  • Linux VendorLinux Affected 5.15.20 to before 5.15.163; 5.16.6 to before 5.17 Fixed in 5.15.163, 5.17 Patch available CNA
  • Linux VendorLinux Affected 5.17 and later Fixed in 5.15.163, 6.1.100, 6.6.41, 6.9.10, 6.10 Patch available CNA

CPE configurations NVD · 15

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.15.20 to before 5.15.163; 5.16.6 to before 5.17; 5.17.1 to before 6.1.100; 6.2 to before 6.6.41; 6.7 to before 6.9.10VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:-:*:*:*:*:*:*5.17VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*5.17 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:*5.17 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:*5.17 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:*5.17 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:*5.17 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.17:rc8:*:*:*:*:*:*5.17 rc8VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*6.10 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*6.10 rc2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.15.20 to before 5.15.163; 5.16.6 to before 5.17; 5.17.1 to before 6.1.100; 6.2 to before 6.6.41; 6.7 to before 6.9.10 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:-:*:*:*:*:*:* Versions 5.17 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:* Versions 5.17 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:* Versions 5.17 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:* Versions 5.17 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:* Versions 5.17 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:* Versions 5.17 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.17:rc8:*:*:*:*:*:* Versions 5.17 rc8 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* Versions 6.10 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* Versions 6.10 rc2 Vulnerable ·Linux
Show 5 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*6.10 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*6.10 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*6.10 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*6.10 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:*6.10 rc7VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* Versions 6.10 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* Versions 6.10 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* Versions 6.10 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:* Versions 6.10 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:* Versions 6.10 rc7 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.15.163, 5.17
  • Fix · CNA Linux (Linux) Fixed in 5.15.163, 6.1.100, 6.6.41, 6.9.10, 6.10

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-41047
  2. 2026-10-03 Alias added: GHSA-j624-93rx-49pr

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources