linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2] block: Fix use-after-free in blkdev_get()
@ 2020-06-05  8:30 Markus Elfring
  2020-06-05  9:05 ` Jason Yan
  0 siblings, 1 reply; 22+ messages in thread
From: Markus Elfring @ 2020-06-05  8:30 UTC (permalink / raw)
  To: Jason Yan, linux-block, linux-fsdevel
  Cc: hulkci, kernel-janitors, linux-kernel, Al Viro,
	Christoph Hellwig, Jan Kara, Jens Axboe, Ming Lei

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

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-06-05 18:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05  8:30 [PATCH v2] block: Fix use-after-free in blkdev_get() Markus Elfring
2020-06-05  9:05 ` Jason Yan
2020-06-05  9:43   ` Dan Carpenter
2020-06-05 10:56     ` Markus Elfring
2020-06-05 11:10       ` Dan Carpenter
2020-06-05 11:40         ` Markus Elfring
2020-06-05 11:42           ` Matthew Wilcox
2020-06-05 12:47             ` Markus Elfring
2020-06-05 12:52               ` Matthew Wilcox
2020-06-05 13:12                 ` Markus Elfring
2020-06-05 15:15                   ` Matthew Wilcox
2020-06-05 15:25                     ` Markus Elfring
2020-06-05 11:10       ` [PATCH v2] " Matthew Wilcox
2020-06-05 11:48         ` Markus Elfring
2020-06-05 11:51           ` Matthew Wilcox
2020-06-05 13:01             ` Markus Elfring
2020-06-05 13:01             ` Markus Elfring
2020-06-05 13:04               ` Jens Axboe
2020-06-05 13:23                 ` Markus Elfring
2020-06-05 11:10     ` [PATCH v2] " Sedat Dilek
2020-06-05 14:42     ` Jan Kara
2020-06-05 18:08       ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).