Skip to content
Commit 6b47ab81 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: use correct pointer for io_uring_show_cred()



Previous commit changed how we index the registered credentials, but
neglected to update one spot that is used when the personalities are
iterated through ->show_fdinfo(). Ensure we use the right struct type
for the iteration.

Reported-by: default avatar <syzbot+a6d494688cdb797bdfce@syzkaller.appspotmail.com>
Fixes: 1e6fa521 ("io_uring: COW io_identity on mismatch")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ef9865a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment