diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-06-24 14:40:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:13 +0200 |
commit | 79b97ce42c92251899e3202a2ffd55b883c937a3 (patch) | |
tree | b92b16a845a2dd1c855e7b70bdfcf6d990c6af62 /tools/perf/scripts/python/gecko.py | |
parent | f16769241594be59387b56ab525e327f54377e60 (diff) |
io_uring: don't assume uaddr alignment in io_vec_fill_bvec
commit e1d7727b73a1f78035316ac35ee184d477059f0b upstream.
There is no guaranteed alignment for user pointers. Don't use mask
trickery and adjust the offset by bv_offset.
Cc: stable@vger.kernel.org
Reported-by: David Hildenbrand <david@redhat.com>
Fixes: 9ef4cbbcb4ac3 ("io_uring: add infra for importing vectored reg buffers")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/io-uring/19530391f5c361a026ac9b401ff8e123bde55d98.1750771718.git.asml.silence@gmail.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions