Re: [RFC PATCH v2 5/7] ext4: use RCU to protect accessing superblock in blkdev_releasepage()
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-04-15 14:49:24
Also in:
linux-fsdevel
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-04-15 14:49:24
Also in:
linux-fsdevel
On Wed, Apr 14, 2021 at 09:47:35PM +0800, Zhang Yi wrote:
In blkdev_releasepage() we access the superblock structure directly, it could be raced by umount filesystem on destroy superblock in put_super(), and end up triggering a use after free issue.
The subject is wrong, this does not change ext4 code.