CVE-2026-89957
Last modified
CVE-2026-89957 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: Fix hot-unplug skipped when last AP adapter or domain removed The vfio_ap_mdev_hot_unplug_cfg() function uses the return value of bitmap_andnot() to determine whether the guest APCB needs to be updated. However, bitmap_andnot() returns false when the resulting destination bitmap is empty. This means that if the only adapter, domain or control domain assigned to an mdev is removed from the host's AP configuration, the bit is correctly cleared from the shadow APCB, but bitmap_andnot() returns false because the result is an empty bitmap.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: Fix hot-unplug skipped when last AP adapter or domain removed The vfio_ap_mdev_hot_unplug_cfg() function uses the return value of bitmap_andnot() to determine whether the guest APCB needs to be updated. However, bitmap_andnot() returns false when the resulting destination bitmap is empty. This means that if the only adapter, domain or control domain assigned to an mdev is removed from the host's AP configuration, the bit is correctly cleared from the shadow APCB, but bitmap_andnot() returns false because the result is an empty bitmap. Consequently, do_hotplug remains 0 and vfio_ap_mdev_update_guest_apcb() is never called, leaving the KVM guest with stale hardware access to the unplugged AP devices. Fix this by replacing the bitmap_andnot() return value check with bitmap_intersects() to determine whether the shadow APCB actually overlaps with the removal mask. If there is an intersection, call bitmap_andnot() solely for its side effect of clearing the bits, then unconditionally set do_hotplug to trigger the guest APCB update.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < f58e824de8577fe411f6199d659731a0f86a7275; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 3a9b049bbdc40165d7f3e20b818eec95e5694d96; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 753aa3bb1273bc0d36adb013d5915cc8ff6b72a9; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < c45753c32d452d10d8efaeb52587e9e6e8126e33; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 04b35dd88c108b2d2ceaaa396aba1cb4049d5831; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 917f509bfb88048094dbb85c4e9dbc4d6fe4a886 |
| Linux | Linux | 6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89957?
How severe is CVE-2026-89957?
How do I fix CVE-2026-89957?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89951In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-89952In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89953In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89954In the Linux kernel, the following vulnerability has been re…8
- CVE-2026-89955In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89958In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89959In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-8996The Backup and Staging by WP Time Capsule plugin for WordPre…6.5
- CVE-2026-89960In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-89961In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89962In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-89957?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
