Files
kernel_arpi/include/linux
Christoph Hellwig a31edb2059 net: improve the user pointer check in init_user_sockptr
Make sure not just the pointer itself but the whole range lies in
the user address space.  For that pass the length and then use
the access_ok helper to do the check.

Fixes: 6d04fe15f7 ("net: optimize the sockptr_t for unified kernel/user address spaces")
Reported-by: David Laight <David.Laight@ACULAB.COM>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-28 13:43:40 -07:00
..
2020-07-28 02:37:26 -07:00
2020-06-25 22:25:13 -07:00
2020-07-04 09:35:43 -05:00
2020-07-08 10:48:35 -07:00
2020-07-21 13:26:26 -07:00
2020-06-25 08:24:32 -07:00
2020-06-09 09:39:13 -07:00
2020-07-24 17:12:41 -07:00
2020-07-24 17:12:41 -07:00
2020-07-24 15:41:54 -07:00
2020-07-04 09:35:36 -05:00
2020-07-07 11:58:59 -05:00
2020-06-26 00:27:38 -07:00