diff options
author | Pavel Begunkov <[email protected]> | 2021-03-19 10:21:19 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-03-22 07:41:03 -0600 |
commit | d81269fecb8ce16eb07efafc9ff5520b2a31c486 (patch) | |
tree | 7ad32ba346e62c544201ee8d4059e5c3a8af6d5d /scripts/gdb/linux | |
parent | b65c128f963df367a8adcfb08f5ecf8721052723 (diff) |
io_uring: fix provide_buffers sign extension
io_provide_buffers_prep()'s "p->len * p->nbufs" to sign extension
problems. Not a huge problem as it's only used for access_ok() and
increases the checked length, but better to keep typing right.
Reported-by: Colin Ian King <[email protected]>
Fixes: efe68c1ca8f49 ("io_uring: validate the full range of provided buffers for access")
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/562376a39509e260d8532186a06226e56eb1f594.1616149233.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions