android_kernel_xiaomi_sm8350/net/netlink
Martin Murray ad8e4b75c8 [AF_NETLINK]: Fix DoS in netlink_rcv_skb()
From: Martin Murray <murrayma@citi.umich.edu>

Sanity check nlmsg_len during netlink_rcv_skb.  An nlmsg_len == 0 can
cause infinite loop in kernel, effectively DoSing machine.  Noted by
Matin Murray.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-01-10 13:02:29 -08:00
..
af_netlink.c [AF_NETLINK]: Fix DoS in netlink_rcv_skb() 2006-01-10 13:02:29 -08:00
attr.c [NETLINK]: Type-safe netlink messages/attributes interface 2005-11-10 02:26:40 +01:00
genetlink.c [NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8 2006-01-03 14:13:29 -08:00
Makefile [NETLINK]: Generic netlink family 2005-11-10 02:26:41 +01:00