summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.dtbinst
diff options
context:
space:
mode:
authorJunichi Nomura <j-nomura@ce.jp.nec.com>2015-10-14 07:02:15 +0200
committerJens Axboe <axboe@fb.com>2015-10-15 16:45:58 +0200
commitf42d79ab67322e51b92dd7aa965e310c71352a64 (patch)
tree33b6533d2b7c96502f73d34910bb0f34ec4e0bd7 /scripts/Makefile.dtbinst
parentnvme: fix 32-bit build warning (diff)
downloadlinux-f42d79ab67322e51b92dd7aa965e310c71352a64.tar.xz
linux-f42d79ab67322e51b92dd7aa965e310c71352a64.zip
blk-mq: fix use-after-free in blk_mq_free_tag_set()
tags is freed in blk_mq_free_rq_map() and should not be used after that. The problem doesn't manifest if CONFIG_CPUMASK_OFFSTACK is false because free_cpumask_var() is nop. tags->cpumask is allocated in blk_mq_init_tags() so it's natural to free cpumask in its counter part, blk_mq_free_tags(). Fixes: f26cdc8536ad ("blk-mq: Shared tag enhancements") Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Cc: Keith Busch <keith.busch@intel.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/Makefile.dtbinst')
0 files changed, 0 insertions, 0 deletions