[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190528124355.5D9D960F38@smtp.codeaurora.org>
Date: Tue, 28 May 2019 12:43:55 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: davem@...emloft.net, colin.king@...onical.com,
yuehaibing@...wei.com, linux-wireless@...r.kernel.org,
b43-dev@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Jia-Ju Bai <baijiaju1990@...il.com>
Subject: Re: [PATCH] b43: Avoid possible double calls to b43_one_core_detach()
Jia-Ju Bai <baijiaju1990@...il.com> wrote:
> In b43_request_firmware(), when ieee80211_register_hw() fails,
> b43_one_core_detach() is called. In b43_bcma_remove() and
> b43_ssb_remove(), b43_one_core_detach() is called again. In this case,
> null-pointer dereferences and double-free problems can occur when
> the driver is removed.
>
> To fix this bug, the call to b43_one_core_detach() in
> b43_request_firmware() is deleted.
>
> This bug is found by a runtime fuzzing tool named FIZZER written by us.
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@...il.com>
Patch applied to wireless-drivers-next.git, thanks.
ec2e93cf1910 b43: Avoid possible double calls to b43_one_core_detach()
--
https://patchwork.kernel.org/patch/10929623/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists