CVE-2023-53556
published high CVSS 3.1 · 7.8iavf: Fix use-after-free in free_netdev
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5eae00c57f5e42bf201023471917da213c4946d6 to < 17046107ca15d7571551539d94e76aba2bf71fd3 · 5eae00c57f5e42bf201023471917da213c4946d6 to < a4635f190f332304db4a49e827ece790b804b5db · 5eae00c57f5e42bf201023471917da213c4946d6 to < 345c44e18cc10cded85cb9134830e1684495c866 · 5eae00c57f5e42bf201023471917da213c4946d6 to < ca12b98e04b5d1902ac08fe826d3500cb4b6e891 · 5eae00c57f5e42bf201023471917da213c4946d6 to < 8d781a9c53034813c3194b7d94409c7d24ac73eb · 5eae00c57f5e42bf201023471917da213c4946d6 to < 5f4fa1672d98fe99d2297b03add35346f1685d6b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.14 (affected) · 0 to < 3.14 (unaffected · semver) · 5.4.251 through 5.4.* (unaffected · semver) · 5.10.188 through 5.10.* (unaffected · semver) · 5.15.123 through 5.15.* (unaffected · semver) · 6.1.42 through 6.1.* (unaffected · semver) · 6.4.7 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-054 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-372.75.1.el8_6 | RHSA-2023:5627 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: iavf: Fix use-after-free in free_netdev We do netif_napi_add() for all allocated q_vectors[], but potentially do netif_napi_del() for part of them, then kfree q_vectors and leave invalid pointers at dev->napi_list. Reproducer: [root@host ~]# cat repro.sh #!/bin/bash pf_dbsf="0000:41:00.0" vf0_dbsf="0000:41:02.0" g_pids=() function do_set_numvf() { echo 2 >/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs sleep $((RANDOM%3+1)) echo 0 >/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs sleep $((RANDOM%3+1)) } function do_set_channel() { local nic=$(ls -1 --indicator-style=none /sys/bus/pci/devices/${vf0_dbsf}/net/) [ -z "$nic" ] && { sleep $((RANDOM%3)) ; return 1; } ifconfig $nic 192.168.18.5 netmask 255.255.255.0 ifconfig $nic up ethtool -L $nic combined 1 ethtool -L $nic combined 4 sleep $((RANDOM%3)) } function on_exit() { local pid for pid in "${g_pids[@]}"; do kill -0 "$pid" &>/dev/null && kill "$pid" &>/dev/null done g_pids=() } trap "on_exit; exit" EXIT while :; do do_set_numvf ; done & g_pids+=($!) while :; do do_set_channel ; done & g_pids+=($!) wait Result: [ 4093.900222] ================================================================== [ 4093.900230] BUG: KASAN: use-after-free in free_netdev+0x308/0x390 [ 4093.900232] Read of size 8 at addr ffff88b4dc145640 by task repro.sh/6699 [ 4093.900233] [ 4093.900236] CPU: 10 PID: 6699 Comm: repro.sh Kdump: loaded Tainted: G O --------- -t - 4.18.0 #1 [ 4093.900238] Hardware name: Powerleader PR2008AL/H12DSi-N6, BIOS 2.0 04/09/2021 [ 4093.900239] Call Trace: [ 4093.900244] dump_stack+0x71/0xab [ 4093.900249] print_address_description+0x6b/0x290 [ 4093.900251] ? free_netdev+0x308/0x390 [ 4093.900252] kasan_report+0x14a/0x2b0 [ 4093.900254] free_netdev+0x308/0x390 [ 4093.900261] iavf_remove+0x825/0xd20 [iavf] [ 4093.900265] pci_device_remove+0xa8/0x1f0 [ 4093.900268] device_release_driver_internal+0x1c6/0x460 [ 4093.900271] pci_stop_bus_device+0x101/0x150 [ 4093.900273] pci_stop_and_remove_bus_device+0xe/0x20 [ 4093.900275] pci_iov_remove_virtfn+0x187/0x420 [ 4093.900277] ? pci_iov_add_virtfn+0xe10/0xe10 [ 4093.900278] ? pci_get_subsys+0x90/0x90 [ 4093.900280] sriov_disable+0xed/0x3e0 [ 4093.900282] ? bus_find_device+0x12d/0x1a0 [ 4093.900290] i40e_free_vfs+0x754/0x1210 [i40e] [ 4093.900298] ? i40e_reset_all_vfs+0x880/0x880 [i40e] [ 4093.900299] ? pci_get_device+0x7c/0x90 [ 4093.900300] ? pci_get_subsys+0x90/0x90 [ 4093.900306] ? pci_vfs_assigned.part.7+0x144/0x210 [ 4093.900309] ? __mutex_lock_slowpath+0x10/0x10 [ 4093.900315] i40e_pci_sriov_configure+0x1fa/0x2e0 [i40e] [ 4093.900318] sriov_numvfs_store+0x214/0x290 [ 4093.900320] ? sriov_totalvfs_show+0x30/0x30 [ 4093.900321] ? __mutex_lock_slowpath+0x10/0x10 [ 4093.900323] ? __check_object_size+0x15a/0x350 [ 4093.900326] kernfs_fop_write+0x280/0x3f0 [ 4093.900329] vfs_write+0x145/0x440 [ 4093.900330] ksys_write+0xab/0x160 [ 4093.900332] ? __ia32_sys_read+0xb0/0xb0 [ 4093.900334] ? fput_many+0x1a/0x120 [ 4093.900335] ? filp_close+0xf0/0x130 [ 4093.900338] do_syscall_64+0xa0/0x370 [ 4093.900339] ? page_fault+0x8/0x30 [ 4093.900341] entry_SYSCALL_64_after_hwframe+0x65/0xca [ 4093.900357] RIP: 0033:0x7f16ad4d22c0 [ 4093.900359] Code: 73 01 c3 48 8b 0d d8 cb 2c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 24 2d 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe dd 01 00 48 89 04 24 [ 4093.900360] RSP: 002b:00007ffd6491b7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 4093.900362] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f16ad4d22c0 [ 4093.900363] RDX: 0000000000000002 RSI: 0000000001a41408 RDI: 0000000000000001 [ 4093.900364] RBP: 0000000001a41408 R08: 00007f16ad7a1780 R09: 00007f16ae1f2700 [ 4093.9003 ---truncated---
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable state is created through local device-management interfaces — the `ethtool -L` (ETHTOOL_SCHANNELS) ioctl on the VF netdev and sysfs/PCI-unbind driver teardown — and no virtchnl message or received network packet reaches `iavf_free_q_vectors()`. Exploitation therefore requires local access to the system hosting the iavf VF. AC:L - The attacker controls both sides of the race described in the commit's own reproducer, issuing the queue-count reconfiguration and driving the VF reset/teardown loop themselves, and can repeat both indefinitely until `iavf_set_channels()` takes its reset-timeout path that lowers `num_active_queues`. Heap grooming of the freed 8192-byte object before `free_netdev()` is likewise under attacker influence. PR:L - Reaching `iavf_set_channels()` only needs `ns_capable(net->user_ns, CAP_NET_ADMIN)`, which a container or tenant holds over its own network namespace when an SR-IOV VF is delegated into it — a routine Kubernetes SR-IOV CNI / NFV deployment. No real root in the initial namespace is required to create the NAPI add/del mismatch. UI:N - No victim action is needed; the attacker triggers the queue reconfiguration, the resets, and the driver-teardown path themselves in a loop, exactly as in the commit's reproducer script. Stale `napi_struct` entries also persist on a live `netdev->napi_list` after a reinit, so no separate administrator action is required. S:U - The use-after-free corrupts kernel heap memory and is exploited entirely within the kernel's own security authority, giving kernel-level control on the same host. No hypervisor, IOMMU, or other security-authority boundary is crossed. C:H - The dangling `napi_struct` pointers reference a freed `kmalloc-8k` object that the attacker can reoccupy with sprayed data, and `__netif_napi_del()` reads `napi->state`, `napi->dev_list`, `napi->skb`, `napi->gro_hash[]`, and `napi->thread` from it. Combined with the resulting arbitrary-pointer dereferences, this is leverageable into arbitrary kernel memory disclosure. I:H - `__netif_napi_del()` performs `list_del_rcu(&napi->dev_list)` and `hlist_del_init_rcu()` on the freed object, writing to attacker-forged `next`/`prev` pointers — a direct arbitrary-write primitive — plus `kfree_skb()` on controlled `napi->skb`/GRO-hash pointers and `kthread_stop(napi->thread)`. These are sufficient for control-flow hijacking and full privilege escalation. A:H - Even without exploitation the use-after-free corrupts `netdev->napi_list` and reliably oopses in `free_netdev()`, as shown by the KASAN splat in the commit message. Any list-walk consumer (`free_netdev()`, `netif_set_threaded()`, `__netpoll_setup()`) can panic the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5eae00c57f5e42bf201023471917da213c4946d6 to < 17046107ca15d7571551539d94e76aba2bf71fd3 (affected · git)5eae00c57f5e42bf201023471917da213c4946d6 to < a4635f190f332304db4a49e827ece790b804b5db (affected · git)5eae00c57f5e42bf201023471917da213c4946d6 to < 345c44e18cc10cded85cb9134830e1684495c866 (affected · git)5eae00c57f5e42bf201023471917da213c4946d6 to < ca12b98e04b5d1902ac08fe826d3500cb4b6e891 (affected · git)5eae00c57f5e42bf201023471917da213c4946d6 to < 8d781a9c53034813c3194b7d94409c7d24ac73eb (affected · git)5eae00c57f5e42bf201023471917da213c4946d6 to < 5f4fa1672d98fe99d2297b03add35346f1685d6b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.14 (affected)0 to < 3.14 (unaffected · semver)5.4.251 through 5.4.* (unaffected · semver)5.10.188 through 5.10.* (unaffected · semver)5.15.123 through 5.15.* (unaffected · semver)6.1.42 through 6.1.* (unaffected · semver)6.4.7 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/17046107ca15d7571551539d94e76aba2bf71fd3
- https://git.kernel.org/stable/c/345c44e18cc10cded85cb9134830e1684495c866
- https://git.kernel.org/stable/c/5f4fa1672d98fe99d2297b03add35346f1685d6b
- https://git.kernel.org/stable/c/8d781a9c53034813c3194b7d94409c7d24ac73eb
- https://git.kernel.org/stable/c/a4635f190f332304db4a49e827ece790b804b5db
- https://git.kernel.org/stable/c/ca12b98e04b5d1902ac08fe826d3500cb4b6e891
Provider assertions
1Linux · cna
iavf: Fix use-after-free in free_netdev
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf131c6c31e2e8d0f7adb3fe3965d52bce7112acd839ad78a7fe032ff59b836c
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record