diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-11-04 21:24:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-21 14:35:26 -0800 |
commit | 1b4f3a211878328065ee7ae79a380241bedaef5a (patch) | |
tree | 61643564605ee122f710ae68c7abe9d68006208c /lib/parser.c | |
parent | 14fa9e2f0916742bf436e84895a3523551d325f5 (diff) |
xen-gntalloc: integer overflow in gntalloc_ioctl_alloc()
commit 21643e69a4c06f7ef155fbc70e3fba13fba4a756 upstream.
On 32 bit systems a high value of op.count could lead to an integer
overflow in the kzalloc() and gref_ids would be smaller than
expected. If the you triggered another integer overflow in
"if (gref_size + op.count > limit)" then you'd probably get memory
corruption inside add_grefs().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions