diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-03-16 08:43:36 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-03-25 15:23:06 +0100 |
commit | 4f2bdb3c5e3189297e156b3ff84b140423d64685 (patch) | |
tree | 771f4636aca1edd9b152df451846a5a2d7bd1455 /include/net/cfg80211.h | |
parent | wifi: mac80211: fix mlme_link_id_dbg() (diff) | |
download | linux-4f2bdb3c5e3189297e156b3ff84b140423d64685.tar.xz linux-4f2bdb3c5e3189297e156b3ff84b140423d64685.zip |
wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
When moving a station out of a VLAN and deleting the VLAN afterwards, the
fast_rx entry still holds a pointer to the VLAN's netdev, which can cause
use-after-free bugs. Fix this by immediately calling ieee80211_check_fast_rx
after the VLAN change.
Cc: stable@vger.kernel.org
Reported-by: ranygh@riseup.net
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://msgid.link/20240316074336.40442-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
0 files changed, 0 insertions, 0 deletions