diff options
author | 2020-11-29 18:33:32 +0000 | |
---|---|---|
committer | 2020-11-30 11:12:03 -0700 | |
commit | 2d280bc8930ba9ed1705cfd548c6c8924949eaf1 (patch) | |
tree | ca26780dd333d3d3cd1193f38af32ed0a9ac0101 /drivers/usb/cdns3/cdns3-imx.c | |
parent | io_uring: fix files grab/cancel race (diff) | |
download | linux-dev-2d280bc8930ba9ed1705cfd548c6c8924949eaf1.tar.xz linux-dev-2d280bc8930ba9ed1705cfd548c6c8924949eaf1.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions