[pkg-cryptsetup-devel] Bug#784129: [cryptsetup] Unlocking an aes:ecb-benbi volume with cryptsetup triggers input/output error
Felicitus
felicitus at felicitus.org
Sun May 3 10:56:46 UTC 2015
Package: cryptsetup
Version: 1.6.6-5
Severity: normal
--- Please enter the report below this line. ---
Cryptsetup 2:1.6.6-5 fails unlocking my aes:ecb-benbi crypted volume.
With 2:1.6.4, it works. However, cryptsetup 2:1.6.6-5 can unlock the
aes-cbc-essiv:sha256 volume on the same machine, so I guess this is an
error with aes:ecb-benbi volumes only.
The last output of cryptsetup with --debug revelas:
# Unlocking memory.
Command failed with code 5: Input/output error
Here's the header for the volume in question:
LUKS header information for
/dev/disk/by-uuid/74da1845-0809-43f1-a54b-d7d574c58f02
Version: 1
Cipher name: aes
Cipher mode: ecb-benbi
Hash spec: sha1
Payload offset: 2048
MK bits: 128
MK digest: 32 81 d6 d9 ed cc 5b e9 08 81 51 28 24 a2 63 1a bb d2 ad 1f
MK salt: 13 0b 7e 98 14 f6 d0 54 da 2a 89 f4 63 17 12 b4
e8 ec ac ce be 9f 23 68 43 50 04 4a 75 80 dd 52
MK iterations: 29250
UUID: 74da1845-0809-43f1-a54b-d7d574c58f02
Again, unlocking the volume with cryptsetup-1.6.4 works absolutely fine.
cheers
Feli
--- System information. ---
Architecture: amd64
Kernel: Linux 3.14-2-amd64
Debian Release: 8.0
900 testing ftp.de.debian.org
500 wheezy apt.tvheadend.org
500 unstable build.i3wm.org
500 stable www.deb-multimedia.org
500 stable repository.spotify.com
--- Package information. ---
Depends (Version) | Installed
===============================-+-=============
libc6 (>= 2.15) |
debconf (>= 0.5) |
OR debconf-2.0 |
dmsetup |
cryptsetup-bin (>= 2:1.6.0) |
Recommends (Version) | Installed
===================================-+-===========
kbd | 1.15.5-2
console-setup | 1.123
initramfs-tools (>= 0.91) | 0.120
OR linux-initramfs-tool |
busybox | 1:1.22.0-15
OR busybox-static |
Suggests (Version) | Installed
=====================================-+-===========
dosfstools | 3.0.27-1
liblocale-gettext-perl | 1.05-8+b1
keyutils | 1.5.9-5+b1
--- Output from package bug script ---
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.14-2-amd64
root=UUID=9923ab37-6db9-444d-9cbe-adb9193e92fd ro verbose
-- /etc/crypttab
# <target name> <source device> <key file> <options>
home UUID=c6098010-5321-4145-945f-cbab197f5a2c none luks
-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sdb1 during installation
UUID=9923ab37-6db9-444d-9cbe-adb9193e92fd / ext4
discard,noatime,errors=remount-ro 0 1
UUID=d6b582af-2b38-4c81-b1a9-184cf5550eb7 /home btrfs
defaults,noatime 0 0
/swapfile none swap
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
-- lsmod
Module Size Used by
arc4 12536 0
ecb 12737 0
md4 12529 0
hmac 12753 0
nls_utf8 12456 0
cifs 431051 0
dns_resolver 12641 1 cifs
snd_hrtimer 12604 1
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_seq 48834 3 snd_seq_midi_event,snd_seq_midi
cfg80211 412187 0
rfkill 18867 1 cfg80211
pci_stub 12429 1
vboxpci 18981 0
binfmt_misc 16949 1
vboxnetadp 25443 0
vboxnetflt 23324 0
vboxdrv 331875 3 vboxnetadp,vboxnetflt,vboxpci
cpufreq_userspace 12525 0
cpufreq_stats 12789 0
uinput 17372 0
cpufreq_powersave 12454 0
cpufreq_conservative 14184 0
nfsd 254693 2
auth_rpcgss 51240 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 1 nfsd
nfs 187768 0
lockd 79321 2 nfs,nfsd
fscache 45542 2 nfs,cifs
sunrpc 228923 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
btrfs 823018 1
raid6_pq 95238 1 btrfs
xor 21040 1 btrfs
dm_crypt 22595 1
algif_skcipher 13008 0
af_alg 12988 1 algif_skcipher
uvcvideo 78960 0
videobuf2_vmalloc 12816 1 uvcvideo
videobuf2_memops 12519 1 videobuf2_vmalloc
snd_usb_audio 118831 1
videobuf2_core 35303 1 uvcvideo
snd_usbmidi_lib 23380 1 snd_usb_audio
videodev 117963 2 uvcvideo,videobuf2_core
snd_rawmidi 26805 2 snd_usbmidi_lib,snd_seq_midi
media 18303 2 uvcvideo,videodev
snd_seq_device 13132 3 snd_seq,snd_rawmidi,snd_seq_midi
joydev 17063 0
hid_generic 12393 0
usbhid 44473 0
hid 94034 2 hid_generic,usbhid
x86_pkg_temp_thermal 12951 0
intel_powerclamp 17159 0
kvm_intel 134712 0
kvm 388172 1 kvm_intel
crc32_pclmul 12915 0
crc32c_intel 21809 1
ghash_clmulni_intel 12978 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
evdev 17445 19
snd_hda_codec_realtek 50301 1
snd_hda_codec_generic 59065 1 snd_hda_codec_realtek
aesni_intel 151423 2
aes_x86_64 16719 1 aesni_intel
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12695 1 aesni_intel
dcdbas 13313 0
ablk_helper 12572 1 aesni_intel
cryptd 14516 4 ghash_clmulni_intel,aesni_intel,ablk_helper
pcspkr 12595 0
psmouse 90422 0
serio_raw 12849 0
snd_hda_intel 43768 3
i915 718092 3
i2c_i801 16964 0
snd_hda_codec 100159 3
snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 13148 2 snd_usb_audio,snd_hda_codec
lpc_ich 20768 0
snd_pcm_oss 44847 0
mfd_core 12601 1 lpc_ich
snd_mixer_oss 22042 3 snd_pcm_oss
drm_kms_helper 39892 1 i915
drm 236561 4 i915,drm_kms_helper
snd_pcm 84566 5
snd_pcm_oss,snd_usb_audio,snd_hda_codec,snd_hda_intel
snd_timer 26614 4 snd_hrtimer,snd_pcm,snd_seq
i2c_algo_bit 12751 1 i915
i2c_core 28324 6
drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
snd 61094 17
snd_hda_codec_realtek,snd_pcm_oss,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss
battery 13101 0
soundcore 13026 3 snd
mei_me 17496 0
mei 66472 1 mei_me
shpchp 31121 0
video 17804 1 i915
button 12944 1 i915
processor 28221 0
hwmon_vid 12388 0
coretemp 12854 0
loop 26605 0
firewire_sbp2 21893 0
firewire_core 56665 1 firewire_sbp2
crc_itu_t 12347 1 firewire_core
fuse 78879 1
parport_pc 26300 0
ppdev 16782 0
lp 17074 0
parport 35749 3 lp,ppdev,parport_pc
autofs4 35575 4
ext4 473554 1
crc16 12343 1 ext4
mbcache 13082 1 ext4
jbd2 82560 1 ext4
dm_mod 89276 3 dm_crypt
md_mod 103628 0
sg 29972 0
sd_mod 44346 4
crc_t10dif 12431 1 sd_mod
crct10dif_generic 12581 0
ehci_pci 12512 0
xhci_hcd 148828 0
ehci_hcd 65741 1 ehci_pci
ahci 25099 2
libahci 27116 1 ahci
e1000e 227905 0
ptp 17460 1 e1000e
pps_core 17225 1 ptp
crct10dif_pclmul 13387 1
crct10dif_common 12356 3
crct10dif_pclmul,crct10dif_generic,crc_t10dif
libata 168945 2 ahci,libahci
scsi_mod 183017 4 sg,libata,sd_mod,firewire_sbp2
usbcore 178937 7
snd_usb_audio,uvcvideo,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd
thermal 17468 0
usb_common 12440 1 usbcore
thermal_sys 27642 5
video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20150503/5cfc096e/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list