Re: [PATCH v2 01/21] fuse: Copy write buffer content before polling

2025-06-09 Thread Stefan Hajnoczi
On Wed, Jun 04, 2025 at 03:27:53PM +0200, Hanna Czenczek wrote: > aio_poll() in I/O functions can lead to nested read_from_fuse_export() > calls, overwriting the request buffer's content. The only function > affected by this is fuse_write(), which therefore must use a bounce > buffer or corruption

[PATCH v2 01/21] fuse: Copy write buffer content before polling

2025-06-04 Thread Hanna Czenczek
aio_poll() in I/O functions can lead to nested read_from_fuse_export() calls, overwriting the request buffer's content. The only function affected by this is fuse_write(), which therefore must use a bounce buffer or corruption may occur. Note that in addition we do not know whether libfuse-intern