[Pkg-cryptsetup-devel] Bug#438198: cryptsetup: Segfaults when specifying invalid device name to luksOpen

Mario Iseli mario at debian.org
Thu Aug 16 06:28:43 UTC 2007


Package: cryptsetup
Version: 2:1.0.5-1
Severity: important

Hello Debian Cryptsetup Team,

I found the following bug:

aismis:~# cryptsetup luksOpen /dev/sda1 secret
Enter LUKS passphrase:
aismis:~# cryptsetup luksOpen /dev/bla1 secret
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0xb7ea975e in memset () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7ea975e in memset () from /lib/i686/cmov/libc.so.6
#1  0x0804f917 in ?? ()
#2  0xb7f8789f in dm_log_init () from /lib/libdevmapper.so.1.02.1
#3  0x0804ce58 in ?? ()
#4  0xb7f8789b in dm_log_init () from /lib/libdevmapper.so.1.02.1
#5  0x0804bd15 in ?? ()
#6  0x00000000 in ?? ()

I think the trouble is more or less selfexplaining. :)

Thank you and regards...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.20-2 The Linux Kernel Device Mapper use
ii  libc6                        2.6.1-1     GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.20-2 The Linux Kernel Device Mapper use
ii  libgcrypt11                  1.2.4-2     LGPL Crypto library - runtime libr
ii  libpopt0                     1.10-3      lib for parsing cmdline parameters
ii  libuuid1                     1.40.2-1    universally unique id library

cryptsetup recommends no packages.

-- no debconf information




More information about the Pkg-cryptsetup-devel mailing list