Описание
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86/mmu: Check write tracking in all address spaces
kvm_gfn_is_write_tracked() checks only the supplied memslot, but page
tracking is per-address-space and shadow pages are shared across all
address spaces. With SMM, a GFN can therefore be write-tracked in one
address space and appear untracked through the other.
Check the supplied slot first, then the slot for the other address space.
This ensures all callers honor write tracking regardless of the active
address space. In particular, it prevents mmu_try_to_unsync_pages() from
marking an upper-level shadow page unsync and eventually triggering the
BUG in pte_list_remove().
[invert direction of the conditional. - Paolo]
A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. When virtualized System Management Mode (SMM) is enabled, memory write tracking only checks the active memory slot rather than all address spaces sharing shadow pages. An attacker inside a guest virtual machine can exploit this flaw to induce memory tracking inconsistencies, triggering an internal kernel crash and causing a Denial of Service (DoS) on the host system.
Отчет
A moderate-impact denial-of-service flaw was found in the Linux kernel's KVM x86 memory management unit (MMU) as shipped in Red Hat Enterprise Linux 8, 9, and 10 (including the kernel-rt variants), Red Hat In-Vehicle OS, and the RHEL CoreOS-based nodes of OpenShift Container Platform 4. When virtualized System Management Mode (SMM) is enabled for a guest, kvm_gfn_is_write_tracked() checked only the memslot of the currently active address space, even though page write tracking is per-address-space and shadow pages are shared across address spaces. A guest-physical frame could therefore be write-tracked in one address space while appearing untracked through the other, allowing mmu_try_to_unsync_pages() to mark an upper-level shadow page unsync and eventually trigger the kernel BUG() in pte_list_remove(). An attacker with the ability to run code inside an SMM-enabled guest virtual machine could exploit this inconsistency to crash the host kernel, causing a denial of service on the host and all of its running virtual machines; confidentiality and integrity are not affected. Red Hat Enterprise Linux 6 and 7 are not affected because the vulnerable code is not present in those streams. Red Hat Product Security rates this flaw Moderate severity (CVSS 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), which is lower than the CVE.org rating of Important (7.1, a vector that includes high confidentiality impact); Red Hat's assessment reflects that the only established impact is a host kernel crash, with no information disclosure, privilege escalation, or memory corruption beyond the BUG assertion demonstrated. Because this is a denial-of-service-only issue whose exploitation requires a privileged guest with SMM enabled, fixes for the affected streams are currently deferred; the residual risk is that a malicious or compromised guest could crash an affected host, impacting the availability of that host and its virtual machines.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Check write tracking in all address spaces kvm_gfn_is_write_tracked() checks only the supplied memslot, but page tracking is per-address-space and shadow pages are shared across all address spaces. With SMM, a GFN can therefore be write-tracked in one address space and appear untracked through the other. Check the supplied slot first, then the slot for the other address space. This ensures all callers honor write tracking regardless of the active address space. In particular, it prevents mmu_try_to_unsync_pages() from marking an upper-level shadow page unsync and eventually triggering the BUG in pte_list_remove(). [invert direction of the conditional. - Paolo]
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Check write tracking in all address spaces kvm_gfn_is_write_tracked() checks only the supplied memslot, but page tracking is per-address-space and shadow pages are shared across all address spaces. With SMM, a GFN can therefore be write-tracked in one address space and appear untracked through the other. Check the supplied slot first, then the slot for the other address space. This ensures all callers honor write tracking regardless of the active address space. In particular, it prevents mmu_try_to_unsync_pages() from marking an upper-level shadow page unsync and eventually triggering the BUG in pte_list_remove(). [invert direction of the conditional. - Paolo]
KVM: x86/mmu: Check write tracking in all address spaces
In the Linux kernel, the following vulnerability has been resolved: K ...
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Check write tracking in all address spaces kvm_gfn_is_write_tracked() checks only the supplied memslot, but page tracking is per-address-space and shadow pages are shared across all address spaces. With SMM, a GFN can therefore be write-tracked in one address space and appear untracked through the other. Check the supplied slot first, then the slot for the other address space. This ensures all callers honor write tracking regardless of the active address space. In particular, it prevents mmu_try_to_unsync_pages() from marking an upper-level shadow page unsync and eventually triggering the BUG in pte_list_remove(). [invert direction of the conditional. - Paolo]
EPSS
5.5 Medium
CVSS3