Re: [PATCH ath-next 1/3] wifi: wcn36xx: set RX decryption flags only on encrypted data frames
From: Loic Poulain
Date: Tue Dec 01 2026 - 03:48:24 EST
Hi Vladimir,
On Mon, Nov 30, 2026 at 11:53 PM Vladimir Bely <vlwwwwww@xxxxxxxxx> wrote:
>
> Hi Loic,
>
> On Mon, Nov 30, 2026 at 09:59:58AM +0100, Loic Poulain wrote:
> > Does this cause any user-visible issues, such as connection problems?
> > Should we consider it for stable, with a Fixes tag.
>
> Without MFP (patch 3/3), it does not cause visible connection problems
> on standard WPA2-PSK/Open networks -- 4-way handshake EAPOL frames still
> pass through even when falsely marked RX_FLAG_DECRYPTED.
>
> However, it is a real security issue on current kernels: because
> RX_FLAG_DECRYPTED is always set, mac80211 skips the plaintext checks in
> ieee80211_drop_unencrypted() and ieee80211_drop_unencrypted_mgmt() even
> when a key is installed, so injected unencrypted data (or unprotected
> dual-action management) frames would not be dropped. Once MFP is enabled
> in patch 3/3, it also breaks software decryption of robust management
> frames.
>
> So yes, it seems worth backporting to stable with:
> Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware")
> Cc: stable@xxxxxxxxxxxxxxx
>
> Would you prefer that I add those tags to patch 1/3 in v2 of this
> ath-next series, or send patch 1/3 separately targeting ath-current?
Adding the tags to 1/3 in v2 is fine.
Thanks,
Loic