Tools: hv: verify origin of netlink connector message
authorOlaf Hering <olaf@aepfle.de>
Thu, 31 May 2012 14:40:06 +0000 (16:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:29:46 +0000 (00:29 +0900)
commitbcc2c9c3fff859e0eb019fe6fec26f9b8eba795c
tree7526735de80c573a3319a0f8d0fa6972aad48a59
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
Tools: hv: verify origin of netlink connector message

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c