diff options
author | Rustam Kovhaev <rkovhaev@gmail.com> | 2021-02-24 23:00:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-04 11:39:29 +0300 |
commit | 23e895868b518f48eab7925aeb93aeeac3ac2594 (patch) | |
tree | 8b9a36f3007b1ee29c8d8c72395786b552d5cdf4 /include/net/devlink.h | |
parent | 9c4a31480b728b706844a47c262d9562e2f86ada (diff) | |
download | linux-23e895868b518f48eab7925aeb93aeeac3ac2594.tar.xz |
ntfs: check for valid standard information attribute
commit 4dfe6bd94959222e18d512bdf15f6bf9edb9c27c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions