Ad

CVE-2026-89957

HIGH CVSS 3.1: 8,8 EPSS 0.17%
Обновлено 19 октября 2026
Linux
Параметр Значение
CVSS 8,8 (HIGH)
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: Fix hot-unplug skipped when last AP adapter or domain removed The vfio_ap_mdev_hot_unplug_cfg() function uses the return value of bitmap_andnot() to determine whether the guest APCB needs to be updated. Однако bitmap_andnot () возвращает false, когда результирующая растровая карта назначения пуста. Это означает, что если единственный адаптер, домен или домен управления, назначенный mdev, удален из конфигурации AP узла, бит правильно очищается от тени APCB, но bitmap_andnot () возвращает false, потому что результат является пустой растровой картой.

Следовательно, do_hotplug остается 0, а vfio_ap_mdev_update_guest_apcb () никогда не вызывается, оставляя гостя KVM с устаревшим аппаратным доступом к отключенным устройствам AP. Исправьте это, заменив проверку возвращаемого значения bitmap_andnot() на bitmap_intersects(), чтобы определить, действительно ли тень APCB перекрывает маску удаления. Если есть пересечение, вызовите bitmap_andnot () исключительно для его побочного эффекта очистки битов, а затем безоговорочно установите do_hotplug для запуска гостевого обновления APCB.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: Fix hot-unplug skipped when last AP adapter or domain removed The vfio_ap_mdev_hot_unplug_cfg() function uses the return value of bitmap_andnot() to determine whether the guest APCB needs to be updated. However, bitmap_andnot() returns false when the resulting destination bitmap is empty. This means that if the only adapter, domain or control domain assigned to an mdev is removed from the host's AP configuration, the bit is correctly cleared from the shadow APCB, but bitmap_andnot() returns false because the result is an empty bitmap. Consequently, do_hotplug remains 0 and vfio_ap_mdev_update_guest_apcb() is never called, leaving the KVM guest with stale hardware access to the unplugged AP devices. Fix this by replacing the bitmap_andnot() return value check with bitmap_intersects() to determine whether the shadow APCB actually overlaps with the removal mask. If there is an intersection, call bitmap_andnot() solely for its side effect of clearing the bits, then unconditionally set do_hotplug to trigger the guest APCB update.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Высокое
Полная утечка данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1