Hi
Another round of drbd glitches. As soon as the drbd partner connects and starts to sync it goes BOOM...
I tried 4.7.2-hardened (gentoo) currently not -r1
Any chance this has been already fixed with grsecurity-3.1-4.7.2-201608312326 (in 4.7.2-hardened-r2)?
Thanks
---
krnlm@gentoo-krnlm-15652 ~/kernel/cfg/dom0-kvm-at $ grep ^CONFIG_PAX config-dom0-kvm-at-gw25
CONFIG_PAX_PER_CPU_PGD=y
CONFIG_PAX_USERCOPY_SLABS=y
CONFIG_PAX=y
CONFIG_PAX_PT_PAX_FLAGS=y
CONFIG_PAX_XATTR_PAX_FLAGS=y
CONFIG_PAX_HAVE_ACL_FLAGS=y
CONFIG_PAX_NOEXEC=y
CONFIG_PAX_PAGEEXEC=y
CONFIG_PAX_EMUTRAMP=y
CONFIG_PAX_MPROTECT=y
CONFIG_PAX_KERNEXEC=y
CONFIG_PAX_KERNEXEC_PLUGIN=y
CONFIG_PAX_KERNEXEC_PLUGIN_METHOD_OR=y
CONFIG_PAX_ASLR=y
CONFIG_PAX_RANDKSTACK=y
CONFIG_PAX_RANDUSTACK=y
CONFIG_PAX_RANDMMAP=y
CONFIG_PAX_MEMORY_UDEREF=y
CONFIG_PAX_REFCOUNT=y
CONFIG_PAX_CONSTIFY_PLUGIN=y
CONFIG_PAX_USERCOPY=y
CONFIG_PAX_LATENT_ENTROPY=y
CONFIG_PAX_RAP=y
krnlm@gentoo-krnlm-15652 ~/kernel/cfg/dom0-kvm-at $
---
kernel trace
---
[ 119.282675] kvm: zapping shadow pages for mmio generation wraparound¶
[ 121.958332] kvm: zapping shadow pages for mmio generation wraparound¶
[ 146.334649] PAX: please report this to [email protected]¶
[ 146.347463] BUG: unable to handle kernel NULL pointer dereference at 0000000000000003¶
[ 146.367148] IP: [<ffffffff9d48a2f6>] memcpy_erms+0x6/0x10¶
[ 146.379492] PGD b4202000·¶
[ 146.383502] Oops: 0000 [#1] SMP¶
[ 146.389026] CPU: 1 PID: 5432 Comm: drbd_w_erinome Tainted: G W 4.7.2-hardened-dom0-kvm-at-gw25 #10¶
[ 146.415379] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./J1900N-D3V, BIOS F1 01/22/2014¶
[ 146.441473] task: ffff88041f602300 ti: ffff88041f602978 task.ti: ffff88041f602978¶
[ 146.460016] RIP: 0010:[<ffffffff9d48a2f6>] [<ffffffff9d48a2f6>] memcpy_erms+0x6/0x10¶
[ 146.479651] RSP: 0000:ffffc90009a63ba8 EFLAGS: 00010286¶
[ 146.491682] RAX: ffff8804276d9bf0 RBX: ffffc90009a63cc8 RCX: 00000000000005f0¶
[ 146.509183] RDX: 00000000000005f0 RSI: 0000000000000003 RDI: ffff8804276d9bf0¶
[ 146.526681] RBP: 00000000000007f0 R08: 0000000000000a10 R09: ffff88042c2466c0¶
[ 146.544183] R10: ffff88042069a930 R11: 00000000f8b47059 R12: 8000000000000000¶
[ 146.561684] R13: ffffc90009a63cc8 R14: ffff8804276da1e0 R15: 00000000000005f0¶
[ 146.579185] FS: 0000000000000000(0000) GS:ffff88043fc80000(0000) knlGS:0000000000000000¶
[ 146.599548] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033¶
[ 146.612881] CR2: 0000000000000003 CR3: 000000001dc4c000 CR4: 00000000001026f0¶
[ 146.630381] Stack:¶
[ 146.632516] ffffffff9d48ec92 0000000000000a10 0000000000000810 0000000000000000¶
[ 146.651006] ffff88041f602300 0000000000000a10 ffffc90009a63cb8 ffff880420a57200¶
[ 146.669498] ffff88042069a800 ffff88041f602600 ffffffff9d82c8d7 000005f001030098¶
[ 146.687985] Call Trace:¶
[ 146.691429] [<ffffffff9d48ec92>] ? copy_from_iter+0x13d/0x32c¶
[ 146.705022] [<ffffffff9d82c8d7>] ? tcp_sendmsg+0x5fa/0xa4f¶
[ 146.717835] [<ffffffff9d773c1c>] ? sock_sendmsg+0x38/0x52¶
[ 146.730386] [<ffffffff9d587bd3>] ? drbd_send+0xa5/0x17a¶
[ 146.742415] [<ffffffff9d587cb1>] ? drbd_send_all+0x9/0x2d¶
[ 146.754968] [<ffffffff9d587cb1>] ? drbd_send_all+0x9/0x2d¶
[ 146.767520] [<ffffffff9d589215>] ? _drbd_no_send_page+0x4e/0x6f¶
[ 146.781637] [<ffffffff9d589660>] ? drbd_send_dblock+0x286/0x4dd¶
[ 146.795752] [<ffffffff9d572632>] ? w_send_dblock+0xda/0x14d¶
[ 146.808825] [<ffffffff9d573760>] ? drbd_worker+0x16c/0x38a¶
[ 146.821636] [<ffffffff9d585cac>] ? drbd_thread_setup+0x55/0x164¶
[ 146.835753] [<ffffffff9d585c57>] ? drbd_rs_del_all+0x3fe/0x3fe¶
[ 146.849606] [<ffffffff9d12b068>] ? kthread+0xd5/0xe7¶
[ 146.860857] [<ffffffff9d8e066e>] ? ret_from_fork+0x1e/0x50¶
[ 146.873670] [<ffffffff9d12af93>] ? __kthread_parkme+0x73/0x73¶
[ 146.887260] Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 4c 09 24 24 c3 66 90 48 89 f8 48 89 d1 <f3> a4 4c 09 24 24 c3 0f 1f 00 48 89 f8 48 83 fa 20 72 7e 40 38·¶
[ 146.943305] RIP [<ffffffff9d48a2f6>] memcpy_erms+0x6/0x10¶
[ 146.955909] RSP <ffffc90009a63ba8>¶
[ 146.962470] CR2: 0000000000000003¶
[ 146.968516] ---[ end trace b9b0d5d4b4fecdb0 ]---¶
---