---
id: CVE-2026-89959
title: |-
  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_md…
summary: |-
  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_md…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    12871a4269f139221c9fde9ea3eb69c9228f59d4
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    02e72909453dee2f8a09f78819f9a9cb902dfbdc
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    4bffadde7fc49b00493fb78c6376f958998d4b8c
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    f7d66afc34bc6e833c8ebe56973afec35f473bc1
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    2ff68bf414de167bc138e6e211ee1ad3ab3c5052
  - >-
    Linux >= eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 <
    6b8a02e216f6b520cc029e43ddc83956605135d5
  - Linux 6.0
published: '2026-09-16'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:18:20.433'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89959'
references:
  - url: 'https://git.kernel.org/stable/c/02e72909453dee2f8a09f78819f9a9cb902dfbdc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/12871a4269f139221c9fde9ea3eb69c9228f59d4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2ff68bf414de167bc138e6e211ee1ad3ab3c5052'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4bffadde7fc49b00493fb78c6376f958998d4b8c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6b8a02e216f6b520cc029e43ddc83956605135d5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f7d66afc34bc6e833c8ebe56973afec35f473bc1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89959.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89959'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2535220'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89959'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89959'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89959.mbox
  - url: 'https://kernelcve.org/list/?q=CVE-2026-89959'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
ingestedAt: '2026-09-16T10:53:53.959Z'
epss: 0.00169
epssPercentile: 0.06197
cwe:
  - CWE-284
scores:
  nvd: 8.8
  vendor: 6.1
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89959.json)
