[12.04] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f0

Bug #929636 reported by Manoj Iyer
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Kernel version: Linux lazy 3.2.0-15-generic #24-Ubuntu SMP Tue Feb 7 22:32:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Cause: Insert a FAT USB stick and click on format.

Looks like this is a regression of some sort, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/770451 reports the same problem.

[ 3067.394289] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f0
[ 3067.394405] IP: [<ffffffff8103cb09>] __ticket_spin_lock+0x9/0x30
[ 3067.394494] PGD 231eb9067 PUD 231e0e067 PMD 0
[ 3067.394560] Oops: 0002 [#1] SMP
[ 3067.394607] CPU 2
[ 3067.394632] Modules linked in: uas usb_storage kvm_intel kvm parport_pc ppdev dm_crypt bnep rfcomm bluetooth snd_cmipci gameport snd_pcm snd_page_alloc snd_opl3_lib snd_hwdep snd_mpu401_uart snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse snd serio_raw soundcore binfmt_misc joydev nls_iso8859_1 nls_cp437 vfat fat tpm_tis mac_hid lp parport hid_microsoft i915 usbhid hid drm_kms_helper e1000e drm i2c_algo_bit video
[ 3067.395204]
[ 3067.395229] Pid: 1849, comm: gvfsd-trash Not tainted 3.2.0-15-generic #24-Ubuntu Intel Corp. Intel(R) UDK2010 firmware developer platform
[ 3067.395390] RIP: 0010:[<ffffffff8103cb09>] [<ffffffff8103cb09>] __ticket_spin_lock+0x9/0x30
[ 3067.395510] RSP: 0018:ffff880231efbe18 EFLAGS: 00010206
[ 3067.395580] RAX: 0000000000010000 RBX: 00000000000000f0 RCX: ffff88023ffb2000
[ 3067.395674] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000000000f0
[ 3067.395769] RBP: ffff880231efbe18 R08: e000000000000000 R09: d038000000000000
[ 3067.395864] R10: fdb8060196863a07 R11: 0000000000000000 R12: ffff880229fa8850
[ 3067.395956] R13: ffff880229fa8948 R14: ffff88022d186864 R15: ffff880229fa8850
[ 3067.396053] FS: 0000000000000000(0000) GS:ffff88023fd00000(0063) knlGS:00000000f7118740
[ 3067.396161] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 3067.396231] CR2: 00000000000000f0 CR3: 0000000231ed9000 CR4: 00000000000006e0
[ 3067.396316] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3067.396405] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 3067.396491] Process gvfsd-trash (pid: 1849, threadinfo ffff880231efa000, task ffff88022d00c4a0)
[ 3067.396594] Stack:
[ 3067.396625] ffff880231efbe28 ffffffff8165765e ffff880231efbe48 ffffffffa0143462
[ 3067.396735] ffff880229fa8850 ffff880229fa8850 ffff880231efbe68 ffffffffa0143bcb
[ 3067.396839] ffff880231efbe68 ffffffffa01476c0 ffff880231efbe98 ffffffff81190878
[ 3067.396947] Call Trace:
[ 3067.396992] [<ffffffff8165765e>] _raw_spin_lock+0xe/0x20
[ 3067.397075] [<ffffffffa0143462>] fat_detach+0x32/0x80 [fat]
[ 3067.397161] [<ffffffffa0143bcb>] fat_evict_inode+0x5b/0x70 [fat]
[ 3067.397253] [<ffffffff81190878>] evict+0xb8/0x1c0
[ 3067.397323] [<ffffffff81190a68>] iput_final+0xe8/0x210
[ 3067.397393] [<ffffffff81190bce>] iput+0x3e/0x50
[ 3067.397454] [<ffffffff811b5cb0>] fsnotify_destroy_mark+0x170/0x180
[ 3067.397529] [<ffffffff811b7caa>] sys_inotify_rm_watch+0x7a/0xd0
[ 3067.397579] [<ffffffff816620b0>] sysenter_dispatch+0x7/0x2e
[ 3067.397622] Code: 00 00 48 c7 c1 11 c9 03 81 48 c7 c2 0e c9 03 81 e9 dd fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 55 b8 00 00 01 00 48 89 e5 <f0> 0f c1 07 89 c2 c1 ea 10 66 39 c2 74 13 66 0f 1f 84 00 00 00
[ 3067.397863] RIP [<ffffffff8103cb09>] __ticket_spin_lock+0x9/0x30
[ 3067.397913] RSP <ffff880231efbe18>
[ 3067.397940] CR2: 00000000000000f0
[ 3067.542191] ---[ end trace 9ad3b665e73e2fe0 ]---

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-15-generic 3.2.0-15.24
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: manjo 1758 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'CMI8738'/'C-Media CMI8738 (model 55) at 0x1000, irq 21'
   Mixer name : 'CMedia PCI'
   Components : ''
   Controls : 41
   Simple ctrls : 22
Date: Thu Feb 9 10:28:11 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Intel Corp. Intel(R) UDK2010 firmware developer platform
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-15-generic root=UUID=cd65b907-5a6a-4c86-952b-764b9ee71705 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-15-generic N/A
 linux-backports-modules-3.2.0-15-generic N/A
 linux-firmware 1.68
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to precise on 2012-02-06 (2 days ago)
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Intel Corp.
dmi.bios.version: SDV.TM.B6 Release Build (CSM)
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnIntelCorp.:bvrSDV.TM.B6ReleaseBuild(CSM):bd01/01/2011:svnIntelCorp.:pnIntel(R)UDK2010firmwaredeveloperplatform:pvr1.0:cvnChassisManufacturer:ct3:cvrChassisVersion:
dmi.product.name: Intel(R) UDK2010 firmware developer platform
dmi.product.version: 1.0
dmi.sys.vendor: Intel Corp.

Revision history for this message
Manoj Iyer (manjo) wrote :
Revision history for this message
Manoj Iyer (manjo) wrote :

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/770451

notes that this happened after a S3 cycle, but it happened after a cold boot.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.3 kernel[1] (Not a kernel in the daily directory). 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 by the mainline kernel, please add the following tag 'kernel-fixed-upstream-KERNEL-VERSION'. For example, if kernel version 3.3-rc2 fixed the issue, the tag would be: 'kernel-fixed-upstream-v3.3-rc2'.

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.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-rc2-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key needs-upstream-testing
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-16.25)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-16.25
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

There is a test kernel available for this bug at:
  http://people.canonical.com/~apw/lp922906-precise/

Can you test this kernel and report back in bug 922906 where or not the test kernel resolved this bug?

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.