Incorrect Check of Function Return Value in Linux kernel - CVE-2026-89957
Published: September 17, 2026
Vulnerability details
The vulnerability allows a local user to retain stale hardware access to AP devices removed from the host configuration.
The vulnerability exists due to incorrect handling of the bitmap_andnot() return value in vfio_ap_mdev_hot_unplug_cfg() when the last adapter, domain, or control domain assigned to an mdev is removed. A local user can remove the final assigned AP resource from the host configuration to retain stale hardware access to the unplugged AP devices.
Affected software
Debian Linux
Ubuntu
linux-nvidia-tegra (Ubuntu package)
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oracle (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux (Debian package)
How to mitigate CVE-2026-89957
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1038.42
linux (Ubuntu package) - update to 7.0.0-42.42
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-ibm (Ubuntu package) - update to 7.0.0-1017.17
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17
linux (Debian package) - update to 6.12.111-1
External References
- https://git.kernel.org/stable/c/04b35dd88c108b2d2ceaaa396aba1cb4049d5831
- https://git.kernel.org/stable/c/3a9b049bbdc40165d7f3e20b818eec95e5694d96
- https://git.kernel.org/stable/c/753aa3bb1273bc0d36adb013d5915cc8ff6b72a9
- https://git.kernel.org/stable/c/917f509bfb88048094dbb85c4e9dbc4d6fe4a886
- https://git.kernel.org/stable/c/c45753c32d452d10d8efaeb52587e9e6e8126e33
- https://git.kernel.org/stable/c/f58e824de8577fe411f6199d659731a0f86a7275