Build 5.5 linux-hardened-git +debug symbols: build with debug symbols: [ 45.853279] ------------[ cut here ]------------ [ 45.858728] kernel BUG at include/linux/highmem.h:221! [ 45.864642] invalid opcode: 0000 [#1] PREEMPT SMP PTI [ 45.870459] CPU: 0 PID: 606 Comm: memtester Not tainted 5.5.0-1-hardened-git-r889001-gb5d24fe9e7cf #3 [ 45.880445] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470D4U, BIOS L3.31 12/24/2019 [ 45.890613] RIP: 0010:prep_new_page+0x177/0x180 [ 45.895924] Code: 48 89 ef 48 2b 3d e9 d6 f3 00 31 f6 ba 00 10 00 00 48 c1 ff 06 48 c1 e7 0c 48 03 3d e3 d6 f3 00 e8 4e 56 6f 00 48 85 c0 74 9c4 [ 45.916281] RSP: 0018:ffffb45e4046bad0 EFLAGS: 00010286 [ 45.922314] RAX: ffff95d4a9d26fc0 RBX: ffff95d75af68000 RCX: 0101010101010101 [ 45.930258] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95d4a9d26000 [ 45.938206] RBP: ffffd6c303a74980 R08: ffff95d7be833120 R09: 00000000000df095 [ 45.946150] R10: 0000000000000000 R11: 0000000000000100 R12: 0000000000000301 [ 45.954083] R13: ffffd6c303a74980 R14: 0000000000000000 R15: ffffd6c303a749c0 [ 45.962012] FS: 00007ffff7fbe540(0000) GS:ffff95d7be800000(0000) knlGS:0000000000000000 [ 45.970888] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.977412] CR2: 00007ffff58ad038 CR3: 000080010e314000 CR4: 00000000003406f0 [ 45.985309] Call Trace: [ 45.988523] get_page_from_freelist+0x10b1/0x12d0 [ 45.993972] __alloc_pages_nodemask+0x163/0x320 [ 45.999238] alloc_pages_vma+0x76/0x1f0 [ 46.003800] __handle_mm_fault+0xaba/0x1580 [ 46.008694] handle_mm_fault+0xce/0x200 [ 46.013227] __get_user_pages+0x22b/0x7d0 [ 46.017922] populate_vma_page_range+0x7c/0x90 [ 46.023040] __mm_populate+0xb0/0x150 [ 46.027359] do_mlock+0xdf/0x220 [ 46.031234] __x64_sys_mlock+0x1b/0x20 [ 46.035617] do_syscall_64+0x51/0x140 [ 46.039893] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 46.045550] RIP: 0033:0x7ffff7ef135b [ 46.049713] Code: f0 ff ff 73 01 c3 48 8b 0d 32 4b 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 95 00 00 00 0f 058 [ 46.069656] RSP: 002b:00007fffffffe358 EFLAGS: 00000202 ORIG_RAX: 0000000000000095 [ 46.077809] RAX: ffffffffffffffda RBX: 0000000000001000 RCX: 00007ffff7ef135b [ 46.085523] RDX: 0000000000000010 RSI: 00000002fffff010 RDI: 00007ffcf7df7000 [ 46.093223] RBP: 0000000300000000 R08: 0000000000000000 R09: 0000000000000012 [ 46.100908] R10: fffffffffffff27e R11: 0000000000000202 R12: 00007ffcf7df6010 [ 46.108582] R13: 00007ffff7fbe4c0 R14: fffffffffffff000 R15: 0000000000000000 [ 46.116246] Modules linked in: ast drm_vram_helper drm_ttm_helper ttm drm_kms_helper amd64_edac_mod edac_mce_amd kvm_amd kvm wmi_bmof cfg80211 q [ 46.194884] ---[ end trace dab39056051cfc81 ]--- [ 46.200026] RIP: 0010:prep_new_page+0x177/0x180 [ 46.205073] Code: 48 89 ef 48 2b 3d e9 d6 f3 00 31 f6 ba 00 10 00 00 48 c1 ff 06 48 c1 e7 0c 48 03 3d e3 d6 f3 00 e8 4e 56 6f 00 48 85 c0 74 9c4 [ 46.224900] RSP: 0018:ffffb45e4046bad0 EFLAGS: 00010286 [ 46.230655] RAX: ffff95d4a9d26fc0 RBX: ffff95d75af68000 RCX: 0101010101010101 [ 46.238317] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95d4a9d26000 [ 46.245972] RBP: ffffd6c303a74980 R08: ffff95d7be833120 R09: 00000000000df095 [ 46.253629] R10: 0000000000000000 R11: 0000000000000100 R12: 0000000000000301 [ 46.261271] R13: ffffd6c303a74980 R14: 0000000000000000 R15: ffffd6c303a749c0 [ 46.268910] FS: 00007ffff7fbe540(0000) GS:ffff95d7be800000(0000) knlGS:0000000000000000 [ 46.277504] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.283757] CR2: 00007ffff58ad038 CR3: 000080010e314000 CR4: 00000000003406f0 [ 46.291406] Kernel panic - not syncing: Fatal exception [ 46.297152] Kernel Offset: 0x1b000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 46.308457] ---[ end Kernel panic - not syncing: Fatal exception ]--- decoded: [ 45.853279] ------------[ cut here ]------------ [ 45.858728] kernel BUG at include/linux/highmem.h:221! [ 45.864642] invalid opcode: 0000 [#1] PREEMPT SMP PTI [ 45.870459] CPU: 0 PID: 606 Comm: memtester Not tainted 5.5.0-1-hardened-git-r889001-gb5d24fe9e7cf #3 [ 45.880445] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470D4U, BIOS L3.31 12/24/2019 [ 45.890613] RIP: 0010:prep_new_page (linux-hardened/./include/linux/highmem.h:221 linux-hardened/mm/page_alloc.c:2193) [ 45.895924] Code: 48 89 ef 48 2b 3d e9 d6 f3 00 31 f6 ba 00 10 00 00 48 c1 ff 06 48 c1 e7 0c 48 03 3d e3 d6 f3 00 e8 4e 56 6f 00 48 85 c0 74 9c4 sed: -e expression #1, char 1: unknown command: `-' Code starting with the faulting instruction =========================================== 0: 48 89 ef mov %rbp,%rdi 3: 48 2b 3d e9 d6 f3 00 sub 0xf3d6e9(%rip),%rdi # 0xf3d6f3 a: 31 f6 xor %esi,%esi c: ba 00 10 00 00 mov $0x1000,%edx 11: 48 c1 ff 06 sar $0x6,%rdi 15: 48 c1 e7 0c shl $0xc,%rdi 19: 48 03 3d e3 d6 f3 00 add 0xf3d6e3(%rip),%rdi # 0xf3d703 20: e8 4e 56 6f 00 callq 0x6f5673 25: 48 85 c0 test %rax,%rax 28: 74 c4 je 0xffffffffffffffee [ 45.916281] RSP: 0018:ffffb45e4046bad0 EFLAGS: 00010286 [ 45.922314] RAX: ffff95d4a9d26fc0 RBX: ffff95d75af68000 RCX: 0101010101010101 [ 45.930258] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95d4a9d26000 [ 45.938206] RBP: ffffd6c303a74980 R08: ffff95d7be833120 R09: 00000000000df095 [ 45.946150] R10: 0000000000000000 R11: 0000000000000100 R12: 0000000000000301 [ 45.954083] R13: ffffd6c303a74980 R14: 0000000000000000 R15: ffffd6c303a749c0 [ 45.962012] FS: 00007ffff7fbe540(0000) GS:ffff95d7be800000(0000) knlGS:0000000000000000 [ 45.970888] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.977412] CR2: 00007ffff58ad038 CR3: 000080010e314000 CR4: 00000000003406f0 [ 45.985309] Call Trace: [ 45.988523] get_page_from_freelist (linux-hardened/mm/page_alloc.c:3727) [ 45.993972] __alloc_pages_nodemask (linux-hardened/mm/page_alloc.c:4768) [ 45.999238] alloc_pages_vma (linux-hardened/./include/linux/mempolicy.h:78 linux-hardened/./include/linux/mempolicy.h:83 linux-hardened/mm/mempolicy.c:2175) [ 46.003800] __handle_mm_fault (linux-hardened/mm/memory.c:3151 linux-hardened/mm/memory.c:3995 linux-hardened/mm/memory.c:4127) [ 46.008694] handle_mm_fault (linux-hardened/mm/memory.c:4164) [ 46.013227] __get_user_pages (linux-hardened/mm/gup.c:641 linux-hardened/mm/gup.c:851) [ 46.017922] populate_vma_page_range (linux-hardened/mm/gup.c:1235) [ 46.023040] __mm_populate (linux-hardened/mm/gup.c:1291) [ 46.027359] do_mlock (linux-hardened/mm/mlock.c:712) [ 46.031234] __x64_sys_mlock (linux-hardened/mm/mlock.c:718) [ 46.035617] do_syscall_64 (linux-hardened/arch/x86/entry/common.c:294) [ 46.039893] entry_SYSCALL_64_after_hwframe (linux-hardened/arch/x86/entry/entry_64.S:184) [ 46.045550] RIP: 0033:0x7ffff7ef135b [ 46.049713] Code: f0 ff ff 73 01 c3 48 8b 0d 32 4b 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 95 00 00 00 0f 058 sed: -e expression #1, char 1: unknown command: `-' Code starting with the faulting instruction =========================================== 0: f0 ff lock (bad) 2: ff 73 01 pushq 0x1(%rbx) 5: c3 retq 6: 48 8b 0d 32 4b 0c 00 mov 0xc4b32(%rip),%rcx # 0xc4b3f d: f7 d8 neg %eax f: 64 89 01 mov %eax,%fs:(%rcx) 12: 48 83 c8 ff or $0xffffffffffffffff,%rax 16: c3 retq 17: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 1e: 00 1f: f3 0f 1e fa endbr64 23: b8 95 00 00 00 mov $0x95,%eax 28: 0f .byte 0xf 29: 58 pop %rax [ 46.069656] RSP: 002b:00007fffffffe358 EFLAGS: 00000202 ORIG_RAX: 0000000000000095 [ 46.077809] RAX: ffffffffffffffda RBX: 0000000000001000 RCX: 00007ffff7ef135b [ 46.085523] RDX: 0000000000000010 RSI: 00000002fffff010 RDI: 00007ffcf7df7000 [ 46.093223] RBP: 0000000300000000 R08: 0000000000000000 R09: 0000000000000012 [ 46.100908] R10: fffffffffffff27e R11: 0000000000000202 R12: 00007ffcf7df6010 [ 46.108582] R13: 00007ffff7fbe4c0 R14: fffffffffffff000 R15: 0000000000000000 [ 46.116246] Modules linked in: ast drm_vram_helper drm_ttm_helper ttm drm_kms_helper amd64_edac_mod edac_mce_amd kvm_amd kvm wmi_bmof cfg80211 q [ 46.194884] ---[ end trace dab39056051cfc81 ]--- [ 46.200026] RIP: 0010:prep_new_page (linux-hardened/./include/linux/highmem.h:221 linux-hardened/mm/page_alloc.c:2193) [ 46.205073] Code: 48 89 ef 48 2b 3d e9 d6 f3 00 31 f6 ba 00 10 00 00 48 c1 ff 06 48 c1 e7 0c 48 03 3d e3 d6 f3 00 e8 4e 56 6f 00 48 85 c0 74 9c4 sed: -e expression #1, char 1: unknown command: `-' Code starting with the faulting instruction =========================================== 0: 48 89 ef mov %rbp,%rdi 3: 48 2b 3d e9 d6 f3 00 sub 0xf3d6e9(%rip),%rdi # 0xf3d6f3 a: 31 f6 xor %esi,%esi c: ba 00 10 00 00 mov $0x1000,%edx 11: 48 c1 ff 06 sar $0x6,%rdi 15: 48 c1 e7 0c shl $0xc,%rdi 19: 48 03 3d e3 d6 f3 00 add 0xf3d6e3(%rip),%rdi # 0xf3d703 20: e8 4e 56 6f 00 callq 0x6f5673 25: 48 85 c0 test %rax,%rax 28: 74 c4 je 0xffffffffffffffee [ 46.224900] RSP: 0018:ffffb45e4046bad0 EFLAGS: 00010286 [ 46.230655] RAX: ffff95d4a9d26fc0 RBX: ffff95d75af68000 RCX: 0101010101010101 [ 46.238317] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95d4a9d26000 [ 46.245972] RBP: ffffd6c303a74980 R08: ffff95d7be833120 R09: 00000000000df095 [ 46.253629] R10: 0000000000000000 R11: 0000000000000100 R12: 0000000000000301 [ 46.261271] R13: ffffd6c303a74980 R14: 0000000000000000 R15: ffffd6c303a749c0 [ 46.268910] FS: 00007ffff7fbe540(0000) GS:ffff95d7be800000(0000) knlGS:0000000000000000 [ 46.277504] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.283757] CR2: 00007ffff58ad038 CR3: 000080010e314000 CR4: 00000000003406f0 [ 46.291406] Kernel panic - not syncing: Fatal exception [ 46.297152] Kernel Offset: 0x1b000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 46.308457] ---[ end Kernel panic - not syncing: Fatal exception ]---