Package: e2fsprogs
Version: 1.42.12-1
Usertags: afl

fsck.ext2 crashes when checking the attached filesystem:

$ /sbin/fsck.ext2 -n crash.ext2
e2fsck 1.42.12 (29-Aug-2014)
One or more block group descriptor checksums are invalid.  Fix? no

Group descriptor 0 checksum is 0xa634, should be 0x6639.  IGNORED.
Group descriptor 0 has invalid unused inodes count 21.  Fix? no

crash.ext2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Signal (11) SIGSEGV si_code=SEGV_MAPERR fault addr=0x8663000
*** Error in `/sbin/fsck.ext2': malloc(): memory corruption: 0x086529e8 ***
Aborted


This bug was found using American fuzzy lop:
https://packages.debian.org/experimental/afl


-- System Information:
Debian Release: 8.0
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.42.12-1
ii  libblkid1   2.25.2-4
ii  libc6       2.19-13
ii  libcomerr2  1.42.12-1
ii  libss2      1.42.12-1
ii  libuuid1    2.25.2-4
ii  util-linux  2.25.2-4

--
Jakub Wilk

Attachment: crash.ext2.gz
Description: application/gzip

Reply via email to