[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <88676ff2-cb7e-70ec-4421-ecf8318990b1@web.de>
Date: Fri, 5 Jun 2020 10:30:35 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Jason Yan <yanaijie@...wei.com>, linux-block@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Cc: hulkci@...wei.com, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@....de>, Jan Kara <jack@...e.cz>,
Jens Axboe <axboe@...nel.dk>, Ming Lei <ming.lei@...hat.com>
Subject: Re: [PATCH v2] block: Fix use-after-free in blkdev_get()
> … 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
Powered by blists - more mailing lists