diff options
author | Alexander Wetzel <alexander@wetzel-home.de> | 2023-01-24 15:18:56 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-02-14 11:51:07 +0100 |
commit | 015b8cc5e7c4d7bb671f1984d7b7338c310b185b (patch) | |
tree | 5e8b221e937c35172ed2b29ea6b220f36b9a99aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9a47c1ef5a95d1fd229ee5e375985f809a9d8177 (diff) |
wifi: cfg80211: Fix use after free for wext
Key information in wext.connect is not reset on (re)connect and can hold
data from a previous connection.
Reset key data to avoid that drivers or mac80211 incorrectly detect a
WEP connection request and access the freed or already reused memory.
Additionally optimize cfg80211_sme_connect() and avoid an useless
schedule of conn_work.
Fixes: fffd0934b939 ("cfg80211: rework key operation")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230124141856.356646-1-alexander@wetzel-home.de
Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions