summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKarthikeyan Kathirvel <quic_kathirve@quicinc.com>2025-05-26 09:17:13 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-06-23 07:28:33 -0700
commit7c0884fcd2ddde0544d2e77f297ae461e1f53f58 (patch)
tree58e0834746a1d088b0997e1a14dd0bd19c1c4c0c /net/unix/af_unix.c
parent359d69285adc4f4a6a4bdafac30f3bd917873bbc (diff)
wifi: ath12k: Decrement TID on RX peer frag setup error handling
Currently, TID is not decremented before peer cleanup, during error handling path of ath12k_dp_rx_peer_frag_setup(). This could lead to out-of-bounds access in peer->rx_tid[]. Hence, add a decrement operation for TID, before peer cleanup to ensures proper cleanup and prevents out-of-bounds access issues when the RX peer frag setup fails. Found during code review. Compile tested only. Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com> Signed-off-by: Sarika Sharma <quic_sarishar@quicinc.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250526034713.712592-1-quic_sarishar@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions