diff options
| author | Hyunchul Lee <hyc.lee@gmail.com> | 2026-04-01 16:24:57 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-04-18 11:32:56 +0900 |
| commit | 8b4064e6146efc6c0202d671c4e26bcbd26e3555 (patch) | |
| tree | 7f0c00fc56a3e9a9a6dc76b72e0dbc324ae4fb2c /include/linux/timerqueue.h | |
| parent | 8541d8f725c673db3bd741947f27974358b2e163 (diff) | |
ntfs: zero out stale data in straddle block beyond initialized_size
ntfs_read_iomap_begin_non_resident() rounds up MAPPED extents
to the block boundary of initialized_size. This ensures that
any subsequent blocks are treated as IOMAP_UNWRITTEN, but
it also causes the "straddle block" containing initialized_size
to be read from disk. The disk data beyond initialized_size in
this block is stale and must be zeroed to prevent data leakage.
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
