summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-rockchip.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-01 12:59:41 +0300
committerJens Axboe <axboe@kernel.dk>2020-09-01 17:35:35 +0300
commit08fc1ab6d748ab1a690fd483f41e2938984ce353 (patch)
tree7e141849aad3fc830215030bb9cf0cbe081a80f1 /drivers/clocksource/timer-rockchip.c
parentcafe01ef8fcb248583038e1be071383530fe355a (diff)
downloadlinux-08fc1ab6d748ab1a690fd483f41e2938984ce353.tar.xz
block: fix locking in bdev_del_partition
We need to hold the whole device bd_mutex to protect against other thread concurrently deleting out partition before we get to it, and thus causing a use after free. Fixes: cddae808aeb7 ("block: pass a hd_struct to delete_partition") Reported-by: syzbot+6448f3c229bc52b82f69@syzkaller.appspotmail.com Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/clocksource/timer-rockchip.c')
0 files changed, 0 insertions, 0 deletions