Re: [PATCH v3] loop: Fix NULL pointer dereference in lo_rw_aio()
From: Christoph Hellwig
Date: Thu May 28 2026 - 04:44:17 EST
On Thu, May 28, 2026 at 03:11:05AM +0900, Damien Le Moal wrote:
> It sounds like the VFS unmount call needs to have something that waits for
> sync() to complete. Though, it really feels very strange that an FS can complete
I don't think this is the VFS-controlled VFS file data writeback, which
we wait on, but some kind of fs controlled metadata. And yes, it looks
like those file systems are buggy in that area. We definitively had
such bugs in XFS before and fixed them.
e.g. 9c7504aa72b6 ("xfs: track and serialize in-flight async buffers against
unmount")