CVE-2026-89957
s390/vfio-ap: Fix hot-unplug skipped when last AP adapter or domain removed
Check your servers for CVE-2026-89957
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89957 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.24% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before f58e824de8577fe411f6199d659731a0f86a7275 affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before 3a9b049bbdc40165d7f3e20b818eec95e5694d96 affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before 753aa3bb1273bc0d36adb013d5915cc8ff6b72a9 affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before c45753c32d452d10d8efaeb52587e9e6e8126e33 affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before 04b35dd88c108b2d2ceaaa396aba1cb4049d5831 affected from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, before 917f509bfb88048094dbb85c4e9dbc4d6fe4a886
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.51 up to and including 6.18.* unaffected from 7.2.5 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89957 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89957
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-89957
trivy image --scanners vuln IMAGE | grep CVE-2026-89957
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f58e824de8577fe411f6199d659731a0f86a7275 git.kernel.org
- https://git.kernel.org/stable/c/3a9b049bbdc40165d7f3e20b818eec95e5694d96 git.kernel.org
- https://git.kernel.org/stable/c/753aa3bb1273bc0d36adb013d5915cc8ff6b72a9 git.kernel.org
- https://git.kernel.org/stable/c/c45753c32d452d10d8efaeb52587e9e6e8126e33 git.kernel.org
- https://git.kernel.org/stable/c/04b35dd88c108b2d2ceaaa396aba1cb4049d5831 git.kernel.org
- https://git.kernel.org/stable/c/917f509bfb88048094dbb85c4e9dbc4d6fe4a886 git.kernel.org
Source: the record CVE-2026-89957 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse