Skip to content

fix leaks in some WMI error path

Nicolas Escande ath12k linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: ath11k: fix error path leaks in some WMI WOW callsdrivers/net/wireless/ath/ath11k/wmi.c+16 -30 replies
2/2wifi: ath11k: fix error path leaks in some WMI callsdrivers/net/wireless/ath/ath11k/wmi.c+96 -160 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBaochen Qiang
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH ath 0/2] fix leaks in some WMI error path

So this is similar work to what has been posted here [0] for ath12k.

When we use the pattern 'return ath11k_wmi_cmd_send(...)' without explicitly checking the return value we fail to free the allocated skb.

This has been split into 2 patches per Jeff's guidance to hopefully ease the backporting process.

[0] https://lore.kernel.org/linux-wireless/[email protected]/

Nicolas Escande (2):
wifi: ath11k: fix leak in error path of some WOW related WMI commands
wifi: ath11k: fix error path leaks in some WMI calls

 drivers/net/wireless/ath/ath11k/wmi.c | 131 ++++++++++++++++++++++----
 1 file changed, 112 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0