file corruption -- init_crypt_ctx(): Error initializing cipher [aes]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Incomplete
|
High
|
Unassigned | ||
ecryptfs-utils (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
I am using Linux lapp 2.6.32-23-generic #37-Ubuntu SMP x86_64 GNU/Linux
I have a encrypted fs mounted under ~/Private. I can browse files and most of the time everything works just fine. The only anomaly I have found is that sometimes git will discover changes in files that I have not touched. A "git diff" shows no changes in the file and I have been content by solving it using git checkout. However, today I create a new file under ~/Private/dokument. When I later tried to open the newly created file, emacs freezed and dmesg reports the following:
[ 198.390073] ecryptfs_
[ 198.390086] ecryptfs_
[ 198.390093] ecryptfs_
[ 198.390493] ------------[ cut here ]------------
[ 198.390500] kernel BUG at /build/
[ 198.390507] invalid opcode: 0000 [#1] SMP
[ 198.390515] last sysfs file: /sys/devices/
[ 198.390522] CPU 0
[ 198.390527] Modules linked in: cryptd aes_x86_64 aes_generic rfcomm sco bnep binfmt_misc l2cap ppdev ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp hso snd_hda_
[ 198.390694] Pid: 2477, comm: emacs Not tainted 2.6.32-23-generic #37-Ubuntu VGN-Z21WN_B
[ 198.390700] RIP: 0010:[<
[ 198.390718] RSP: 0018:ffff88011e
[ 198.390724] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88012b992c00
[ 198.390730] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88012b992e60
[ 198.390735] RBP: ffff88011e3bfc08 R08: ffff880028212180 R09: 0000000000001000
[ 198.390741] R10: 0000000000000000 R11: 0000000000000200 R12: ffff88012b992e60
[ 198.390747] R13: ffff8801068326c0 R14: ffff880138f66000 R15: 0000000000001000
[ 198.390754] FS: 00007fb4bcec67e
[ 198.390760] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 198.390766] CR2: 00007fd18c186000 CR3: 0000000115c78000 CR4: 00000000000006f0
[ 198.390772] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 198.390778] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 198.390785] Process emacs (pid: 2477, threadinfo ffff88011e3be000, task ffff88012c068000)
[ 198.390790] Stack:
[ 198.390793] ffff88011e3bfbf8 ffff88012b992c00 ffff88011e3bfbf8 ffff880138f66000
[ 198.390803] <0> ffff88012b992c00 ffff8801068326c0 ffff88012b992e80 ffff880106b780d0
[ 198.390813] <0> ffff88011e3bfc48 ffffffff8122c36c ffff88011e3bfc78 ffff88012b992c00
[ 198.390824] Call Trace:
[ 198.390833] [<ffffffff8122c
[ 198.390845] [<ffffffff81228
[ 198.390855] [<ffffffff8115c
[ 198.390864] [<ffffffff81253
[ 198.390874] [<ffffffff81142
[ 198.390882] [<ffffffff81253
[ 198.390891] [<ffffffff8114d
[ 198.390899] [<ffffffff8114e
[ 198.390907] [<ffffffff81152
[ 198.390919] [<ffffffff8101b
[ 198.390926] [<ffffffff8115d
[ 198.390936] [<ffffffff81141
[ 198.390944] [<ffffffff81141
[ 198.390953] [<ffffffff81013
[ 198.390958] Code: 4c 89 ab 48 e0 ff ff 49 89 c6 4c 89 e7 e8 1c 69 31 00 44 89 f0 48 8b 5d d8 4c 8b 65 e0 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 <0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
[ 198.391044] RIP [<ffffffff8122b
[ 198.391053] RSP <ffff88011e3bfbc8>
[ 198.391060] ---[ end trace 8a4b62ae26fd3966 ]---
I can still access other files on the encrypted file system (and today git status does not show any mysterious changes :-)).. Please let me know what I can do to help..
I believe that this is a duplicate of Bug #509180.
Tyler, can you take a quick look at this and tell me if you think this is a dupe?