https://github.com/torvalds/linux
Revision 21643e69a4c06f7ef155fbc70e3fba13fba4a756 authored by Dan Carpenter on 04 November 2011, 18:24:08 UTC, committed by Konrad Rzeszutek Wilk on 16 November 2011, 17:13:47 UTC
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>
1 parent fc6e0c3
History
Tip revision: 21643e69a4c06f7ef155fbc70e3fba13fba4a756 authored by Dan Carpenter on 04 November 2011, 18:24:08 UTC
xen-gntalloc: integer overflow in gntalloc_ioctl_alloc()
Tip revision: 21643e6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 201.2 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top