Re: [PATCH ath-next] wifi: ath12k: Avoid buffer overread in ath12k_wmi_op_rx()
From: Jeff Johnson
Date: Tue Jul 21 2026 - 16:44:59 EST
On Thu, 16 Jul 2026 13:01:11 -0700, Jeff Johnson wrote:
> Currently, in ath12k_wmi_op_rx(), the firmware buffer is read without
> first verifying that the buffer has enough data to hold a header. This
> could result in a buffer overread.
>
> Update the logic to verify the buffer contains at least enough data to
> hold a wmi_cmd_hdr before reading from the buffer.
>
> [...]
Applied, thanks!
[1/1] wifi: ath12k: Avoid buffer overread in ath12k_wmi_op_rx()
commit: 485884f0fac28c8281fa66bc2c359d06e6747543
Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>