BUG: unable to handle kernel NULL pointer dereference at 0000000000000010

Bug #367499 reported by ar
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
John Johansen

Bug Description

Ndivia driver 180.53

ProblemType: KernelOops
Annotation: Your system might become unstable now and might need to be restarted.
Architecture: amd64
DistroRelease: Ubuntu 9.04
Failure: oops
HibernationDevice: RESUME=UUID=25a9f638-ba02-4cd8-819d-a91a7e23ddcd
MachineType: LENOVO 27523HG
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcCmdLine: root=UUID=3e767d91-818d-4fec-a731-cdc40aedfd70 ro quiet splash
ProcVersionSignature: Ubuntu 2.6.28-11.42-generic
SourcePackage: linux
Tags: kernel-oops
Title: BUG: unable to handle kernel NULL pointer dereference at 0000000000000010

Revision history for this message
ar (arjenmeijernl) wrote :
Revision history for this message
Evgeny Kapun (abacabadabacaba) wrote :

Backtrace shows that kernel crashed inside AppArmor function. Probably this is AppArmor bug.

Kees Cook (kees)
Changed in apparmor (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu):
status: New → Confirmed
security vulnerability: no → yes
Revision history for this message
John Johansen (jjohansen) wrote :

ar could you attach your profile set

Revision history for this message
ar (arjenmeijernl) wrote :

What is a profile set? Where can I find it?
Please give me the folder/file name and I will upload it to you.

Revision history for this message
John Johansen (jjohansen) wrote :

Your profile set is the text files of the profiles on your system. They are found in /etc/apparmor.d/

Revision history for this message
ar (arjenmeijernl) wrote :

here they come.

Revision history for this message
Steve Beattie (sbeattie) wrote : Re: [Bug 367499] Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000010

Hi ar,

On Thu, Apr 30, 2009 at 09:08:03AM -0000, ar wrote:
> ** Attachment added: "apparmor.tar.gz"
> http://launchpadlibrarian.net/26171661/apparmor.tar.gz

Unfortunately, this contains the contents of /etc/apparmor/ rather than
/etc/apparmor.d/ (note the trailing '.d') which contains some
configuration settings for apparmor but not the actual policy itself.
Running "tar -C /etc/ -cvzf apparmor.d.tar.gz apparmor.d" will collect
the apparmor policies into a tarball to attach.

Thanks for your patience!

--
Steve Beattie
<email address hidden>
http://NxNW.org/~steve/

Revision history for this message
ar (arjenmeijernl) wrote :

New try.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Kees Cook (kees)
security vulnerability: yes → no
Changed in linux (Ubuntu):
assignee: nobody → John Johansen (jjohansen)
Revision history for this message
John Johansen (jjohansen) wrote :

Eugene,

I have not been able to reproduce or track this bug down, have you seen it again, and if so is it reliably reproducable? Also could you try this under the newer Karmic kernel?

thanks

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Matt Jackson (mjj-launchpad) wrote :

Happened for me in karmic. Load average went through the roof but eventually came back. Afterwards keyboard won't work in gnome-terminal but does in other applications. Mouse works.

For me, the trigger was starting VirtualBox.

Revision history for this message
John Johansen (jjohansen) wrote :

Matt,

sounds like virtual box crashing some where around when it does its input grab, I have experienced virtual machines grabbing input and not returning before too, can you try to replicate and then from a terminal run

apport-collect -p linux-image-`uname -r` 367499

it might be an idea to have the above command entered in the terminal in advance and just use the virtual keyboard to hit enter with the mouse.

thanks

Revision history for this message
Matt Jackson (mjj-launchpad) wrote :

It seems that you're thinking that VirtualBox is running Ubuntu. I'm running Ubuntu as the host system and WinXP under VirtualBox and losing the keyboard under Ubuntu. USB keyboard (and mouse) if that helps.

I will try and run the command next time it happens.

Revision history for this message
John Johansen (jjohansen) wrote :

Matt,

Actually I assumed Ubuntu was the host and that the crash was happening when the virtual box VM crashed/faulted in some form when grabbing input from X. I have seen loss of input devices (mouse and/or keyboard) like this under both virtual box and VMWare.

Revision history for this message
John Johansen (jjohansen) wrote :

Matt,

if you encounter this bug again can you please run

apport-collect -p linux 367499

thanks

Revision history for this message
Matt Jackson (mjj-launchpad) wrote :

Will do. I have it in a script ready to run. Unfortunately (for debugging purposes) I have seen the symptoms (slowdown, no keyboard) but haven't been able to do anything other than press the reset button on the front. I can't even ssh in from another machine as it won't connect.

Changed in linux (Ubuntu):
status: Incomplete → In Progress
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.32-21.31

---------------
linux (2.6.32-21.31) lucid; urgency=low

  [ Andy Whitcroft ]

  * allow modules.builtin to be optional
  * d-i: add mpt2sas to the message-modules udeb
    - LP: #530361

  [ Christopher James Halse Rogers ]

  * SAUCE: Nouveau: Add quirk framework to disable acceleration
    - LP: #544088, #546393
  * SAUCE: Nouveau: Disable acceleration on MacBook Pros
    - LP: #546393
  * SAUCE: Nouveau: Disable acceleration on GeForce3 cards
    - LP: #544088
  * SAUCE: Nouveau: Disable acceleration on 6100 cards
    - LP: #542950

  [ Stefan Bader ]

  * SAUCE: dma-mapping: Remove WARN_ON in dma_free_coherent
    - LP: #458201

  [ Surbhi Palande ]

  * SAUCE: sync before umount to reduce time taken by ext4 umount
    - LP: #543617

  [ Upstream Kernel Changes ]

  * tipc: Fix oops on send prior to entering networked mode (v3)
    - CVE-2010-1187
  * KVM: x86 emulator: Add Virtual-8086 mode of emulation
    - LP: #561425
  * KVM: x86 emulator: fix memory access during x86 emulation
    - LP: #561425
  * KVM: x86 emulator: Check IOPL level during io instruction emulation
    - LP: #561425
  * KVM: x86 emulator: Fix popf emulation
    - LP: #561425
  * KVM: Fix segment descriptor loading
    - LP: #561425
  * KVM: VMX: Update instruction length on intercepted BP
    - LP: #561425
  * KVM: VMX: Use macros instead of hex value on cr0 initialization
    - LP: #561425
  * KVM: SVM: Reset cr0 properly on vcpu reset
    - LP: #561425
  * KVM: VMX: Disable unrestricted guest when EPT disabled
    - LP: #561425
  * KVM: x86: disable paravirt mmu reporting
    - LP: #561425
  * AppArmor: Fix put of unassigned ns if aa_unpack fails
  * AppArmor: Fix refcount bug when exec fails
    - LP: #562063
  * AppArmor: Take refcount on cxt->profile to ensure it remains a valid
    reference
    - LP: #367499
  * AppArmor: fix typo in scrubbing environment variable warning
    - LP: #562060
  * AppArmor: fix regression by setting default to mediate deleted files
    - LP: #562056
  * AppArmor: fix refcount order bug that can trigger during replacement
    - LP: #367499
  * AppArmor: Make sure to unmap aliases for vmalloced dfas before they are
    live
    - LP: #529288
  * AppArmor: address performance regression of replaced profile
    - LP: #549428
  * AppArmor: make the global side the correct type
    - LP: #562047
  * AppArmor: use the kernel shared workqueue to free vmalloc'ed dfas
  * sky2: add register definitions for new chips
    - LP: #537168
  * sky2: 88E8059 support
    - LP: #537168
  * net: Fix Yukon-2 Optima TCP offload setup
    - LP: #537168
  * net: Add missing TST_CFG_WRITE bits around sky2_pci_write
    - LP: #537168
  * sky2: print Optima chip name
    - LP: #537168
  * (Upstream) dell-laptop: defer dell_rfkill_update to worker thread
    - LP: #555261
  * drm/nv40: add LVDS table quirk for Dell Latitude D620
    - LP: #539730
 -- Andy Whitcroft <email address hidden> Tue, 13 Apr 2010 18:50:58 +0100

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
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.