From: Paul Kot Date: Sat, 10 Dec 2011 14:28:34 +0000 (+0100) Subject: batman-adv: bat_socket_read missing checks X-Git-Tag: v3.2.41~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83257435faca1827b17e7e6e1766f9c0c216595d;p=pandora-kernel.git batman-adv: bat_socket_read missing checks commit c00b6856fc642b234895cfabd15b289e76726430 upstream. Writing a icmp_packet_rr and then reading icmp_packet can lead to kernel memory corruption, if __user *buf is just below TASK_SIZE. Signed-off-by: Paul Kot [sven@narfation.org: made it checkpatch clean] Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed