[PATCH v4] KVM: arm64: Reject guest_memfd memslots when the VM has MTE
Marc Zyngier
maz at kernel.org
Thu Jul 23 09:10:57 PDT 2026
On Wed, 22 Jul 2026 10:03:54 +0100, Alexandru Elisei wrote:
> The user cannot use MTE on VMAs created by mapping a guest_memfd file,
> as arch_calc_vm_flag_bits() does not set VM_MTE_ALLOWED.
>
> When creating a guest_memfd backed memslot,
> kvm_arch_prepare_memory_region() rejects the memslot if MTE is enabled for
> the VM and if guest_memfd has been mapped in a VMA that intersects the
> memslot.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Reject guest_memfd memslots when the VM has MTE
commit: 679d7201c1f09e37fa1c12ce28d84079c17fc87f
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list