Al Viro
8920e8f94c
[PATCH] Fix 32bit sendmsg() flaw
...
When we copy 32bit ->msg_control contents to kernel, we walk the same
userland data twice without sanity checks on the second pass.
Second version of this patch: the original broke with 64-bit arches
running 32-bit-compat-mode executables doing sendmsg() syscalls with
unaligned CMSG data areas
Another thing is that we use kmalloc() to allocate and sock_kfree_s()
to free afterwards; less serious, but also needs fixing.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-08 08:14:11 -07:00
..
2005-08-29 15:58:24 -07:00
2005-09-05 18:08:11 -07:00
2005-08-29 15:41:54 -07:00
2005-04-24 20:10:16 -07:00
2005-08-29 15:31:18 -07:00
2005-05-19 12:42:39 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2005-09-06 15:49:39 -07:00
2005-04-16 15:20:36 -07:00
2005-09-08 08:14:11 -07:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:41:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-19 20:46:37 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-05-12 22:48:20 -04:00
2005-08-28 19:23:07 -04:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:57:29 -07:00
2005-08-29 15:38:39 -07:00
2005-08-29 22:51:28 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:49:24 -07:00
2005-08-29 15:55:58 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 13:51:04 -07:00
2005-08-29 15:41:54 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00
2005-09-01 17:40:26 -07:00
2005-08-29 16:01:39 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00
2005-09-06 22:40:24 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:58:24 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:33:26 -07:00
2005-07-05 14:15:09 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:37:22 -07:00
2005-08-29 15:49:50 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-07-05 14:15:09 -07:00
2005-04-16 15:20:36 -07:00
2005-07-05 15:12:04 -07:00
2005-06-21 18:46:13 -07:00
2005-09-05 18:14:11 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:43:19 -07:00
2005-08-29 15:41:54 -07:00
2005-09-01 22:47:01 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2005-08-29 15:33:26 -07:00
2005-08-29 15:33:20 -07:00