aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorManish Dharanenthiran <quic_mdharane@quicinc.com>2025-02-11 14:33:02 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-02-28 11:53:14 -0800
commit9a0dddfb30f120db3851627935851d262e4e7acb (patch)
treeff86331f4c346e3f1af97c590ba5406002a6a2ad /tools/perf/scripts/python/flamegraph.py
parentwifi: ath12k: Report proper tx completion status to mac80211 (diff)
downloadlinux-9a0dddfb30f120db3851627935851d262e4e7acb.tar.gz
linux-9a0dddfb30f120db3851627935851d262e4e7acb.zip
wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi
In certain cases, hardware might provide packets with a length greater than the maximum native Wi-Fi header length. This can lead to accessing and modifying fields in the header within the ath12k_dp_rx_h_undecap_nwifi function for DP_RX_DECAP_TYPE_NATIVE_WIFI decap type and potentially resulting in invalid data access and memory corruption. Add a sanity check before processing the SKB to prevent invalid data access in the undecap native Wi-Fi function for the DP_RX_DECAP_TYPE_NATIVE_WIFI decap type. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Signed-off-by: Manish Dharanenthiran <quic_mdharane@quicinc.com> Signed-off-by: Tamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com> Link: https://patch.msgid.link/20250211090302.4105141-1-tamizh.raja@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions