Vulnerability · Published Jan 23, 2026 · Assigned by Linux

CVE-2026-22981idpf: detach and close netdevs while handling a reset

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.1%top 97.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

In the Linux kernel, the following vulnerability has been resolved: idpf: detach and close netdevs while handling a reset Protect the reset path from callbacks by setting the netdevs to detached state and close any netdevs in UP state until the reset handling has completed. During a reset, the driver will de-allocate resources for the vport, and there is no guarantee that those will recover, which is why the existing vport_ctrl_lock does not provide sufficient protection. idpf_detach_and_close() is called right before reset handling. If the reset handling succeeds, the netdevs state is recovered via call to idpf_attach_and_open(). If the reset handling fails the netdevs remain down. The detach/down calls are protected with RTNL lock to avoid racing with callbacks. On the recovery side the attach can be done without holding the RTNL lock as there are no callbacks expected at that point, due to detach/close always being done first in that flow. The previous logic restoring the netdevs state based on the IDPF_VPORT_UP_REQUESTED flag in the init task is not needed anymore, hence the removal of idpf_set_vport_state(). The IDPF_VPORT_UP_REQUESTED is still being used to restore the state of the netdevs following the reset, but has no use outside of the reset handling flow. idpf_init_hard_reset() is converted to void, since it was used as such and there is no error handling being done based on its return value. Before this change, invoking hard and soft resets simultaneously will cause the driver to lose the vport state: ip -br a <inf> UP echo 1 > /sys/class/net/ens801f0/device/reset& \ ethtool -L ens801f0 combined 8 ip -br a <inf> DOWN ip link set <inf> up ip -br a <inf> DOWN Also in case of a failure in the reset path, the netdev is left exposed to external callbacks, while vport resources are not initialized, leading to a crash on subsequent ifup/down: [408471.398966] idpf 0000:83:00.0: HW reset detected [408471.411744] idpf 0000:83:00.0: Device HW Reset initiated [408472.277901] idpf 0000:83:00.0: The driver was unable to contact the device's firmware. Check that the FW is running. Driver state= 0x2 [408508.125551] BUG: kernel NULL pointer dereference, address: 0000000000000078 [408508.126112] #PF: supervisor read access in kernel mode [408508.126687] #PF: error_code(0x0000) - not-present page [408508.127256] PGD 2aae2f067 P4D 0 [408508.127824] Oops: Oops: 0000 [#1] SMP NOPTI ... [408508.130871] RIP: 0010:idpf_stop+0x39/0x70 [idpf] ... [408508.139193] Call Trace: [408508.139637] <TASK> [408508.140077] __dev_close_many+0xbb/0x260 [408508.140533] __dev_change_flags+0x1cf/0x280 [408508.140987] netif_change_flags+0x26/0x70 [408508.141434] dev_change_flags+0x3d/0xb0 [408508.141878] devinet_ioctl+0x460/0x890 [408508.142321] inet_ioctl+0x18e/0x1d0 [408508.142762] ? _copy_to_user+0x22/0x70 [408508.143207] sock_do_ioctl+0x3d/0xe0 [408508.143652] sock_ioctl+0x10e/0x330 [408508.144091] ? find_held_lock+0x2b/0x80 [408508.144537] __x64_sys_ioctl+0x96/0xe0 [408508.144979] do_syscall_64+0x79/0x3d0 [408508.145415] entry_SYSCALL_64_after_hwframe+0x76/0x7e [408508.145860] RIP: 0033:0x7f3e0bb4caff

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13linux6.12.85-1DEBIAN-CVE-2026-22981
Debian:14linux6.18.8-1DEBIAN-CVE-2026-22981
Ubuntu:24.04:LTSlinux6.8.0-136.136UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux6.8.0-136.136USN-8567-1
Ubuntu:25.10linuxno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-aws6.8.0-1061.64USN-8595-2
Ubuntu:24.04:LTSlinux-aws6.8.0-1061.64UBUNTU-CVE-2026-22981
Ubuntu:25.10linux-awsno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-aws-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-aws-6.17no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1061.64~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1061.64~22.04.1USN-8595-3
Ubuntu:24.04:LTSlinux-azure6.8.0-1063.71UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure6.8.0-1063.71USN-8606-1
Ubuntu:25.10linux-azureno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-6.176.17.0-1021.21~24.04.1USN-8604-1
Ubuntu:24.04:LTSlinux-azure-6.176.17.0-1021.21~24.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1063.71~22.04.1USN-8606-1
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1063.71~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-fde6.8.0-1062.69UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-fde6.8.0-1062.69USN-8607-1
Ubuntu:25.10linux-azure-fdeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-fde-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-fde-6.176.17.0-1018.18~24.04.1USN-8605-1
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-azure-fde-6.86.8.0-1062.69~22.04.1USN-8609-1
Ubuntu:22.04:LTSlinux-azure-fde-6.86.8.0-1062.69~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-nvidiano fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-azure-nvidia-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-gcpno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp6.8.0-1064.72UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp6.8.0-1064.72USN-8567-1
Ubuntu:25.10linux-gcpno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp-6.176.17.0-1021.24~24.04.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gcp-6.176.17.0-1021.24~24.04.1USN-8570-1
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1064.72~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1064.72~22.04.1USN-8567-1
Ubuntu:22.04:LTSlinux-gkeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gke6.8.0-1059.67UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-gke6.8.0-1059.67USN-8567-1
Ubuntu:24.04:LTSlinux-gkeop6.8.0-1046.50USN-8567-1
Ubuntu:24.04:LTSlinux-gkeop6.8.0-1046.50UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-hwe-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-hwe-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-hwe-6.176.17.0-41.41~24.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-136.136~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-136.136~22.04.1USN-8619-1
Ubuntu:24.04:LTSlinux-ibm6.8.0-1061.62USN-8574-3
Ubuntu:24.04:LTSlinux-ibm6.8.0-1061.62UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1061.62~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1061.62~22.04.1USN-8574-3
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-136.136.2UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-136.136.2USN-8574-2
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-136.136.2~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-136.136.2~22.04.1USN-8574-2
Ubuntu:24.04:LTSlinux-nvidia6.8.0-1059.62USN-8596-1
Ubuntu:24.04:LTSlinux-nvidia6.8.0-1059.62UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-nvidia-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-nvidia-6.176.17.0-1031.31USN-8669-1
Ubuntu:24.04:LTSlinux-nvidia-6.176.17.0-1031.31UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-nvidia-6.86.8.0-1059.62~22.04.1USN-8596-1
Ubuntu:22.04:LTSlinux-nvidia-6.86.8.0-1059.62~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-nvidia-lowlatency6.8.0-1059.62.1USN-8596-1
Ubuntu:24.04:LTSlinux-nvidia-lowlatency6.8.0-1059.62.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-nvidia-tegra6.8.0-1030.31USN-8574-3
Ubuntu:24.04:LTSlinux-nvidia-tegra6.8.0-1030.31UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oem-6.11no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oem-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oem-6.176.17.0-1030.30USN-8594-1
Ubuntu:24.04:LTSlinux-oem-6.176.17.0-1030.30UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oem-6.8no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oracle6.8.0-1058.61USN-8574-2
Ubuntu:24.04:LTSlinux-oracle6.8.0-1058.61UBUNTU-CVE-2026-22981
Ubuntu:25.10linux-oracleno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oracle-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oracle-6.176.17.0-1019.19~24.04.3UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-oracle-6.176.17.0-1019.19~24.04.3USN-8570-2
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-oracle-6.86.8.0-1058.61~22.04.1USN-8595-1
Ubuntu:22.04:LTSlinux-oracle-6.86.8.0-1058.61~22.04.1UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-raspi6.8.0-1061.65USN-8665-1
Ubuntu:24.04:LTSlinux-raspi6.8.0-1061.65UBUNTU-CVE-2026-22981
Ubuntu:25.10linux-raspino fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:25.10linux-realtimeno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2026-22981
Ubuntu:25.10linux-riscvno fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-riscv-6.14no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-riscv-6.17no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-riscv-6.86.8.0-136.136~22.04.3UBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2026-22981
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-vmware6.8.0-1008.8UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-xilinx6.8.0-1033.34UBUNTU-CVE-2026-22981
Ubuntu:24.04:LTSlinux-xilinx6.8.0-1033.34USN-8574-3

Affected products (as reported)

VendorProductVersions
Linux Linux 0fe45467a1041ea3657a7fa3a791c84c104fbd34 – before 9ad3d0836d8bc1a0f0b4bf56efc56312a9e64b970fe45467a1041ea3657a7fa3a791c84c104fbd34 – before ac122f5fb050903b3d262001562c452be95eaf700fe45467a1041ea3657a7fa3a791c84c104fbd34 – before 2e281e1155fc476c571c0bd2ffbfe28ab829a5c3
Linux Linux 6.7

References