diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-11-29 18:33:32 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-30 11:12:03 -0700 |
commit | 2d280bc8930ba9ed1705cfd548c6c8924949eaf1 (patch) | |
tree | ca26780dd333d3d3cd1193f38af32ed0a9ac0101 /Makefile | |
parent | af60470347de6ac2b9f0cc3703975a543a3de075 (diff) | |
download | linux-2d280bc8930ba9ed1705cfd548c6c8924949eaf1.tar.bz2 |
io_uring: fix recvmsg setup with compat buf-select
__io_compat_recvmsg_copy_hdr() with REQ_F_BUFFER_SELECT reads out iov
len but never assigns it to iov/fast_iov, leaving sr->len with garbage.
Hopefully, following io_buffer_select() truncates it to the selected
buffer size, but the value is still may be under what was specified.
Cc: <stable@vger.kernel.org> # 5.7
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions