io_uring/zctx: check chained notif contexts
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 14 Aug 2025 14:40:57 +0000 (15:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 19:03:13 +0000 (13:03 -0600)
commitaad1370a6125e1f676c18aabc2e819348e65c25a
tree381d92a86d6e012e78e1196ed6e4d8c539ad5872
parenteb7d5ca9f9b9a5e6b1ebb6a7f1982e498a347cbd
io_uring/zctx: check chained notif contexts

Send zc only links ubuf_info for requests coming from the same context.
There are some ambiguous syz reports, so let's check the assumption on
notification completion.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/fd527d8638203fe0f1c5ff06ff2e1d8fd68f831b.1755179962.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/notif.c