lkml.org 
[lkml]   [2022]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] block: Fix wrong offset in bio_truncate()
Date
On Sun, 09 Jan 2022 18:36:43 +0900, OGAWA Hirofumi wrote:
> bio_truncate() clears the buffer outside of last block of bdev, however
> current bio_truncate() is using the wrong offset of page. So it can
> return the uninitialized data.
>
> This happened when both of truncated/corrupted FS and userspace (via
> bdev) are trying to read the last of bdev.
>
> [...]

Applied, thanks!

[1/1] block: Fix wrong offset in bio_truncate()
commit: 3ee859e384d453d6ac68bfd5971f630d9fa46ad3

Best regards,
--
Jens Axboe


\
 
 \ /
  Last update: 2022-01-20 14:31    [W:0.108 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site