summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBartlomiej Kubik <kubik.bartlomiej@gmail.com>2025-11-26 23:02:51 +0100
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2025-12-19 19:03:57 +0100
commitf223ebffa185cc8da934333c5a31ff2d4f992dc9 (patch)
tree8c991b4ee8f79aff8050aad62219e38288279eb8 /rust/alloc/collections/git@git.tavy.me:linux.git
parent1732053c8a6b360e2d5afb1b34fe9779398b072c (diff)
fs/ntfs3: Initialize new folios before use
KMSAN reports an uninitialized value in longest_match_std(), invoked from ntfs_compress_write(). When new folios are allocated without being marked uptodate and ni_read_frame() is skipped because the caller expects the frame to be completely overwritten, some reserved folios may remain only partially filled, leaving the rest memory uninitialized. Fixes: 584f60ba22f7 ("ntfs3: Convert ntfs_get_frame_pages() to use a folio") Tested-by: syzbot+08d8956768c96a2c52cf@syzkaller.appspotmail.com Reported-by: syzbot+08d8956768c96a2c52cf@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=08d8956768c96a2c52cf Signed-off-by: Bartlomiej Kubik <kubik.bartlomiej@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions