summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/calling.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-10-04 16:45:13 +0200
committerAvi Kivity <avi@redhat.com>2009-10-04 17:04:16 +0200
commit6a54435560efdab1a08f429a954df4d6c740bddf (patch)
treef2141a331095cf2e7d3e1e5a14f2a7c264eaf923 /arch/x86/include/asm/calling.h
parenteb5109e311b5152c0614a28d7d615d087f268f19 (diff)
downloadkernel-crypto-6a54435560efdab1a08f429a954df4d6c740bddf.tar.gz
kernel-crypto-6a54435560efdab1a08f429a954df4d6c740bddf.tar.xz
kernel-crypto-6a54435560efdab1a08f429a954df4d6c740bddf.zip
KVM: Prevent overflow in KVM_GET_SUPPORTED_CPUID
The number of entries is multiplied by the entry size, which can overflow on 32-bit hosts. Bound the entry count instead. Reported-by: David Wagner <daw@cs.berkeley.edu> Cc: stable@kernel.org Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/calling.h')
0 files changed, 0 insertions, 0 deletions