aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-gimple-pass.h
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2018-06-09 06:37:14 -0600
committerJens Axboe <[email protected]>2018-06-09 06:37:14 -0600
commit190b02ed79e08983bf62d47c05945c1b06a3d7d5 (patch)
tree7b1d6db69efaf3ccb7d888d7cdfa1ccb59798178 /scripts/gcc-plugins/gcc-generate-gimple-pass.h
parent77016199f11eacd7b23e2faeb4d0f36166e3530b (diff)
block: fix use-after-free in block flush handling
A recent commit reused the original request flags for the flush queue handling. However, for some of the kick flush cases, the original request was already completed. This caused a use after free, if blk-mq wasn't used. Fixes: 84fca1b0c461 ("block: pass failfast and driver-specific flags to flush requests") Reported-by: Dmitry Vyukov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions