Skip to content
Commit 09f8ca74 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Prevent overflow in largepages calculation



If userspace specifies a memory slot that is larger than 8 petabytes, it
could overflow the largepages variable.

Cc: stable@kernel.org
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent ac04527f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment