[Linux-kernel-mentees] [PATCH] block: Fix use-after-free in bdev_del_partition()

Christoph Hellwig hch at lst.de
Thu Sep 3 06:59:50 UTC 2020

On Thu, Sep 03, 2020 at 02:55:34AM -0400, Peilin Ye wrote:
> In bdev_del_partition(), `part` is being looked up outside the critical
> section. This is causing bdev_del_partition() to delete the same partition
> more than once. Fix it by reverting commit cddae808aeb7.

We've already fix the problem properly:


More information about the Linux-kernel-mentees mailing list