Re: [PATCH v2] wifi: ath9k: reject short WMI command responses
From: Jeff Johnson
Date: Mon Sep 21 2026 - 14:15:09 EST
On Fri, 14 Aug 2026 15:58:37 +0800, Pengpeng Hou wrote:
> ath9k_wmi_rsp_callback() removes the validated WMI header and copies
> the number of bytes expected by the waiting command into its response
> buffer. A device response shorter than that expectation can therefore
> be read beyond the skb payload.
>
> Record -EMSGSIZE for a short response, complete the waiter, and return
> the stored status from the command path. This also prevents callers from
> consuming stale response bytes as a successful reply.
>
> [...]
Applied, thanks!
[1/1] wifi: ath9k: reject short WMI command responses
commit: 93ce8ea70451e800601bc9444aa33043de15d67b
Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>