diff options
author | 2025-04-08 10:23:27 +0530 | |
---|---|---|
committer | 2025-04-17 15:49:34 -0700 | |
commit | 9f17747fbda6fca934854463873c4abf8061491d (patch) | |
tree | 5edd1e16705cd16c8861fbb17b782a2ef3e07461 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: ath12k: correctly handle mcast packets for clients (diff) | |
download | wireguard-linux-9f17747fbda6fca934854463873c4abf8061491d.tar.xz wireguard-linux-9f17747fbda6fca934854463873c4abf8061491d.zip |
wifi: ath12k: fix invalid access to memory
In ath12k_dp_rx_msdu_coalesce(), rxcb is fetched from skb and boolean
is_continuation is part of rxcb.
Currently, after freeing the skb, the rxcb->is_continuation accessed
again which is wrong since the memory is already freed.
This might lead use-after-free error.
Hence, fix by locally defining bool is_continuation from rxcb,
so that after freeing skb, is_continuation can be used.
Compile tested only.
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Sarika Sharma <quic_sarishar@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250408045327.1632222-1-quic_sarishar@quicinc.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