diff options
| author | Avi Kivity <[email protected]> | 2009-10-04 14:45:13 +0000 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2009-10-04 15:04:16 +0000 |
| commit | 6a54435560efdab1a08f429a954df4d6c740bddf (patch) | |
| tree | f2141a331095cf2e7d3e1e5a14f2a7c264eaf923 /lib/fault-inject.c | |
| parent | KVM: VMX: flush TLB with INVEPT on cpu migration (diff) | |
| download | kernel-6a54435560efdab1a08f429a954df4d6c740bddf.tar.gz kernel-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 <[email protected]>
Cc: [email protected]
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
