s390/vfio-ap: Fix control domain removal in vfio_ap_mdev_cfg_remove
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 · < 6b8a02e216f6b520cc029e43ddc83956605135d5| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A bitmap operation in the Linux kernel's s390/vfio-ap code prevents explicitly unplugged control domains from being removed from a KVM guest. The input does not describe an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running Linux with s390/vfio-ap should check their kernel; affected versions are not specified.