diff options
author | Alexander Wetzel <[email protected]> | 2023-01-24 15:18:56 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-02-14 11:51:07 +0100 |
commit | 015b8cc5e7c4d7bb671f1984d7b7338c310b185b (patch) | |
tree | 5e8b221e937c35172ed2b29ea6b220f36b9a99aa /tools/perf/scripts/python/flamegraph.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: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexander Wetzel <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions