Messages in this thread | | | Subject | Re: [PATCH] nl80211: Check for the required netlink attribute presence | From | Johannes Berg <> | Date | Thu, 04 Jan 2018 16:09:01 +0100 |
| |
On Wed, 2018-01-03 at 11:00 +0800, Hao Chen wrote: > nl80211_nan_add_func() does not check if the required attribute > NL80211_NAN_FUNC_FOLLOW_UP_DEST is present when processing > NL80211_CMD_ADD_NAN_FUNCTION request. This request can be issued > by users with CAP_NET_ADMIN privilege and may result in NULL dereference > and a system crash. Add a check for the required attribute presence.
Applied, thanks.
johannes
| |