Tools: hv: verify origin of netlink connector message
commitfd819bdaa91422cf6b568bb76c40d0e5d8fbddaf
authorOlaf Hering <olaf@aepfle.de>
Thu, 31 May 2012 14:40:06 +0000 (31 16:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 21:51:09 +0000 (13 14:51 -0700)
tree830af09bc73037833e0183678f2f4749757a46e8
parent7b3c1a8576716d825c73ac1739b2b3f0d7226dcf
Tools: hv: verify origin of netlink connector message

commit bcc2c9c3fff859e0eb019fe6fec26f9b8eba795c upstream.

The SuSE security team suggested to use recvfrom instead of recv to be
certain that the connector message is originated from kernel.

CVE-2012-2669

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Sebastian Krahmer <krahmer@suse.de>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/staging/hv/tools/hv_kvp_daemon.c