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
How to mitigate CVE-2026-89957
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