[PATCH v2] wifi: ath11k: fix writing to unintended memory region

Kalle Valo kvalo at kernel.org
Wed Apr 12 03:01:02 PDT 2023


P Praneesh <quic_ppranees at quicinc.com> wrote:

> While initializing spectral, the magic value is getting written to the
> invalid memory address leading to random boot-up crash. This occurs
> due to the incorrect index increment in ath11k_dbring_fill_magic_value
> function. Fix it by replacing the existing logic with memset32 to ensure
> there is no invalid memory access.
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01838-QCAHKSWPL_SILICONZ-1
> 
> Fixes: d3d358efc553 ("ath11k: add spectral/CFR buffer validation support")
> Signed-off-by: P Praneesh <quic_ppranees at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

756a7f90878f wifi: ath11k: fix writing to unintended memory region

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230321052900.16895-1-quic_ppranees@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list