Skip to content

Fix ieee80211_tx_h_select_key() for 802.11 encaps offloading

Remi Pommarel linux-wireless lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key()net/mac80211/tx.c+6 -00 replies
2/2Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"net/mac80211/tx.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH wireless 0/2] Fix ieee80211_tx_h_select_key() for 802.11 encaps offloading

The fix in [0] introduces issue with mt7921 chips (at least), due to the 802.11 encapsulation offloading support of those chips. ieee80211_tx_h_select_key() treated 802.3 frames as if they were 802.11 ones causing the skb's control block hw_key to be invalid.

The first patch fixes the root cause of this issue and the second one reapplies the initial use after free fix that has been temporarly reverted meanwhile.

[0] https://lore.kernel.org/linux-wireless/06aa507b853ca385ceded81c18b0a6dd0f081bc8.1742833382.git.repk@triplefau.lt/

Remi Pommarel (2):
wifi: mac80211: Check 802.11 encaps offloading in

    ieee80211_tx_h_select_key()
  Reapply "wifi: mac80211: Update skb's control block key in
    ieee80211_tx_dequeue()"
 net/mac80211/tx.c | 7 +++++++
 1 file changed, 7 insertions(+)
Signature · 1 line
2.50.1