Re: security issue: data exposure when using block layer secure erase

From: Christoph Hellwig
Date: Fri Mar 18 2022 - 05:11:03 EST


On Wed, Mar 16, 2022 at 06:05:29PM +0000, Eric Biggers wrote:
> __blkdev_issue_discard() can break up the region into multiple bios, but I don't
> see where it actually skips parts of the region. Can you explain more
> specifically where the problem is?

You're right. We used to skip misaligned parts, but that was actually
fixed two years ago.