aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorP Praneesh <quic_ppranees@quicinc.com>2025-04-16 07:49:03 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-04-17 15:49:34 -0700
commit763216fe6c5df95d122c71ef34c342427c987820 (patch)
tree6d668ed34db4cb60d46147707ae91c3f28a47c61 /tools/perf/scripts/python/export-to-postgresql.py
parentwifi: ath12k: fix invalid access to memory (diff)
downloadwireguard-linux-763216fe6c5df95d122c71ef34c342427c987820.tar.xz
wireguard-linux-763216fe6c5df95d122c71ef34c342427c987820.zip
wifi: ath12k: Add MSDU length validation for TKIP MIC error
In the WBM error path, while processing TKIP MIC errors, MSDU length is fetched from the hal_rx_desc's msdu_end. This MSDU length is directly passed to skb_put() without validation. In stress test scenarios, the WBM error ring may receive invalid descriptors, which could lead to an invalid MSDU length. To fix this, add a check to drop the skb when the calculated MSDU length is greater than the skb size. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") Signed-off-by: P Praneesh <quic_ppranees@quicinc.com> Signed-off-by: Nithyanantham Paramasivam <nithyanantham.paramasivam@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250416021903.3178962-1-nithyanantham.paramasivam@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions