aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorPavel Skripkin <[email protected]>2023-07-13 19:41:46 +0000
committerKonstantin Komarov <[email protected]>2023-09-28 12:04:05 +0000
commit34e6552a442f268eefd408e47f4f2d471aa64829 (patch)
tree52f713ca4d6e787f362dc661af08e572bc4af188 /scripts/gdb/vmlinux-gdb.py
parentfs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea() (diff)
downloadkernel-34e6552a442f268eefd408e47f4f2d471aa64829.tar.gz
kernel-34e6552a442f268eefd408e47f4f2d471aa64829.zip
fs/ntfs3: Fix OOB read in ntfs_init_from_boot
Syzbot was able to create a device which has the last sector of size 512. After failing to boot from initial sector, reading from boot info from offset 511 causes OOB read. To prevent such reports add sanity check to validate if size of buffer_head if big enough to hold ntfs3 bootinfo Fixes: 6a4cd3ea7d77 ("fs/ntfs3: Alternative boot if primary boot is corrupted") Reported-by: [email protected] Signed-off-by: Pavel Skripkin <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions