Bug#873757: e2fsck: buffer overflow in check_block_bitmaps()

2017-09-05 Thread Jakub Wilk
* Theodore Ts'o , 2017-09-04, 20:35: If the blocks count field is too large, this can cause numberic s/numberic/numeric/ -- Jakub Wilk

Bug#873757: e2fsck: buffer overflow in check_block_bitmaps()

2017-09-04 Thread Theodore Ts'o
tags 873757 +pending thanks Thanks for the bug report! Proposed fix: commit 4ed30b8e942bc75e8a2561b85719b6462bdce2cf Author: Theodore Ts'o Date: Mon Sep 4 20:32:22 2017 -0400 e2fsck, libext2fs: add checks for insanely large file systems If the blocks count field is too large, th

Bug#873757: e2fsck: buffer overflow in check_block_bitmaps()

2017-08-30 Thread Jakub Wilk
Package: e2fsprogs Version: 1.43.5-1 $ gzip -d overflow.ext2.gz $ md5sum overflow.ext2 5de070b3f4c0f0562604bfaadbf8cd1d overflow.ext2 $ valgrind -q /sbin/e2fsck -n overflow.ext2 > /dev/null e2fsck 1.43.5 (04-Aug-2017) ==1718== Invalid write of size 4 ==1718==at 0x12A558: check_block_bitmaps