Dec 22 21:58:57 dazza kernel: [ 1324.298658] [<ffffffff811605a5>] 
ksize+0xb5/0xc0
Dec 22 21:58:57 dazza kernel: [ 1324.298660] [<ffffffff8113148c>] 
kzfree+0x1c/0x40
Dec 22 21:58:57 dazza kernel: [ 1324.298663] [<ffffffff812d35aa>] 
apparmor_file_free_security+0x1a/0x20

So whatever apparmor is handing back to slub, its not a Slab page, and
its not a compound page, so its not something slub handed out.  We
should be suspicious of apparmor in the first instance, but it may be
just the victim of other missue of the allocator.

size_t ksize(const void *object)
{
        struct page *page;

        if (unlikely(object == ZERO_SIZE_PTR))
                return 0;

        page = virt_to_head_page(object);

        if (unlikely(!PageSlab(page))) {
                WARN_ON(!PageCompound(page));
                return PAGE_SIZE << compound_order(page);
        }

        return slab_ksize(page->slab);
}
EXPORT_SYMBOL(ksize);


** Summary changed:

- Getting a hard lock on Ubuntu 12.04 -> kernel BUG at 
/build/buildd/linux-3.2.0/mm/slub.c:3422!
+ Getting a hard lock on Ubuntu 12.04 -> kernel BUG at 
/build/buildd/linux-3.2.0/mm/slub.c:3422! (out of apparmor)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/907981

Title:
  Getting a hard lock on Ubuntu 12.04 -> kernel BUG at
  /build/buildd/linux-3.2.0/mm/slub.c:3422! (out of apparmor)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/907981/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to