Patch "wifi: ieee80211: don't require protected vendor action frames" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: ieee80211: don't require protected vendor action frames

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-ieee80211-don-t-require-protected-vendor-action.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit dad70659065731a236aa22154158f18313cbbaf0
Author: Johannes Berg <johannes.berg@xxxxxxxxx>
Date:   Wed Dec 6 22:37:57 2023 +0100

    wifi: ieee80211: don't require protected vendor action frames
    
    [ Upstream commit 98fb9b9680c9f3895ced02d6a73e27f5d7b5892b ]
    
    For vendor action frames, whether a protected one should be
    used or not is clearly up to the individual vendor and frame,
    so even though a protected dual is defined, it may not get
    used. Thus, don't require protection for vendor action frames
    when they're used in a connection.
    
    Since we obviously don't process frames unknown to the kernel
    in the kernel, it may makes sense to invert this list to have
    all the ones the kernel processes and knows to be requiring
    protection, but that'd be a different change.
    
    Fixes: 91535613b609 ("wifi: mac80211: don't drop all unprotected public action frames")
    Reported-by: Jouni Malinen <j@xxxxx>
    Link: https://msgid.link/20231206223801.f6a2cf4e67ec.Ifa6acc774bd67801d3dafb405278f297683187aa@changeid
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index b24fb80782c5a..2b0a73cb7cbb0 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -4381,7 +4381,8 @@ ieee80211_is_protected_dual_of_public_action(struct sk_buff *skb)
 		action != WLAN_PUB_ACTION_LOC_TRACK_NOTI &&
 		action != WLAN_PUB_ACTION_FTM_REQUEST &&
 		action != WLAN_PUB_ACTION_FTM_RESPONSE &&
-		action != WLAN_PUB_ACTION_FILS_DISCOVERY;
+		action != WLAN_PUB_ACTION_FILS_DISCOVERY &&
+		action != WLAN_PUB_ACTION_VENDOR_SPECIFIC;
 }
 
 /**




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux