android_kernel_google_msm/tools/hv
Tomas Hozza 5fb9149b0e tools: hv: Netlink source address validation allows DoS
commit 95a69adab9 upstream.

The source code without this patch caused hypervkvpd to exit when it processed
a spoofed Netlink packet which has been sent from an untrusted local user.
Now Netlink messages with a non-zero nl_pid source address are ignored
and a warning is printed into the syslog.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Acked-by:  K. Y. Srinivasan <kys@microsoft.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-28 12:12:28 -07:00
..
hv_kvp_daemon.c tools: hv: Netlink source address validation allows DoS 2013-03-28 12:12:28 -07:00