diff options
author | Hao Chen <flank3rsky@gmail.com> | 2018-01-03 06:00:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-03 12:23:26 +0300 |
commit | 4ec2b1ca93d8cd1b1ea7cc6fd4eb5c5a362e127e (patch) | |
tree | a6c86b61aa8936a396ac4d6dd19597ace6360935 /REPORTING-BUGS | |
parent | cd80cb0be131daee2f9fd7862de52fa430f01370 (diff) | |
download | linux-4ec2b1ca93d8cd1b1ea7cc6fd4eb5c5a362e127e.tar.xz |
nl80211: Check for the required netlink attribute presence
[ Upstream commit 3ea15452ee85754f70f3b9fa1f23165ef2e77ba7 ]
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.
Signed-off-by: Hao Chen <flank3rsky@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions