# CVE-2026-89959: s390/vfio-ap: Fix control domain removal in vfio\_ap\_mdev\_cfg\_remove

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:32:41.908Z
- **Modified:** 2026-10-19T09:18:42.087Z

## Who should check

- Anyone running Linux \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 12871a4269f139221c9fde9ea3eb69c9228f59d4; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 02e72909453dee2f8a09f78819f9a9cb902dfbdc; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 4bffadde7fc49b00493fb78c6376f958998d4b8c; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< f7d66afc34bc6e833c8ebe56973afec35f473bc1; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 2ff68bf414de167bc138e6e211ee1ad3ab3c5052; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 6b8a02e216f6b520cc029e43ddc83956605135d5
- Anyone running Linux 6.0

## 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.

## Affected and fixed versions

- Linux: \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 12871a4269f139221c9fde9ea3eb69c9228f59d4; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 02e72909453dee2f8a09f78819f9a9cb902dfbdc; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 4bffadde7fc49b00493fb78c6376f958998d4b8c; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< f7d66afc34bc6e833c8ebe56973afec35f473bc1; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 2ff68bf414de167bc138e6e211ee1ad3ab3c5052; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 6b8a02e216f6b520cc029e43ddc83956605135d5 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 6b8a02e216f6b520cc029e43ddc83956605135d5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89959. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89959.md
Affected: Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 12871a4269f139221c9fde9ea3eb69c9228f59d4; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 02e72909453dee2f8a09f78819f9a9cb902dfbdc; >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, < 4bffadde7fc49b00493fb78c6376f958998d4b8c; >= eeb386aeb5b7c8d2dae6a3b…
Fixed in: Linux 12871a4269f139221c9fde9ea3eb69c9228f59d4, Linux 02e72909453dee2f8a09f78819f9a9cb902dfbdc, Linux 4bffadde7fc49b00493fb78c6376f958998d4b8c, Linux 2ff68bf414de167bc138e6e211ee1ad3ab3c5052, Linux 6b8a02e216f6b520cc029e43ddc83956605135d5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89959 being exploited?

There is no confirmed exploitation: CVE-2026-89959 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89959?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89959?

Linux \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 12871a4269f139221c9fde9ea3eb69c9228f59d4; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 02e72909453dee2f8a09f78819f9a9cb902dfbdc; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 4bffadde7fc49b00493fb78c6376f958998d4b8c; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< f7d66afc34bc6e833c8ebe56973afec35f473bc1; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 2ff68bf414de167bc138e6e211ee1ad3ab3c5052; \>= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182, \< 6b8a02e216f6b520cc029e43ddc83956605135d5; Linux 6.0.

### Is there a fix for CVE-2026-89959?

Yes. Fixed in Linux 12871a4269f139221c9fde9ea3eb69c9228f59d4, Linux 02e72909453dee2f8a09f78819f9a9cb902dfbdc, Linux 4bffadde7fc49b00493fb78c6376f958998d4b8c, Linux 2ff68bf414de167bc138e6e211ee1ad3ab3c5052, Linux 6b8a02e216f6b520cc029e43ddc83956605135d5. Upgrade Linux to 6b8a02e216f6b520cc029e43ddc83956605135d5 or later.

### How do I check if I'm affected by CVE-2026-89959?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89959>

HTML: <https://flawdb.com/CVE-2026-89959> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89959>
