kernel BUG at /build/linux-lts-xenial-_hWfOZ/linux-lts-xenial-4.4.0/security/apparmor/include/context.h:69!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am runing sosreport on ubuntu 14.04.4 LTS which has upgrade the kernel to 4.4.0-38-generic, it get oops while copying /sys/module/
cat /sys/module/
[ 213.174092] ------------[ cut here ]------------
[ 213.174130] kernel BUG at /build/
[ 213.174187] invalid opcode: 0000 [#1] SMP
[ 213.174215] Modules linked in: ppdev lp joydev serio_raw parport_pc parport psmouse virtio_scsi floppy
[ 213.174283] CPU: 0 PID: 2246 Comm: cat Not tainted 4.4.0-38-generic #57~14.04.1-Ubuntu
[ 213.174324] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.
[ 213.174380] task: ffff880037b15780 ti: ffff8800399c4000 task.ti: ffff8800399c4000
[ 213.174419] RIP: 0010:[<
[ 213.174478] RSP: 0018:ffff880039
[ 213.174506] RAX: 0000000000000000 RBX: ffff88003a426000 RCX: ffff88003e3802a0
[ 213.174542] RDX: ffff88003a426000 RSI: ffffffff81ddc0d8 RDI: ffff88003a426000
[ 213.174578] RBP: ffff8800399c7d60 R08: ffff88003e3802a0 R09: 0000000000000000
[ 213.174614] R10: 0000000000001000 R11: 0000000000000246 R12: ffffffff81e44ae0
[ 213.174658] R13: ffff88003e3802a0 R14: ffffffff81e4c220 R15: ffff88003c2b2e40
[ 213.174702] FS: 00007f7bea10674
[ 213.174743] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 213.174781] CR2: 0000000000a40038 CR3: 000000003cdfa000 CR4: 00000000000006f0
[ 213.174819] Stack:
[ 213.174832] ffff8800399c7d88 ffffffff8136d58a ffff88003a426000 ffff88003a426000
[ 213.174885] ffff88003e3802a0 ffff8800399c7da0 ffffffff8136fda2 ffff88003e39c5f0
[ 213.174928] ffff8800399c7dd0 ffffffff8109a7e4 ffff88003c2b2e40 ffffffff81a170c0
[ 213.174971] Call Trace:
[ 213.174996] [<ffffffff8136d
[ 213.175030] [<ffffffff8136f
[ 213.175062] [<ffffffff8109a
[ 213.175092] [<ffffffff8109a
[ 213.175130] [<ffffffff8127a
[ 213.175162] [<ffffffff81278
[ 213.175199] [<ffffffff81220
[ 213.175227] [<ffffffff81279
[ 213.176170] [<ffffffff811fd
[ 213.177101] [<ffffffff811fd
[ 213.178016] [<ffffffff811fe
[ 213.178932] [<ffffffff817fa
[ 213.179814] Code: 80 3d 1a 7f b8 00 00 75 1d 55 be 2e 00 00 00 48 c7 c7 f0 2f cb 81 48 89 e5 e8 7c 50 cf ff 5d c6 05 fb 7e b8 00 01 c3 55 48 89 e5 <0f> 0b b8 01 00 00 00 3e 0f c1 07 ff c0 ff c8 7f 26 80 3d df 7e
[ 213.182634] RIP [<ffffffff81388
[ 213.183528] RSP <ffff8800399c7d60>
more information, apparmor/ parameters/ audit
1. on ubuntu14.04.4, after this panic reproduced, all the 4.4.x kernel will get panic when cat /sys/module/
2. on ubuntu14.04.5, it is fine with all 4.4.x kernels.