commit | 47b228ce6f66830768eac145efa7746637969101 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Apr 29 11:46:48 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Apr 29 13:26:19 2021 -0600 |
tree | 8d46e98b3f2a6afb937ea18cae941c97f8154cb1 | |
parent | 6224843d56e0c29c0357e86b02b95801897c2caf [diff] |
io_uring: fix unchecked error in switch_start() io_rsrc_node_switch_start() can fail, don't forget to check returned error code. Reported-by: syzbot+a4715dd4b7c866136f79@syzkaller.appspotmail.com Fixes: eae071c9b4cef ("io_uring: prepare fixed rw for dynanic buffers") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/c4c06e2f3f0c8e43bd8d0a266c79055bcc6b6e60.1619693112.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>