kernel_samsung_a53x/arch/x86/kvm/mmu
Paolo Bonzini e4cf6b17e6 KVM: use __vcalloc for very large allocations
commit 37b2a6510a48ca361ced679f92682b7b7d7d0330 upstream.

Allocations whose size is related to the memslot size can be arbitrarily
large.  Do not use kvzalloc/kvcalloc, as those are limited to "not crazy"
sizes that fit in 32 bits.

Cc: stable@vger.kernel.org
Fixes: 7661809d493b ("mm: don't allow oversized kvmalloc() calls")
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Ofitserov <oficerovas@altlinux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:59 +01:00
..
mmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmu_audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmu_internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmutrace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
page_track.c KVM: use __vcalloc for very large allocations 2024-11-18 12:12:59 +01:00
paging.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
paging_tmpl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spte.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spte.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tdp_iter.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tdp_iter.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tdp_mmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tdp_mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00