diff options
author | Tetsuo Handa <[email protected]> | 2024-07-13 19:05:02 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-07-13 06:40:15 -0600 |
commit | ad00e629145b2b9f0d78aa46e204a9df7d628978 (patch) | |
tree | ad98f39fc977024e6dc5c504bc44f189baed7861 /tools/perf/scripts/python/parallel-perf.py | |
parent | 943ad0b62e3c21f324c4884caa6cb4a871bca05c (diff) |
io_uring/net: check socket is valid in io_bind()/io_listen()
We need to check that sock_from_file(req->file) != NULL.
Reported-by: syzbot <[email protected]>
Closes: https://syzkaller.appspot.com/bug?extid=1e811482aa2c70afa9a0
Fixes: 7481fd93fa0a ("io_uring: Introduce IORING_OP_BIND")
Fixes: ff140cc8628a ("io_uring: Introduce IORING_OP_LISTEN")
Signed-off-by: Tetsuo Handa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: move assignment of sock to where the NULL check is]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions