diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-10-11 01:59:57 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-12 16:30:56 -0600 |
commit | 00927931cb630bbf8edb6d7f4dadb25139fc5e16 (patch) | |
tree | c3a95eb972c21540746920ab5263a92057c81525 /net/unix | |
parent | c86416c6ff5ba7f7e5f3ff1dd8a9d1b3d0be827c (diff) | |
download | linux-00927931cb630bbf8edb6d7f4dadb25139fc5e16.tar.bz2 |
io_uring: fix fdinfo sqe offsets calculation
Only with the big sqe feature they take 128 bytes per entry, but we
unconditionally advance by 128B. Fix it by using sq_shift.
Fixes: 3b8fdd1dc35e3 ("io_uring/fdinfo: fix sqe dumping for IORING_SETUP_SQE128")
Reported-and-tested-by: syzbot+e5198737e8a2d23d958c@syzkaller.appspotmail.com
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/8b41287cb75d5efb8fcb5cccde845ddbbadd8372.1665449983.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions