diff options
author | Ming Lei <[email protected]> | 2021-05-11 23:22:36 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-05-24 06:47:22 -0600 |
commit | 364b61818f65045479e42e76ed8dd6f051778280 (patch) | |
tree | 0457d1bbba7f4e9f8d0077974c580b84b7d3d2bf /scripts/gdb/linux/tasks.py | |
parent | bd63141d585bef14f4caf111f6d0e27fe2300ec6 (diff) |
blk-mq: clearing flush request reference in tags->rqs[]
Before we free request queue, clearing flush request reference in
tags->rqs[], so that potential UAF can be avoided.
Based on one patch written by David Jeffery.
Tested-by: John Garry <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: David Jeffery <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions