Random kernel warnings when running apache with mod_apparmor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am running Ubuntu 14.04.2 with libapache2-
[45589.839473] ------------[ cut here ]------------
[45589.839548] WARNING: CPU: 1 PID: 1526 at /build/
[45589.839552] Modules linked in: cirrus ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt joydev ppdev i2c_piix4 pvpanic mac_hid serio_raw parport_pc lp parport hid_generic usbhid hid floppy psmouse pata_acpi e1000
[45589.839676] CPU: 1 PID: 1526 Comm: apache2 Not tainted 3.16.0-34-generic #47~14.04.1-Ubuntu
[45589.839680] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.
[45589.839684] 0000000000000009 ffff8800b909bc28 ffffffff8176432f 0000000000000000
[45589.839691] ffff8800b909bc60 ffffffff8106dd9d ffff880036b87f80 ffff880036b87f80
[45589.839696] ffff880138af2030 ffff880036a41c30 ffff8800ba9d2f00 ffff8800b909bc70
[45589.839702] Call Trace:
[45589.839712] [<ffffffff81764
[45589.839749] [<ffffffff8106d
[45589.839757] [<ffffffff8106d
[45589.839762] [<ffffffff81764
[45589.839802] [<ffffffff8132f
[45589.839811] [<ffffffff8132c
[45589.839818] [<ffffffff8132d
[45589.839824] [<ffffffff8132a
[45589.839830] [<ffffffff8132a
[45589.839847] [<ffffffff812eb
[45589.839879] [<ffffffff811d3
[45589.839886] [<ffffffff811d5
[45589.839919] [<ffffffff81054
[45589.839936] [<ffffffff810d9
[45589.839943] [<ffffffff811d5
[45589.839950] [<ffffffff811d5
[45589.839963] [<ffffffff8176c
[45589.839967] ---[ end trace 6bc65d507855f6b2 ]---
I am not able to reproduce these warnings by accessing Apache myself. It only happens at random intervals during the normal operation of the webserver.
tags: | added: aa-kernel |
Changed in apparmor: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
A similar problem appeared yesterday. This time the whole VM froze until it was being hard restarted with the qm command line tool.
This is a serious problem for high availability VMs.
[414592.904138] BUG: unable to handle kernel NULL pointer dereference at 0000000000000098 a77>] aa_label_ merge+0x47/ 0x7c0 5.1-0-g8936dbb- 20141113_ 115728- nilsson. home.kraxel. org 04/01/2014 ffffffff8132fa7 7>] [<ffffffff8132f a77>] aa_label_ merge+0x47/ 0x7c0 f8bd50 EFLAGS: 00010297 0(0000) GS:ffff88013fd0 0000(0000) knlGS:000000000 0000000 219>] ? aa_label_ sk_perm. isra.2+ 0x99/0x110 c32>] update_ file_cxt+ 0x32/0x80 842>] aa_file_ perm+0x112/ 0x430 fa8>] ? tcp_rcv_ state_process+ 0x388/0xf30 5e8>] ? sk_reset_ timer+0x18/ 0x30 265>] ? tcp_schedule_ loss_probe+ 0x145/0x1e0 baa>] common_ file_perm+ 0x4a/0x100 8ca>] ? tcp_v4_ do_rcv+ 0x2aa/0x4c0 db8>] apparmor_ file_permission +0x18/0x20 003>] security_ file_permission +0x23/0xa0 ff2>] rw_verify_ area+0x52/ 0xd0 0dd>] vfs_read+0x6d/0x170 d86>] SyS_read+0x46/0xb0 325>] ? SyS_poll+0x65/0x100 a6d>] system_ call_fastpath+ 0x1a/0x1f
[414592.904370] IP: [<ffffffff8132f
[414592.904491] PGD 0
[414592.904518] Oops: 0000 [#1] SMP
[414592.904573] Modules linked in: cirrus ttm drm_kms_helper drm syscopyarea sysfillrect sysimgblt joydev ppdev i2c_piix4 pvpanic mac_hid serio_raw parport_pc lp parport hid_generic usbhid hid floppy psmouse pata_acpi e1000
[414592.904848] CPU: 1 PID: 10822 Comm: apache2 Tainted: G W 3.16.0-34-generic #47~14.04.1-Ubuntu
[414592.904948] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.
[414592.905083] task: ffff88001a559460 ti: ffff8800b9f88000 task.ti: ffff8800b9f88000
[414592.905162] RIP: 0010:[<
[414592.905271] RSP: 0018:ffff8800b9
[414592.905328] RAX: 0000000000000000 RBX: 0000000000000020 RCX: 0000000000000001
[414592.905402] RDX: 0000000000000020 RSI: ffff880138af2030 RDI: ffff88010df5cc80
[414592.905477] RBP: ffff8800b9f8bda8 R08: 0000000000000006 R09: ffff8800b9b8b800
[414592.905551] R10: ffff8800b9f8bcd0 R11: ffff8800b9f8bc78 R12: ffff88010df5cc80
[414592.905632] R13: ffff88010df5cc80 R14: ffff880138af2030 R15: 0000000000000000
[414592.905710] FS: 00007f0e1482578
[414592.905794] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[414592.905855] CR2: 0000000000000098 CR3: 00000000b9d5a000 CR4: 00000000000006e0
[414592.905947] Stack:
[414592.905972] ffff8800b9b8b800 0000000000000000 ffff8800b9b8b800 0000000000000000
[414592.906059] ffff8800b9f8bda8 ffffffff81334219 ffff88001936bf40 ffff88010df5cc80
[414592.906146] ffff880138af2030 0000000000000004 0000000000000000 ffff8800b9f8bdd8
[414592.906246] Call Trace:
[414592.906281] [<ffffffff81334
[414592.906354] [<ffffffff8132c
[414592.906416] [<ffffffff8132d
[414592.906506] [<ffffffff816b4
[414592.906587] [<ffffffff8164b
[414592.906652] [<ffffffff816b7
[414592.906725] [<ffffffff8132a
[414592.906789] [<ffffffff816be
[414592.906853] [<ffffffff8132a
[414592.906936] [<ffffffff812eb
[414592.907030] [<ffffffff811d3
[414592.907093] [<ffffffff811d4
[414592.907150] [<ffffffff811d4
[414592.907250] [<ffffffff811e9
[414592.907280] [<ffffffff8176c
[414592.907303] Code: ec 30 48 85 ff 0f 84 30 06 00 00 4d 85 f6 0f 84 64 07 00 00 4d 39 f5 0f 84 92 04 00 00 41 8b ...