[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1515078541.10342.30.camel@sipsolutions.net>
Date: Thu, 04 Jan 2018 16:09:01 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Hao Chen <flank3rsky@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nl80211: Check for the required netlink attribute
presence
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
Powered by blists - more mailing lists