2.6.38 kernel bug at namei.c:406 invalid opcode 0000 SMP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image
I was running fuser on a second proc filesystem mounted to a chroot environment (via mount -t proc none /disk/proc):
# fuser /disk/proc/
Segmentation fault
In /var/log/syslog I found:
Feb 6 01:40:04 ubuntu kernel: [13184.442740] ------------[ cut here ]------------
Feb 6 01:40:04 ubuntu kernel: [13184.442750] kernel BUG at /build/
Feb 6 01:40:04 ubuntu kernel: [13184.442756] invalid opcode: 0000 [#9] SMP
Feb 6 01:40:04 ubuntu kernel: [13184.442762] last sysfs file: /sys/devices/
Feb 6 01:40:04 ubuntu kernel: [13184.442767] Modules linked in: binfmt_misc parport_pc ppdev dm_crypt lp parport psmouse virtio_balloon serio_raw i2c_piix4 squashfs aufs nls_utf8 isofs dm_raid45 xor btrfs lzo_compress zlib_deflate libcrc32c virtio_blk virtio_net floppy virtio_pci virtio_ring virtio
Feb 6 01:40:04 ubuntu kernel: [13184.442803]
Feb 6 01:40:04 ubuntu kernel: [13184.442810] Pid: 17219, comm: fuser Tainted: G S D W 2.6.38-1-generic #28-Ubuntu /Bochs
Feb 6 01:40:04 ubuntu kernel: [13184.442817] EIP: 0060:[<c022b34c>] EFLAGS: 00010246 CPU: 1
Feb 6 01:40:04 ubuntu kernel: [13184.442829] EIP is at nameidata_
Feb 6 01:40:04 ubuntu kernel: [13184.442834] EAX: ea57f1a0 EBX: eca31ebc ECX: 00000000 EDX: 00002d2d
Feb 6 01:40:04 ubuntu kernel: [13184.442839] ESI: f20d6400 EDI: e78d0cc0 EBP: eca31e24 ESP: eca31e0c
Feb 6 01:40:04 ubuntu kernel: [13184.442844] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Feb 6 01:40:04 ubuntu kernel: [13184.442850] Process fuser (pid: 17219, ti=eca30000 task=ea57f1a0 task.ti=eca30000)
Feb 6 01:40:04 ubuntu kernel: [13184.442854] Stack:
Feb 6 01:40:04 ubuntu kernel: [13184.442856] eca31ebc eca31e24 c022b4ff f20d6400 eca31ebc 00000000 eca31e34 c022b825
Feb 6 01:40:04 ubuntu kernel: [13184.442867] 00000000 f72f800b eca31e90 c022ca3d eca31e80 eca31e58 fffffffe f5b6fe00
Feb 6 01:40:04 ubuntu kernel: [13184.442878] 00000002 f6ad4ca0 00000001 ea57f1a0 00000000 00000041 eca31e78 eca31ebc
Feb 6 01:40:04 ubuntu kernel: [13184.442889] Call Trace:
Feb 6 01:40:04 ubuntu kernel: [13184.442898] [<c022b4ff>] ? d_revalidate+
Feb 6 01:40:04 ubuntu kernel: [13184.442905] [<c022b825>] force_reval_
Feb 6 01:40:04 ubuntu kernel: [13184.442913] [<c022ca3d>] link_path_
Feb 6 01:40:04 ubuntu kernel: [13184.442920] [<c022cdd4>] do_path_
Feb 6 01:40:04 ubuntu kernel: [13184.442927] [<c022d211>] user_path_
Feb 6 01:40:04 ubuntu kernel: [13184.442935] [<c0371022>] ? copy_to_
Feb 6 01:40:04 ubuntu kernel: [13184.442941] [<c0224d57>] vfs_fstatat+
Feb 6 01:40:04 ubuntu kernel: [13184.442947] [<c0224df0>] vfs_stat+0x20/0x30
Feb 6 01:40:04 ubuntu kernel: [13184.442952] [<c0225166>] sys_stat64+
Feb 6 01:40:04 ubuntu kernel: [13184.442961] [<c05f7524>] syscall_
Feb 6 01:40:04 ubuntu kernel: [13184.442965] Code: fc 89 ec 5d c3 66 90 8b 45 f0 e8 b0 21 f0 ff 90 8b 43 14 8d 74 26 00 85 c0 bb f6 ff ff ff 74 d6 8d 47 04 e8 97 21 f0 ff 90 eb cb <0f> 0b 0f 0b 0f 0b 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 55
Feb 6 01:40:04 ubuntu kernel: [13184.443024] EIP: [<c022b34c>] nameidata_
Feb 6 01:40:04 ubuntu kernel: [13184.443035] ---[ end trace a7919e7f17c0a72f ]---
# lsb_release -rd
Description: Ubuntu natty (development branch)
Release: 11.04
linux-image-generic version 2.6.38.1.15
The system is a virtual machine running on KVM (host is Fedora 13 with kernel 2.6.34.
I've seen that there's a new kernel release incoming, I'll check if it's fixed tomorrow.
Changed in linux-meta (Ubuntu): | |
status: | New → Confirmed |
Confirmed on a daily-live usb system. Running fuser on any directory or file of the live-fs causes a segmentation fault of fuser and the kernel BUG message.
See also /bugzilla. redhat. com/show_ bug.cgi? id=675934 /lkml.org/ lkml/2011/ 2/11/1
https:/
https:/
linux-image-generic 2.6.38.3.17 2.6.38- 3-generic 2.6.38-3.30
linux-image-
ubuntu@ubuntu:~$ fuser /etc nosuid, nodev) nosuid, nodev) fuse/connection s type fusectl (rw) nosuid, gid=5,mode= 0620) fmask=0022, dmask=0022, codepage= cp437,iocharset =iso8859- 1,shortname= mixed,errors= remount- ro) security type securityfs (rw) mode=0755) nosuid, nodev) fs/binfmt_ misc type binfmt_misc (rw,noexec, nosuid, nodev) fuse-daemon (rw,nosuid, nodev,user= ubuntu)
Segmentation fault
ubuntu@ubuntu:~$ mount
aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,
none on /sys type sysfs (rw,noexec,
fusectl on /sys/fs/
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
/dev/sdb1 on /cdrom type vfat (ro,noatime,
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-
[ 970.160390] ------------[ cut here ]------------ buildd/ linux-2. 6.38/fs/ namei.c: 406! system/ cpu/cpu1/ cache/index2/ shared_ cpu_map ffffffff8116f70 7>] [<ffffffff8116f 707>] nameidata_ drop_rcu+ 0x127/0x130 181c68 EFLAGS: 00010246 0(0000) GS:ffff8800dce0 0000(0000) knlGS:000000000 0000000
[ 970.161808] kernel BUG at /build/
[ 970.163227] invalid opcode: 0000 [#11] SMP
[ 970.164641] last sysfs file: /sys/devices/
[ 970.166117] CPU 0
[ 970.166127] Modules linked in: parport_pc ppdev rfcomm lp parport dm_crypt sco bnep l2cap binfmt_misc btusb bluetooth snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm joydev arc4 snd_seq_midi snd_rawmidi snd_seq_midi_event iwlagn snd_seq snd_timer snd_seq_device iwlcore uvcvideo dell_wmi mac80211 dell_wmi_aio videodev sparse_keymap v4l2_compat_ioctl32 dell_laptop snd dcdbas psmouse cfg80211 soundcore serio_raw snd_page_alloc squashfs aufs nls_iso8859_1 nls_cp437 vfat fat dm_raid45 xor btrfs zlib_deflate libcrc32c usb_storage usbhid hid uas i915 drm_kms_helper firewire_ohci ahci libahci e1000e drm i2c_algo_bit video sdhci_pci sdhci firewire_core crc_itu_t
[ 970.170016]
[ 970.170016] Pid: 4350, comm: fuser Tainted: G D 2.6.38-3-generic #30-Ubuntu /Latitude E6400
[ 970.170016] RIP: 0010:[<
[ 970.170016] RSP: 0018:ffff8800c8
[ 970.170016] RAX: ffff880094c416c0 RBX: ffff8800c8181dc8 RCX: ffff8800cd8ede40
[ 970.170016] RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff8800c8181dc8
[ 970.170016] RBP: ffff8800c8181ca8 R08: 0000000000000000 R09: 0000000000000000
[ 970.170016] R10: 0000000000000001 R11: 0000000000000246 R12: ffff8800cd89a300
[ 970.170016] R13: ffff8800caae6780 R14: ffff8800c8181d28 R15: ffff880094c416c0
[ 970.170016] FS: 00007fad7e8f372
[ 970.170016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 970.170016] CR2: 000000...