RHEL7: Kernel crashes in move_freepages() with a message "kernel BUG at mm/page_alloc.c:1656!"
Issue
- kernel crashes in move_freepages() with a message "kernel BUG at mm/page_alloc.c:1656!"
PANIC: "kernel BUG at mm/page_alloc.c:1656!"
- Vmcore backtrace crashes at exception
[1118178.576831] kernel BUG at mm/page_alloc.c:1660!
[1118178.581546] invalid opcode: 0000 [#1] SMP
[1118178.684511] CPU: 178 PID: 253970 Comm: ps Kdump: loaded Tainted: G OE ------------ T 3.10.0-1160.el7.x86_64 #1
[1118178.695654] Hardware name: Dell Inc. PowerEdge R7525/05Y13N, BIOS 2.9.3 08/05/2022
[1118178.703406] task: ffffa089af3b9080 ti: ffffa143a5720000 task.ti: ffffa143a5720000
[1118178.711076] RIP: 0010:[<ffffffff9f7c424e>] [<ffffffff9f7c424e>] move_freepages+0x15e/0x160
[1118178.719637] RSP: 0018:ffffa143a5723b50 EFLAGS: 00010006
[1118178.725137] RAX: ffffa0e77f1d9000 RBX: ffffdf4141ff8000 RCX: 0000000000000001
[1118178.732455] RDX: ffffa0e77f1da000 RSI: 0000000000000000 RDI: ffffa0e77f1da000
[1118178.739780] RBP: ffffa143a5723ba0 R08: 000000000607f200 R09: 000000000407ffff
[1118178.747101] R10: ffffdf4141ffffc0 R11: 0000000000000246 R12: 0000000000000001
[1118178.754424] R13: 0000000000000001 R14: ffffa0e77f1da0f8 R15: ffffdf4141ffffc0
[1118178.761750] FS: 00007fc52983d880(0000) GS:ffffa0e5ff080000(0000) knlGS:0000000000000000
[1118178.770185] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1118178.776114] CR2: 00007fc52984c000 CR3: 00000053f584e000 CR4: 0000000000760ee0
[1118178.783545] PKRU: 55555554
[1118178.786437] Call Trace:
[1118178.789065] [<ffffffff9f7c42c3>] move_freepages_block+0x73/0x80
[1118178.795262] [<ffffffff9f7c5cc4>] __rmqueue+0x264/0x460
[1118178.800678] [<ffffffff9f7c83b4>] get_page_from_freelist+0x534/0xac0
[1118178.807215] [<ffffffff9f7c8aa6>] __alloc_pages_nodemask+0x166/0x450
[1118178.813758] [<ffffffff9f8189d8>] alloc_pages_current+0x98/0x110
[1118178.819953] [<ffffffff9f7c347e>] __get_free_pages+0xe/0x40
[1118178.825707] [<ffffffff9f8ca5a6>] proc_pid_cmdline_read+0x96/0x5d0
[1118178.832072] [<ffffffff9f90898c>] ? security_file_permission+0x8c/0xa0
[1118178.838979] [<ffffffff9f84d9bf>] vfs_read+0x9f/0x170
[1118178.844218] [<ffffffff9f84e83f>] SyS_read+0x7f/0xf0
[1118178.849367] [<ffffffff9fd93f92>] system_call_fastpath+0x25/0x2a
[1118178.855557] Code: f5 a0 b8 35 a0 e9 26 ff ff ff 0f 1f 00 48 89 d0 48 c1 ea 29 48 c1 e8 36 81 e2 00 18 00 00 48 03 14 c5 a0 b8 35 a0 e9 e4 fe ff ff <0f> 0b 66 66 66 66 90 4c 8b 05 94 1a a8 00 48 89 f0 4c 29 c0 48
[1118178.876131] RIP [<ffffffff9f7c424e>] move_freepages+0x15e/0x160
[1118178.882340] RSP <ffffa143a5723b50>
Environment
- Red Hat Enterprise Linux 7.7 and later
- Seen on
kernel-3.10.0-1062.18.1.el7,
kernel-3.10.0-1160.el7`
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.