summaryrefslogtreecommitdiff
path: root/include/linux/padata.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-11-04 22:24:08 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-11-16 21:13:47 +0400
commit21643e69a4c06f7ef155fbc70e3fba13fba4a756 (patch)
tree8ab4fce440977edd5508abed992022674dec9d77 /include/linux/padata.h
parentfc6e0c3b909157748ce1c0c0f2a9935a5ee3c812 (diff)
downloadlinux-21643e69a4c06f7ef155fbc70e3fba13fba4a756.tar.xz
xen-gntalloc: integer overflow in gntalloc_ioctl_alloc()
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(). CC: stable@kernel.org Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/linux/padata.h')
0 files changed, 0 insertions, 0 deletions