{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "eeb386aeb5b7c8d2dae6a3ba49255d8a97803182"
            },
            {
              "fixed": "12871a4269f139221c9fde9ea3eb69c9228f59d4"
            },
            {
              "fixed": "02e72909453dee2f8a09f78819f9a9cb902dfbdc"
            },
            {
              "fixed": "4bffadde7fc49b00493fb78c6376f958998d4b8c"
            },
            {
              "fixed": "f7d66afc34bc6e833c8ebe56973afec35f473bc1"
            },
            {
              "fixed": "2ff68bf414de167bc138e6e211ee1ad3ab3c5052"
            },
            {
              "fixed": "6b8a02e216f6b520cc029e43ddc83956605135d5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.1.188"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.157"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.51"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89959.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: Fix control domain removal in vfio_ap_mdev_cfg_remove\n\nThe vfio_ap_config_remove function uses the bitmap_andnot function to clear\nbits from the matrix_mdev-\u003ematrix.adm bitmap (specifies the control domains\nassigned to the mdev). This prevents the explicitly unplugged control\ndomains from being removed the KVM guest. The bitmap_and function is used\ninstead.",
  "id": "CVE-2026-89959",
  "modified": "2026-09-17T03:31:00.495536351Z",
  "published": "2026-09-16T10:32:41.908Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/02e72909453dee2f8a09f78819f9a9cb902dfbdc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/12871a4269f139221c9fde9ea3eb69c9228f59d4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ff68bf414de167bc138e6e211ee1ad3ab3c5052"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4bffadde7fc49b00493fb78c6376f958998d4b8c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6b8a02e216f6b520cc029e43ddc83956605135d5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f7d66afc34bc6e833c8ebe56973afec35f473bc1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89959.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89959"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "s390/vfio-ap: Fix control domain removal in vfio_ap_mdev_cfg_remove"
}