Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] fix leaks in some WMI error path
@ 2026-05-06 13:42 Nicolas Escande
  2026-05-06 13:42 ` [PATCH v2 1/3] wifi: ath11k: fix error path leaks in some WMI WOW calls Nicolas Escande
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nicolas Escande @ 2026-05-06 13:42 UTC (permalink / raw)
  To: ath11k; +Cc: linux-wireless

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/20260422163258.3013872-1-nico.escande@gmail.com/

---
Changes from v1:
  - Added patch to also fix ath11k_tm_cmd_wmi_ftm() as per Rameshkumar's remark

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

 drivers/net/wireless/ath/ath11k/testmode.c |   1 +
 drivers/net/wireless/ath/ath11k/wmi.c      | 131 ++++++++++++++++++---
 2 files changed, 113 insertions(+), 19 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-11  4:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 13:42 [PATCH v2 0/3] fix leaks in some WMI error path Nicolas Escande
2026-05-06 13:42 ` [PATCH v2 1/3] wifi: ath11k: fix error path leaks in some WMI WOW calls Nicolas Escande
2026-05-06 13:42 ` [PATCH v2 2/3] wifi: ath11k: fix error path leaks in some WMI calls Nicolas Escande
2026-05-06 13:42 ` [PATCH v2 3/3] wifi: ath11k: fix error path leak in ath11k_tm_cmd_wmi_ftm() Nicolas Escande
2026-05-06 18:15   ` Rameshkumar Sundaram
2026-05-06 18:16 ` [PATCH v2 0/3] fix leaks in some WMI error path Rameshkumar Sundaram
2026-05-11  4:56 ` Baochen Qiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox