]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath11k: fix error path leaks in some WMI calls
authorNicolas Escande <nico.escande@gmail.com>
Wed, 6 May 2026 13:42:39 +0000 (15:42 +0200)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Tue, 12 May 2026 13:54:20 +0000 (06:54 -0700)
commitebad0b48996fd4919c36bbcb07289d37d046de74
tree43572beea5b81b1178b069f7fe182d036588519f
parent55dda532bbc261aef495e403c8900c5e2ab5fa34
wifi: ath11k: fix error path leaks in some WMI calls

This is the same pattern that was previously identified as problematic:
direct 'return ath11k_wmi_cmd_send(...)' will leak the skb in the error
path if it is not explicitly handled.

Fixes: c417b247ba04 ("ath11k: implement hardware data filter")
Fixes: 9cbd7fc9be82 ("ath11k: support MAC address randomization in scan")
Fixes: ba9177fcef21 ("ath11k: Add basic WoW functionalities")
Fixes: fec4b898f369 ("ath11k: Add WoW net-detect functionality")
Fixes: c3c36bfe998b ("ath11k: support ARP and NS offload")
Fixes: a16d9b50cfba ("ath11k: support GTK rekey offload")
Fixes: 652f69ed9c1b ("ath11k: Add support for SAR")
Fixes: 0f84a156aa3b ("ath11k: Handle keepalive during WoWLAN suspend and resume")
Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20260506134240.2284016-3-nico.escande@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath11k/wmi.c