summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJackie Liu <liuyun01@kylinos.cn>2019-09-18 05:37:53 +0300
committerJens Axboe <axboe@kernel.dk>2019-09-18 20:19:06 +0300
commit5f5ad9ced33621d353be6429c3900f8a526fcae8 (patch)
tree61705cf47d7f410ec0ef56c550c12462e92a9d60 /scripts/gdb/linux/utils.py
parent954dab193d19cbbff8f83b58c9360bf00ddb273c (diff)
downloadlinux-5f5ad9ced33621d353be6429c3900f8a526fcae8.tar.xz
io_uring: fix use-after-free of shadow_req
There is a potential dangling pointer problem. we never clean shadow_req, if there are multiple link lists in this series of sqes, then the shadow_req will not reallocate, and continue to use the last one. but in the previous, his memory has been released, thus forming a dangling pointer. let's clean up him and make sure that every new link list can reapply for a new shadow_req. Fixes: 4fe2c963154c ("io_uring: add support for link with drain") Signed-off-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions