diff options
author | Vladis Dronov <[email protected]> | 2017-09-13 00:21:21 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2017-09-15 09:15:14 +0200 |
commit | e785fa0a164aa11001cba931367c7f94ffaff888 (patch) | |
tree | d64e0f5109be36bb948ceae6cea57b0851423293 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 126f760ca94dae77425695f9f9238b731de86e32 (diff) |
nl80211: check for the required netlink attributes presence
nl80211_set_rekey_data() does not check if the required attributes
NL80211_REKEY_DATA_{REPLAY_CTR,KEK,KCK} are present when processing
NL80211_CMD_SET_REKEY_OFFLOAD 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 attributes presence.
This patch is based on the patch by bo Zhang.
This fixes CVE-2017-12153.
References: https://bugzilla.redhat.com/show_bug.cgi?id=1491046
Fixes: e5497d766ad ("cfg80211/nl80211: support GTK rekey offload")
Cc: <[email protected]> # v3.1-rc1
Reported-by: bo Zhang <[email protected]>
Signed-off-by: Vladis Dronov <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions