aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIsrael Rukshin <[email protected]>2021-10-06 08:09:45 +0000
committerChristoph Hellwig <[email protected]>2021-10-20 19:16:00 +0200
commit2351ead99ce9164fb42555aee3f96af84c4839e9 (patch)
tree581d1195da678e3712e9920637d688c1cf05ee5f /tools/perf/scripts/python/check-perf-trace.py
parentfcf73a804c7d6bbf0ea63531c6122aa363852e04 (diff)
nvmet-tcp: fix use-after-free when a port is removed
When removing a port, all its controllers are being removed, but there are queues on the port that doesn't belong to any controller (during connection time). This causes a use-after-free bug for any command that dereferences req->port (like in nvmet_alloc_ctrl). Those queues should be destroyed before freeing the port via configfs. Destroy the remaining queues after the accept_work was cancelled guarantees that no new queue will be created. Signed-off-by: Israel Rukshin <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions