diff options
author | 2020-06-29 13:13:03 +0300 | |
---|---|---|
committer | 2020-06-30 08:39:59 -0600 | |
commit | ecfc51777487da4da530710e0b13de4c8cb4a6d2 (patch) | |
tree | 60ebb91b5fb2e09fb274d9e0d8db2c47128029a6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | io_uring: kill REQ_F_TIMEOUT_NOSEQ (diff) | |
download | wireguard-linux-ecfc51777487da4da530710e0b13de4c8cb4a6d2.tar.xz wireguard-linux-ecfc51777487da4da530710e0b13de4c8cb4a6d2.zip |
io_uring: fix potential use after free on fallback request free
After __io_free_req() puts a ctx ref, it should be assumed that the ctx
may already be gone. However, it can be accessed when putting the
fallback req. Free the req first and then put the ctx.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions