aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2011-11-04 18:24:08 +0000
committerKonrad Rzeszutek Wilk <[email protected]>2011-11-16 17:13:47 +0000
commit21643e69a4c06f7ef155fbc70e3fba13fba4a756 (patch)
tree8ab4fce440977edd5508abed992022674dec9d77 /lib/debugobjects.c
parentxen-gntdev: integer overflow in gntdev_alloc_map() (diff)
downloadkernel-21643e69a4c06f7ef155fbc70e3fba13fba4a756.tar.gz
kernel-21643e69a4c06f7ef155fbc70e3fba13fba4a756.zip
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: [email protected] Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions