cifs causes kernel oops on mount

Bug #1018852 reported by Avishay Traeger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Kernel oops when mounting with cifs.
Mount command: sudo mount -t cifs -o user=myuser //server.com/directory /mnt/mountpoint

Ubuntu 12.04
Linux image package version 3.2.0-24.39

[ 128.277660] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
[ 152.814578] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 152.818553] IP: [< (null)>] (null)
[ 152.818553] PGD 411007067 PUD 414f08067 PMD 0
[ 152.818553] Oops: 0010 [#1] SMP
[ 152.818553] CPU 0
[ 152.818553] Modules linked in: des_generic md4 nls_utf8 cifs ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel autofs4 kvm ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi bnep rfcomm bluetooth parport_pc ppdev nfsd binfmt_misc nfs lockd fscache auth_rpcgss nfs_acl sunrpc radeon i5000_edac ttm edac_core i5k_amb drm_kms_helper shpchp drm ioatdma serio_raw dca i2c_algo_bit dm_multipath mac_hid lp parport mptsas mptscsih mptbase scsi_transport_sas qla2xxx scsi_transport_fc bnx2 scsi_tgt
[ 152.818553]
[ 152.818553] Pid: 1991, comm: mount.cifs Not tainted 3.2.0-24-generic #39-Ubuntu IBM IBM eServer BladeCenter HS21 -[8853G4G]-/Server Blade
[ 152.818553] RIP: 0010:[<0000000000000000>] [< (null)>] (null)
[ 152.818553] RSP: 0018:ffff880412723c60 EFLAGS: 00010286
[ 152.818553] RAX: ffffffffa05d66c0 RBX: ffff880409282000 RCX: 0000000000000000
[ 152.818553] RDX: 0000000000000000 RSI: ffff880409282000 RDI: ffff880400d44850
[ 152.818553] RBP: ffff880412723c98 R08: ffff88042fc16e50 R09: 0000000000000000
[ 152.818553] R10: ffff88041054de10 R11: ffffc90000000000 R12: ffff880400d44850
[ 152.818553] R13: 0000000000000000 R14: 0000000000000000 R15: ffff880400d448f0
[ 152.818553] FS: 00007f121231a700(0000) GS:ffff88042fc00000(0000) knlGS:0000000000000000
[ 152.818553] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 152.818553] CR2: 0000000000000000 CR3: 0000000408de8000 CR4: 00000000000006f0
[ 152.818553] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 152.818553] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 152.818553] Process mount.cifs (pid: 1991, threadinfo ffff880412722000, task ffff8804024dade0)
[ 152.818553] Stack:
[ 152.818553] ffffffff811828f5 ffff880412723c98 ffffffff81190035 0000000000000020
[ 152.818553] 0000000000000000 ffff8804092826c0 ffff880412723cf8 ffff880412723cd8
[ 152.818553] ffffffff8118344f ffff880412723cd8 ffffffff8118367a ffff8804092826c0
[ 152.818553] Call Trace:
[ 152.818553] [<ffffffff811828f5>] ? d_alloc_and_lookup+0x45/0x90
[ 152.818553] [<ffffffff81190035>] ? d_lookup+0x35/0x60
[ 152.818553] [<ffffffff8118344f>] __lookup_hash.part.28+0xbf/0xe0
[ 152.818553] [<ffffffff8118367a>] ? inode_permission+0x4a/0x110
[ 152.818553] [<ffffffff8118394e>] lookup_one_len+0xee/0x120
[ 152.818553] [<ffffffffa05aa851>] cifs_get_root+0x111/0x190 [cifs]
[ 152.818553] [<ffffffffa05aaa6c>] cifs_do_mount+0x19c/0x280 [cifs]
[ 152.818553] [<ffffffff8117b6e3>] mount_fs+0x43/0x1b0
[ 152.818553] [<ffffffff81195f2a>] vfs_kern_mount+0x6a/0xc0
[ 152.818553] [<ffffffff81197434>] do_kern_mount+0x54/0x110
[ 152.818553] [<ffffffff81198f84>] do_mount+0x1a4/0x260
[ 152.818553] [<ffffffff81199460>] sys_mount+0x90/0xe0
[ 152.818553] [<ffffffff81664d82>] system_call_fastpath+0x16/0x1b
[ 152.818553] Code: Bad RIP value.
[ 152.818553] RIP [< (null)>] (null)
[ 152.818553] RSP <ffff880412723c60>
[ 152.818553] CR2: 0000000000000000
[ 153.718929] ---[ end trace 4cf1ea832a5313fc ]---
---
AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Jun 28 16:00 seq
 crw-rw---T 1 root audio 116, 33 Jun 28 16:00 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=89359a77-435e-4bd9-97ea-6fa46c192bd4
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 0424:2502 Standard Microsystems Corp.
MachineType: IBM IBM eServer BladeCenter HS21 -[8853G4G]-
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=a07db245-f315-4bb3-9941-8fd73581b12a ro
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic N/A
 linux-backports-modules-3.2.0-24-generic N/A
 linux-firmware 1.79
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-10 (49 days ago)
UserGroups:

dmi.bios.date: 10/26/2007
dmi.bios.vendor: IBM
dmi.bios.version: -[BCE126AUS-1.07]-
dmi.board.name: Server Blade
dmi.board.vendor: IBM
dmi.chassis.type: 17
dmi.chassis.vendor: IBM
dmi.modalias: dmi:bvnIBM:bvr-[BCE126AUS-1.07]-:bd10/26/2007:svnIBM:pnIBMeServerBladeCenterHS21-[8853G4G]-:pvr:rvnIBM:rnServerBlade:rvr:cvnIBM:ct17:cvr:
dmi.product.name: IBM eServer BladeCenter HS21 -[8853G4G]-
dmi.sys.vendor: IBM

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1018852

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Avishay Traeger (avishay-il) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Avishay Traeger (avishay-il) wrote : BootDmesg.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : IwConfig.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : Lspci.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : ProcModules.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : UdevDb.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : UdevLog.txt

apport information

Revision history for this message
Avishay Traeger (avishay-il) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.5kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-rc4-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Avishay Traeger, thank you for reporting this and helping make Ubuntu better. Does this occur in a prior version of Ubuntu?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Kjell Braden (afflux) wrote :
Download full text (3.6 KiB)

I experience the same issues since Ubuntu 12.04:

[255028.416026] BUG: unable to handle kernel NULL pointer dereference at (null)
[255028.416034] IP: [< (null)>] (null)
[255028.416038] PGD 22f97a067 PUD 228e26067 PMD 0
[255028.416043] Oops: 0010 [#3] SMP
[255028.416046] CPU 1
[255028.416048] Modules linked in: des_generic md4 nls_utf8 cifs pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) autofs4 bnep rfcomm bluetooth vesafb nfsd nfs lockd fscache binfmt_misc auth_rpcgss nfs_acl nvidia(P) sunrpc snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi coretemp snd_rawmidi snd_seq_midi_event rds_rdma snd_seq rdma_cm ib_cm iw_cm snd_timer ib_sa snd_seq_device i5400_edac ib_mad ib_core ib_addr rds snd psmouse edac_core sctp ppdev i5k_amb mac_hid soundcore dcdbas serio_raw snd_page_alloc shpchp libcrc32c parport_pc lp parport usbhid hid uas usb_storage firewire_ohci firewire_core crc_itu_t mptsas mptscsih mptbase tg3 scsi_transport_sas
[255028.416119]
[255028.416121] Pid: 3210, comm: mount.cifs Tainted: P D O 3.2.0-34-generic #53-Ubuntu Dell Inc. Precision WorkStation T7400 /0RW199
[255028.416126] RIP: 0010:[<0000000000000000>] [< (null)>] (null)
[255028.416128] RSP: 0018:ffff88022918fc60 EFLAGS: 00010286
[255028.416130] RAX: ffffffffa064d6c0 RBX: ffff8801d1e2b9c0 RCX: 0000000000000000
[255028.416132] RDX: 0000000000000000 RSI: ffff8801d1e2b9c0 RDI: ffff880114445030
[255028.416134] RBP: ffff88022918fc98 R08: ffff88023fc56e90 R09: ffffc90000002000
[255028.416136] R10: ffff8802317bbbe0 R11: ffffc90000002000 R12: ffff880114445030
[255028.416138] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801144450d0
[255028.416140] FS: 00007f51347e2700(0000) GS:ffff88023fc40000(0000) knlGS:0000000000000000
[255028.416142] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[255028.416144] CR2: 0000000000000000 CR3: 0000000225add000 CR4: 00000000000006e0
[255028.416146] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[255028.416148] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[255028.416150] Process mount.cifs (pid: 3210, threadinfo ffff88022918e000, task ffff880225c81700)
[255028.416152] Stack:
[255028.416153] ffffffff81182f85 ffff88022918fc98 ffffffff811906f5 0000000000000020
[255028.416157] 0000000000000000 ffff8801d1e2bb40 ffff88022918fcf8 ffff88022918fcd8
[255028.416161] ffffffff81183adf ffff88022918fcd8 ffffffff81183d0a ffff8801d1e2bb40
[255028.416165] Call Trace:
[255028.416172] [<ffffffff81182f85>] ? d_alloc_and_lookup+0x45/0x90
[255028.416176] [<ffffffff811906f5>] ? d_lookup+0x35/0x60
[255028.416179] [<ffffffff81183adf>] __lookup_hash.part.28+0xbf/0xe0
[255028.416182] [<ffffffff81183d0a>] ? inode_permission+0x4a/0x110
[255028.416184] [<ffffffff81183fde>] lookup_one_len+0xee/0x120
[255028.416192] [<ffffffffa0621851>] cifs_get_root+0x111/0x190 [cifs]
[255028.416196] [<ffffffffa0621a6c>] cifs_do_mount+0x19c/0x280 [cifs]
[255028.416200] [<ffffffff8117bd43>] mount_fs+0x43/0x1b0
[255028.416203] [<ffffffff8119662a>] vfs_kern_mount+0x6a/0xc0
[255028.416206] [<ffffffff81197b34>] do_kern_mount+0x54/0x110
[255028.4...

Read more...

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Kjell Braden, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.