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

Markus Elfring
2020-06-05T08:30:47Z

> … 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