Paolo Bonzini 8d2aec3b2d KVM: x86: use u64_to_user_ptr()
There is no danger to the kernel if 32-bit userspace provides a 64-bit
value that has the high bits set, but for whatever reason happens to
resolve to an address that has something mapped there.  KVM uses the
checked version of get_user() and put_user(), so any faults are caught
properly.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240404121327.3107131-4-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-04-11 13:08:22 -04:00
..
2024-03-21 14:41:00 -07:00
2024-03-23 09:17:03 -07:00
2024-03-21 14:41:00 -07:00
2024-03-22 10:22:45 -07:00
2024-03-21 12:44:10 -07:00
2024-03-15 13:03:13 -07:00
2024-03-14 15:53:10 -07:00
2024-03-21 14:41:00 -07:00
2024-03-23 09:21:26 -07:00
2024-03-21 10:13:47 -07:00
2024-03-15 12:37:59 -07:00
2024-04-11 13:08:22 -04:00
2024-03-23 08:43:21 -07:00