Files
linux/mm
Dan Carpenter 4b408c74ee mm/gup_benchmark.c: prevent integer overflow in ioctl
The concern here is that "gup->size" is a u64 and "nr_pages" is unsigned
long.  On 32 bit systems we could trick the kernel into allocating fewer
pages than expected.

Link: http://lkml.kernel.org/r/[email protected]
Fixes: 64c349f4ae ("mm: add infrastructure for get_user_pages_fast() benchmarking")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Keith Busch <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: YueHaibing <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2018-10-31 08:54:12 -07:00
..
…
…
2018-10-21 10:46:48 -04:00
…
2018-09-29 22:47:49 -04:00
…
…
2018-06-07 17:34:36 -07:00
2018-10-21 10:46:41 -04:00
2018-10-26 16:38:15 -07:00
2018-10-21 10:46:37 -04:00
2018-10-26 16:26:33 -07:00
2018-10-26 16:26:33 -07:00
2018-05-11 17:28:45 -07:00
2018-02-06 18:32:48 -08:00