summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorRustam Kovhaev <rkovhaev@gmail.com>2021-02-24 21:00:30 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-24 22:38:26 +0100
commit4dfe6bd94959222e18d512bdf15f6bf9edb9c27c (patch)
tree7039db856343196dec084935e66fcdca3a3aa6eb /fs/btrfs/inode.c
parentntfs: layout.h: delete duplicated words (diff)
downloadlinux-4dfe6bd94959222e18d512bdf15f6bf9edb9c27c.tar.xz
linux-4dfe6bd94959222e18d512bdf15f6bf9edb9c27c.zip
ntfs: check for valid standard information attribute
Mounting a corrupted filesystem with NTFS resulted in a kernel crash. We should check for valid STANDARD_INFORMATION attribute offset and length before trying to access it Link: https://lkml.kernel.org/r/20210217155930.1506815-1-rkovhaev@gmail.com Link: https://syzkaller.appspot.com/bug?extid=c584225dabdea2f71969 Signed-off-by: Rustam Kovhaev <rkovhaev@gmail.com> Reported-by: syzbot+c584225dabdea2f71969@syzkaller.appspotmail.com Tested-by: syzbot+c584225dabdea2f71969@syzkaller.appspotmail.com Acked-by: Anton Altaparmakov <anton@tuxera.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions