Re: [PATCH] floppy: avoid NULL deref in reset_interrupt when cont is cleared
Yang Xiuwei <[email protected]>
| Newsgroups | org.kernel.vger.linux-block |
|---|---|
| Message-ID | <[email protected]> |
Hi Denis, On 24/07/2026 17:42, Denis Efremov (Oracle) wrote: > It looks to me that this check closes the exact reported crash, but it doesn't > fix the root cause of the problem. I think cont can be set here with a valid > but unrelated continuation while stale reset work is inside result(). We need > a more generic solution to close the bug here. Agreed, this patch only avoids the oops and does not fix the underlying lifetime issue. I went with the simple guard first as a minimal workaround for the crash we hit. I will look at a more complete fix for v2. Suggestions welcome if you have a preferred approach. Thanks, Yang Xiuwei