Platform: Amlogic Meson GXBB (Hardkernel ODROID-C2 SBC)
- Code: Select all
[ 5.233612] kernel BUG at kernel/module.c:1966!
[ 5.237049] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 5.242482] Modules linked in:
[ 5.245503] CPU: 1 PID: 1 Comm: systemd Not tainted 4.8.15-grsec-gxbb #1
[ 5.252141] Hardware name: Hardkernel ODROID-C2 (DT)
[ 5.257058] task: ffff800074480000 task.stack: ffff80007446c000
[ 5.262930] PC is at frob_writable_data.isra.21+0x38/0x40
[ 5.268272] LR is at complete_formation.isra.38+0x120/0x1b0
[ 5.273790] pc : [<ffff000008124d68>] lr : [<ffff000008125b70>] pstate: 00000145
[ 5.281120] sp : ffff80007446fc90
[ 5.284398] x29: ffff80007446fc90 x28: ffff80007446fe68
[ 5.289659] x27: ffff80007446fe58 x26: ffff80007446fd50
[ 5.294920] x25: ffff000008ca2000 x24: ffff80007446fd50
[ 5.300181] x23: ffff000000842b80 x22: 0000000000000001
[ 5.305443] x21: ffff000008124b68 x20: 0000000000000000
[ 5.310704] x19: ffff000008096c20 x18: 0000000000000000
[ 5.315965] x17: 0000ffff94a842d8 x16: ffff0000081282f8
[ 5.321226] x15: ffffffffffffffff x14: ffff000000000000
[ 5.326488] x13: ffffffffffffffff x12: 0000000000000018
[ 5.331749] x11: 0000000000000018 x10: 0101010101010101
[ 5.337010] x9 : 0000000000000001 x8 : 7f7f7f7f7f7f7f7f
[ 5.342272] x7 : 636e6c2cff646b61 x6 : 000000802e6d6f64
[ 5.347533] x5 : 646f6d2e00000000 x4 : 00c8000072c90713
[ 5.352794] x3 : 0000000000000080 x2 : ffff000008096c20
[ 5.358055] x1 : 0000000000008298 x0 : ffff000000840000
[ 5.363316]
[ 5.364784] Process systemd (pid: 1, stack limit = 0xffff80007446c020)
[ 5.371253] Stack: (0xffff80007446fc90 to 0xffff800074470000)
[ 5.376946] fc80: ffff80007446fd50 ffff0000081276a8
[ 5.384708] fca0: 0001000000000000 ffff80007446fe58 ffff000000842b98 ffff000000842e98
[ 5.392471] fcc0: ffff000000842b80 ffff0000088509e0 000000000000091f ffff000008ca2000
[ 5.400233] fce0: 0000000000000c2c ffff000000887ce8 ffff80007446fd10 ffff000000887010
[ 5.407996] fd00: ffff000000880001 ffff000000887654 ffff80007446fd50 ffff000008127644
[ 5.415758] fd20: ffff0000008877e8 ffff800000000028 ffff000000887a68 ffff000000000028
[ 5.423521] fd40: 0000000000000000 ffff000000000000 ffff80007446fe10 ffff0000081283d0
[ 5.431283] fd60: 0000000000000000 0000000000000004 0000ffff94a72830 0000ffff949463e4
[ 5.439046] fd80: 0000000080000000 0000000000000015 0000000000000120 0000000000000111
[ 5.446808] fda0: ffff000008842000 ffff80007446c000 ffff000000000064 ffff00000000006e
[ 5.454571] fdc0: ffff00000000003f 0000feff081d83a0 ffff00000089dfd8 ffff000000000018
[ 5.462333] fde0: 0000000000000000 ffff000000842e98 0000ffff94a72830 0000ffff949463e4
[ 5.470096] fe00: 0000000080000000 0000000000000015 0000000000000000 ffff000008082ef0
[ 5.477858] fe20: 0000000000000000 0000ffff94a72830 ffffffffffffffff 0000000000000000
[ 5.485621] fe40: ffff80007446feb0 0000000000d29e30 ffff000008e95000 ffff000008e95000
[ 5.493383] fe60: 0000000000d29e30 ffff000009bbe070 ffff000009bbde60 ffff0000095822d8
[ 5.501146] fe80: 000000000003dce8 000000000004b7d0 0000000000000000 0000000000000000
[ 5.508908] fea0: 000000000001a210 0000003600000035 0000000000000021 0000001f0000000c
[ 5.516671] fec0: 0000000000000004 0000ffff94a72830 0000000000000000 0000000000000004
[ 5.524433] fee0: 0000000000000000 60ceffffffffffff ffffffffffffffff ffffffffffffffff
[ 5.532196] ff00: 0000000000000111 0000000000000038 0101010101010101 0000000000000001
[ 5.539958] ff20: 0000000000000000 ffffffffffff0000 0000000000000000 0000000000000720
[ 5.547721] ff40: 0000ffff949463c0 0000ffff94a842d8 0000000000000000 0000aaaab3d1e4a0
[ 5.555483] ff60: 0000ffff94a72830 0000000000000000 0000aaaab3d1e5b0 0000000000020000
[ 5.563246] ff80: 0000aaaaaedb5028 0000000000000000 0000000000000000 0000aaaaaedb5058
[ 5.571008] ffa0: 0000000000000000 0000ffffc337d7f0 0000ffff94a6b0ac 0000ffffc337d7f0
[ 5.578771] ffc0: 0000ffff949463e4 0000000080000000 0000000000000004 0000000000000111
[ 5.586533] ffe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 5.594295] Call trace:
[ 5.596711] Exception stack(0xffff80007446fac0 to 0xffff80007446fbf0)
[ 5.603093] fac0: ffff000008096c20 0001000000000000 ffff80007446fc90 ffff000008124d68
[ 5.610856] fae0: ffff80007446faf0 ffff0000083773b0 ffff80007446fb40 ffff000008124ba4
[ 5.618618] fb00: ffff0000088508f8 ffff80007446fc68 ffff0000088508d8 0000000000000000
[ 5.626381] fb20: ffff000000842b80 ffff000000842b80 ffff0000095890d5 ffff000008ca2000
[ 5.634143] fb40: ffff80007446fbf0 ffff000008096b9c ffff00000089d000 000000000001b000
[ 5.641906] fb60: ffff000000840000 0000000000008298 ffff000008096c20 0000000000000080
[ 5.649668] fb80: 00c8000072c90713 646f6d2e00000000 000000802e6d6f64 636e6c2cff646b61
[ 5.657431] fba0: 7f7f7f7f7f7f7f7f 0000000000000001 0101010101010101 0000000000000018
[ 5.665193] fbc0: 0000000000000018 ffffffffffffffff ffff000000000000 ffffffffffffffff
[ 5.672955] fbe0: ffff0000081282f8 0000ffff94a842d8
[ 5.677786] [<ffff000008124d68>] frob_writable_data.isra.21+0x38/0x40
[ 5.684169] [<ffff0000081276a8>] load_module+0x1430/0x1ed0
[ 5.689602] [<ffff0000081283d0>] sys_finit_module+0xd8/0xe8
[ 5.695123] [<ffff000008082ef0>] el0_svc_naked+0x24/0x28
[ 5.700384] Code: d65f03c0 d503201f d4210000 d503201f (d4210000)
[ 5.706441] ---[ end trace 93bf257b7b30b251 ]---
Pre grsec patching the same kconfig boots fine and loads external modules normally. Panic happens whether or not Grsecurity section is enabled at all in menuconfig.
Thanks!