]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: drop MPDU which has discard flag set by firmware for SDIO
authorWen Gong <wgong@codeaurora.org>
Tue, 11 May 2021 18:02:55 +0000 (20:02 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 May 2021 18:15:36 +0000 (20:15 +0200)
commit0cef5bb863ad5db84b9da78b7fc12e112ed7e5f3
tree3f86d83ca9a958300d03e56d812108fbf02fd8b8
parent33eb8b9b98e548b9d7ac9b65a04f306b4704e1ec
ath10k: drop MPDU which has discard flag set by firmware for SDIO

When the discard flag is set by the firmware for an MPDU, it should be
dropped. This allows a mitigation for CVE-2020-24588 to be implemented
in the firmware.

Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049

Cc: stable@vger.kernel.org
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20210511200110.11968c725b5c.Idd166365ebea2771c0c0a38c78b5060750f90e17@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/rx_desc.h