aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2021-10-22 16:12:20 +0800
committerJens Axboe <[email protected]>2021-10-22 09:16:12 -0600
commit8bdf7b3fe1f48a2c1c212d4685903bba01409c0e (patch)
treeb61883643451dd4af6a15cc5e717c27eaec6f5a5 /net/unix/af_unix.c
parent297db731847e7808881ec2123c7564067d594d39 (diff)
blk-mq-sched: Don't reference queue tagset in blk_mq_sched_tags_teardown()
We should not reference the queue tagset in blk_mq_sched_tags_teardown() (see function comment) for the blk-mq flags, so use the passed flags instead. This solves a use-after-free, similarly fixed earlier (and since broken again) in commit f0c1c4d2864e ("blk-mq: fix use-after-free in blk_mq_exit_sched"). Reported-by: Linux Kernel Functional Testing <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Tested-by: Anders Roxell <[email protected]> Fixes: e155b0c238b2 ("blk-mq: Use shared tags for shared sbitmap support") Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions