Re: [PATCH ath-next] wifi: ath12k: fix uaf in ath12k_core_init()

From: Jeff Johnson
Date: Sat Jun 07 2025 - 10:45:10 EST



On Wed, 04 Jun 2025 13:52:50 +0800, Miaoqing Pan wrote:
> When the execution of ath12k_core_hw_group_assign() or
> ath12k_core_hw_group_create() fails, the registered notifier chain is not
> unregistered properly. Its memory is freed after rmmod, which may trigger
> to a use-after-free (UAF) issue if there is a subsequent access to this
> notifier chain.
>
> Fixes the issue by calling ath12k_core_panic_notifier_unregister() in
> failure cases.
>
> [...]

Applied, thanks!

[1/1] wifi: ath12k: fix uaf in ath12k_core_init()
commit: f3fe49dbddd73f0155a8935af47cb63693069dbe

Best regards,
--
Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>