All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless 0/2] Fix ieee80211_tx_h_select_key() for 802.11 encaps offloading
@ 2025-07-17 15:45 Remi Pommarel
  2025-07-17 15:45 ` [PATCH wireless 1/2] wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key() Remi Pommarel
  2025-07-17 15:45 ` [PATCH wireless 2/2] Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()" Remi Pommarel
  0 siblings, 2 replies; 3+ messages in thread
From: Remi Pommarel @ 2025-07-17 15:45 UTC (permalink / raw)
  To: linux-wireless, linux-kernel
  Cc: Johannes Berg, Toke Høiland-Jørgensen, Remi Pommarel

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(+)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-17 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-17 15:45 [PATCH wireless 0/2] Fix ieee80211_tx_h_select_key() for 802.11 encaps offloading Remi Pommarel
2025-07-17 15:45 ` [PATCH wireless 1/2] wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key() Remi Pommarel
2025-07-17 15:45 ` [PATCH wireless 2/2] Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()" Remi Pommarel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.