# CVE-2026-89959: s390/vfio-ap: Fix control domain removal in vfio_ap_mdev_cfg_remove

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-09-16T10:32:41.908Z
- Modified: 2026-10-19T09:18:42.087Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

s390/vfio-ap: Fix control domain removal in vfio_ap_mdev_cfg_remove

The vfio_ap_config_remove function uses the bitmap_andnot function to clear
bits from the matrix_mdev->matrix.adm bitmap (specifies the control domains
assigned to the mdev). This prevents the explicitly unplugged control
domains from being removed the KVM guest. The bitmap_and function is used
instead.

(As written by CVE List.)

## Affected

- Linux Linux: from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 12871a4269f139221c9fde9ea3eb69c9228f59d4; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 02e72909453dee2f8a09f78819f9a9cb902dfbdc; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 4bffadde7fc49b00493fb78c6376f958998d4b8c; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before f7d66afc34bc6e833c8ebe56973afec35f473bc1; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 2ff68bf414de167bc138e6e211ee1ad3ab3c5052; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 6b8a02e216f6b520cc029e43ddc83956605135d5; 6.0 (not affected: before 6.0; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/12871a4269f139221c9fde9ea3eb69c9228f59d4>
- <https://git.kernel.org/stable/c/02e72909453dee2f8a09f78819f9a9cb902dfbdc>
- <https://git.kernel.org/stable/c/4bffadde7fc49b00493fb78c6376f958998d4b8c>
- <https://git.kernel.org/stable/c/f7d66afc34bc6e833c8ebe56973afec35f473bc1>
- <https://git.kernel.org/stable/c/2ff68bf414de167bc138e6e211ee1ad3ab3c5052>
- <https://git.kernel.org/stable/c/6b8a02e216f6b520cc029e43ddc83956605135d5>

## Sources

- CVE List: [CVE-2026-89959](https://www.cve.org/CVERecord?id=CVE-2026-89959), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89959](https://nvd.nist.gov/vuln/detail/CVE-2026-89959), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89959 · Whole record: https://cve.day/CVE-2026-89959.json · Rebuilt by cve.day 2026-11-25T22:59:38.993Z
