+4
−2
Loading
When support for vectored registered buffers was added, the import itself is using 'req' rather than the notification io_kiocb, sr->notif. For non-vectored imports, sr->notif is correctly used. This is important as the lifetime of the two may be different. Use the correct io_kiocb for the vectored buffer import. Cc: stable@vger.kernel.org Fixes: 23371eac ("io_uring/net: implement vectored reg bufs for zctx") Reported-by:Google Big Sleep <big-sleep-vuln-reports+bigsleep-463332873@google.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>