Re: [PATCH v2] block: Fix use-after-free in blkdev_get()

From: Markus Elfring
Date: Fri Jun 05 2020 - 04:30:49 EST


> â released the refcount of the bdev (actually the refcount of
> the bdev inode).

Wording adjustments:
â released the reference count of the block device inode.


> â access bdev after â

â access block device after â


> accually bdev is â

bdev is â


> â This may leads to use-after-free if the refcount is â

â This results in an use after free if the reference count â


> following scenerio:

following scenario:


Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus