kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #22192
[Bug 905057] Re: Apparent Encryptfs Crash When Removing a USB Drive
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]
** Changed in: linux (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/905057
Title:
Apparent Encryptfs Crash When Removing a USB Drive
Status in “linux” package in Ubuntu:
Expired
Bug description:
This has been happening sporadically whenever I remove a USB drive.
Most of the time, the removal goes smoothly. However, occasionally
(like today) I get a black screen filled with error messages. I can
get back the GNOME desktop by Pressing ALT+F2 (which gives me the "Run
Application" command).
Looking at the error today, it seemed to involve the kernel. I then
went to /var/log/ and looked at kern.log and sure enough, there was
the same error text that I saw on the screen. I've snipped out the
part of the code that I saw:
Dec 15 19:16:26 stimpy-laptop kernel: [37328.047518] ------------[ cut here ]------------
Dec 15 19:16:26 stimpy-laptop kernel: [37328.047571] kernel BUG at /build/buildd/linux-2.6.38/fs/ecryptfs/crypto.c:349!
Dec 15 19:16:26 stimpy-laptop kernel: [37328.047631] invalid opcode: 0000 [#1] SMP
Dec 15 19:16:26 stimpy-laptop kernel: [37328.047680] last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/voltage_now
Dec 15 19:16:26 stimpy-laptop kernel: [37328.047762] Modules linked in: ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt nls_iso8859_1 nls_cp437 vfat fat hidp binfmt_misc rfcomm sco bnep scramdisk l2cap option usb_wwan usbserial sha256_generic cryptd aes_i586 aes_generic parport_pc ppdev dm_crypt snd_hda_codec_idt snd_hda_codec_hdmi arc4 snd_hda_intel snd_hda_codec snd_hwdep joydev snd_pcm snd_seq_midi iwl3945 snd_rawmidi snd_seq_midi_event iptable_nat nf_nat nf_conntrack_ipv4 iwlcore nf_conntrack dell_wmi nf_defrag_ipv4 snd_seq sparse_keymap iptable_mangle iptable_filter r852 dell_laptop ip_tables mac80211 sm_common nand nand_ids x_tables dcdbas nand_ecc snd_timer btusb snd_seq_device bluetooth cfg80211 snd psmouse mtd serio_raw soundcore snd_page_alloc firewire_sbp2 lp parport usbhid hid usb_storage uas i915 ahci sdhci_pci sdhci firewire_ohci firewire_core drm_kms_helper sky2 drm crc_itu_t libahci i2c_algo_bit video
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012]
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] Pid: 16590, comm: dconf-service Not tainted 2.6.38-13-generic #52-Ubuntu Dell Inc. Inspiron 1525 /0U990C
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] EIP: 0060:[<c11f8724>] EFLAGS: 00010246 CPU: 0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] EIP is at encrypt_scatterlist+0xe4/0x120
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] EAX: 00000000 EBX: da0a7d00 ECX: dcdb1cdc EDX: dcdb1cf0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] ESI: 00000000 EDI: 00001000 EBP: dcdb1c9c ESP: dcdb1c70
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] Process dconf-service (pid: 16590, ti=dcdb0000 task=daaa8ca0 task.ti=dcdb0000)
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] Stack:
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] 00000000 00000000 00000000 dcdb1cdc dcdb1cc8 00000000 dcdb1cf0 00000200
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] 00000000 00000000 00001000 dcdb1d10 c11f8f60 00001000 dcdb1cf0 c1784840
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] 00000003 dcdb1ce8 f44e0b40 00000000 f5b791e0 da0a7d00 f44e0b42 00000000
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] Call Trace:
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c11f8f60>] ecryptfs_encrypt_extent+0xe0/0x220
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c11f93f1>] ecryptfs_encrypt_page+0x91/0x1d0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c10e26f1>] ? add_to_page_cache_locked+0xc1/0x140
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c11f7acd>] ecryptfs_write_end+0xfd/0x310
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c10e1a91>] generic_perform_write+0x121/0x1b0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c10e1b74>] generic_file_buffered_write+0x54/0x90
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c10e3ac0>] __generic_file_aio_write+0x220/0x4e0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c113ff69>] ? vfsmount_lock_local_unlock+0x19/0x20
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1133bea>] ? finish_open+0xca/0x1a0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1133478>] ? do_path_lookup+0x68/0x120
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c10e3dde>] generic_file_aio_write+0x5e/0xd0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c113ff69>] ? vfsmount_lock_local_unlock+0x19/0x20
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1126bb4>] do_sync_write+0xa4/0xe0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c11284d1>] ? __fput+0x121/0x1c0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1126fec>] ? rw_verify_area+0x6c/0x130
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1127372>] vfs_write+0xa2/0x170
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1126b10>] ? do_sync_write+0x0/0xe0
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c1127652>] sys_write+0x42/0x70
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] [<c150a404>] syscall_call+0x7/0xb
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] Code: 00 85 c0 74 a6 89 44 24 08 c7 44 24 04 d7 fa 52 c1 c7 04 24 e8 c0 69 c1 e8 ea dc ff ff 89 f0 e8 d3 03 31 00 b8 ea ff ff ff eb b9 <0f> 0b 8b 43 14 c7 44 24 04 d7 fa 52 c1 c7 04 24 ff 50 6a c1 89
Dec 15 19:16:26 stimpy-laptop kernel: [37328.048012] EIP: [<c11f8724>] encrypt_scatterlist+0xe4/0x120 SS:ESP 0068:dcdb1c70
Dec 15 19:16:26 stimpy-laptop kernel: [37328.068075] ---[ end trace 6c9d0e3a82871de6 ]---
I don't know if this is a security bug; if it is an encrypt-fs crash I
would classify it as such. I am attaching all of the \var\log\kern.og
file.
StewartM
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-13-generic 2.6.38-13.52
ProcVersionSignature: Ubuntu 2.6.38-13.52-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: stimpy 18664 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe9fc000 irq 47'
Mixer name : 'SigmaTel STAC9228'
Components : 'HDA:14f12c06,14f1000f,00100000 HDA:10951392,1028022f,00100000 HDA:83847616,1028022f,00100201'
Controls : 22
Simple ctrls : 12
Date: Thu Dec 15 19:55:27 2011
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=8b31e5a6-b63f-4d31-af68-66261862bca3
MachineType: Dell Inc. Inspiron 1525
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-13-generic root=UUID=f604d860-941f-4a72-9818-2789056b091e ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-2.6.38-13-generic N/A
linux-backports-modules-2.6.38-13-generic N/A
linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-11-15 (30 days ago)
WpaSupplicantLog:
dmi.bios.date: 03/10/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0U990C
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd03/10/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1525
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/905057/+subscriptions