diff options
| author | 2022-10-05 21:24:10 +0200 | |
|---|---|---|
| committer | 2022-10-10 09:51:25 +0200 | |
| commit | b2d03cabe2b2e150ff5a381731ea0355459be09f (patch) | |
| tree | b42273b943f6b90efd5f66511ace7b320464bdae /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | wifi: mac80211_hwsim: avoid mac80211 warning on bad rate (diff) | |
| download | linux-dev-b2d03cabe2b2e150ff5a381731ea0355459be09f.tar.xz linux-dev-b2d03cabe2b2e150ff5a381731ea0355459be09f.zip | |
wifi: mac80211: fix crash in beacon protection for P2P-device
If beacon protection is active but the beacon cannot be
decrypted or is otherwise malformed, we call the cfg80211
API to report this to userspace, but that uses a netdev
pointer, which isn't present for P2P-Device. Fix this to
call it only conditionally to ensure cfg80211 won't crash
in the case of P2P-Device.
This fixes CVE-2022-42722.
Reported-by: Sönke Huster <shuster@seemoo.tu-darmstadt.de>
Fixes: 9eaf183af741 ("mac80211: Report beacon protection failures to user space")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
