[PATCH] wifi: ath11k: fix refcount leak in ath11k_ahb_fw_resources_init()
Rameshkumar Sundaram
rameshkumar.sundaram at oss.qualcomm.com
Tue Jun 9 04:00:44 PDT 2026
On 6/9/2026 2:55 PM, Wentao Liang wrote:
> of_get_child_by_name() returns a node pointer with refcount
> incremented, but the error path when ath11k_ahb_setup_msa_resources()
> fails does not release it. Add the missing of_node_put() to avoid
> leaking the reference.
>
> Cc: stable at vger.kernel.org
> Fixes: 095cb947490c ("wifi: ath11k: allow missing memory-regions")
> Signed-off-by: Wentao Liang <vulab at iscas.ac.cn>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram at oss.qualcomm.com>
More information about the ath11k
mailing list