Re: [PATCH v5 2/3] fuse: bound io-uring payload copies to the registered buffer size

From: Miklos Szeredi

Date: Tue Aug 18 2026 - 08:31:01 EST


On Tue, 28 Jul 2026 at 01:37, Xiang Mei <xmei5@xxxxxxx> wrote:

> Store the registered payload length (payload->iov_len) in the ring entry
> and use it for the import and both bounds checks, so the buffer the
> server provided is honoured and an oversized reply/request is rejected
> (-EINVAL for a reply, and -E2BIG/-EIO for a request, matching
> fuse_dev_do_read()) instead of panicking.

Can you please update this on latest fuse.git#for-next? It looks like
some of the checks are already added by Joanne's patches.

Thanks,
Miklos