Bug#854497: ext4magic: SIGSEGV while recovery from encrypted USB stick

kardan kardan at riseup.net
Tue Feb 7 18:09:51 UTC 2017


Package: ext4magic
Version: 0.3.2-7
Severity: normal

I am trying to recover files that have been moved but not saved on the new target
due to a blackout.

|-----------d_time  Histogram-----------------  after  --------------------  Mon Feb  6 18:56:16 2017
1486412416 :        0 |                                                  |   Mon Feb  6 21:20:16 2017
1486421056 :        1 |***                                               |   Mon Feb  6 23:44:16 2017
1486429696 :        0 |                                                  |   Tue Feb  7 02:08:16 2017
1486438336 :        0 |                                                  |   Tue Feb  7 04:32:16 2017
1486446976 :        0 |                                                  |   Tue Feb  7 06:56:16 2017
1486455616 :        0 |                                                  |   Tue Feb  7 09:20:16 2017
1486464256 :        0 |                                                  |   Tue Feb  7 11:44:16 2017
1486472896 :        0 |                                                  |   Tue Feb  7 14:08:16 2017
1486481536 :        0 |                                                  |   Tue Feb  7 16:32:16 2017
1486490176 :       20 |**************************************************|   Tue Feb  7 18:56:16 2017

# gdb --args ext4magic /dev/mapper/luks-95778b97-1f91-45d9-878e-e29189f1b8ed \
-j intenso2_journal.bin -m
Reading symbols from ext4magic...Reading symbols from /usr/lib/debug/.build-id/f3/35f5964c987d041fd70db64731e220d8657df9.debug...done.                                    
done.                                                                                                                                                                     
(gdb) run
Starting program: /usr/sbin/ext4magic /dev/mapper/luks-95778b97-1f91-45d9-878e-e29189f1b8ed -j intenso2_journal.bin -m
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Warning: Activate magic-scan or disaster-recovery function, may be some command line options ignored
"RECOVERDIR"  accept for recoverdir
Filesystem in use: /dev/mapper/luks-95778b97-1f91-45d9-878e-e29189f1b8ed

Using external Journal at File intenso2_journal.bin
Activ Time after  : Tue Feb  7 17:30:19 2017
Activ Time before : Tue Feb  7 19:07:50 2017
Inode 2 is allocated

Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x1) at malloc.c:2963
2963    malloc.c: No such file or directory.
(gdb) bt
#0  __GI___libc_free (mem=0x1) at malloc.c:2963
#1  0x800048da in ext2fs_free_mem (ptr=0x80043284) at /usr/include/ext2fs/ext2fs.h:1784
#2  local_ext2fs_extent_free (handle=0x800431e8) at block.c:102
#3  0x800051bd in local_block_iterate3 (fs=0x80038008, inode=..., flags=8, block_buf=0x0, func=0x8001c220 <local_process_dir_block>, priv_data=0xbffff464) at block.c:702
#4  0x8001cbd7 in local_dir_iterate3 (fs=fs at entry=0x80038008, dir=dir at entry=2, inode=<optimized out>, flags=2, func=0x8001c660 <find_dir_proc>, priv_data=0xbffff4cc,
    block_buf=0x0) at lookup_local.c:460
#5  0x8001cfe1 in local_dir_iterate3 (priv_data=0xbffff4cc, func=0x8001c660 <find_dir_proc>, block_buf=0x0, flags=<optimized out>, inode=0x80045e90, dir=2,
    fs=0x80038008) at lookup_local.c:554
#6  get_dir3 (d_inode=0x0, path_ino=0, ino=2, path=0x8002a5e8 "", name=0x800431a0 "", t_after=1486485019, t_before=1486490870, options=2) at lookup_local.c:545
#7  0x80003d38 in main (argc=<optimized out>, argv=<optimized out>) at ext4magic.c:1094

-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ext4magic depends on:
ii  e2fslibs    1.43.3-1
ii  libblkid1   2.29.1-1
ii  libbz2-1.0  1.0.6-8.1
ii  libc6       2.24-9
ii  libmagic1   1:5.29-2
ii  libuuid1    2.29.1-1
ii  zlib1g      1:1.2.8.dfsg-5

ext4magic recommends no packages.

ext4magic suggests no packages.

-- no debconf information



More information about the forensics-devel mailing list