[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y/U+w7aMc+BttZwl@google.com>
Date: Tue, 21 Feb 2023 13:59:31 -0800
From: Brian Norris <briannorris@...omium.org>
To: Zheng Wang <zyytlz.wz@....com>
Cc: ganapathi017@...il.com, alex000young@...il.com,
amitkarwar@...il.com, sharvari.harisangam@....com,
huxinming820@...il.com, kvalo@...nel.org, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mwifiex: Fix use-after-free bug due to race condition
between main thread thread and timer thread
On Sat, Feb 18, 2023 at 03:59:56PM +0800, Zheng Wang wrote:
> Note that, this bug is found by static analysis, it could be wrong. We
> could discuss that before writing the fix.
Yeah, please don't accept this patch. It deserves an "RFC" in the title
at best. Sure, it's an identified race condition, but the cure here
(deleting all possible recovery from firmware crashes) is worse than the
disease.
There's no real attempt at analyzing the race or providing solutions, so
there's not much to discuss yet.
Brian
Powered by blists - more mailing lists