Commit 4f2bdb3
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>1 parent 27f8f10 commit 4f2bdb3
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2199 | 2199 | | |
2200 | 2200 | | |
2201 | 2201 | | |
2202 | | - | |
2203 | | - | |
| 2202 | + | |
2204 | 2203 | | |
2205 | | - | |
2206 | 2204 | | |
2207 | 2205 | | |
2208 | 2206 | | |
2209 | 2207 | | |
2210 | 2208 | | |
| 2209 | + | |
2211 | 2210 | | |
2212 | 2211 | | |
2213 | 2212 | | |
| |||
0 commit comments