System crash due to kernel BUG at mm/huge_memory.c:1989!

Solution Verified - Updated -

Issue

  • Kernel panics with the following messages:
[22320502.735528] mapcount 0 page_mapcount 1
[22320502.735572] ------------[ cut here ]------------
[22320502.735587] kernel BUG at mm/huge_memory.c:1989!
[22320502.735602] invalid opcode: 0000 [#1] SMP 
[22320502.735617] Modules linked in: ip6table_filter 
[22320502.735977] CPU: 47 PID: 268 Comm: kswapd1 Tainted: G        W      ------------ T 3.10.0-693.el7.x86_64 #1
[22320502.736004] Hardware name: 
[22320502.736032] task: ffff885ebb814f10 ti: ffff885ebb4f0000 task.ti: ffff885ebb4f0000
[22320502.736053] RIP: 0010:[<ffffffff811ed5c8>]  [<ffffffff811ed5c8>] __split_huge_page+0x738/0x750
[22320502.736083] RSP: 0018:ffff885ebb4f3910  EFLAGS: 00010297
[..]
[22320502.736301] Stack:
[22320502.736309]  0000000000000286 ffff88594bfd97b0 ffff885ebb4f3958 00000000811f7095
[22320502.736334]  00000007f70ffe00 ffff885ebb4f3ba8 00000040ac418000 0000000000000000
[22320502.736360]  0000000000000000 00000000de612868 ffff88594bfd9780 ffffea01ac418000
[22320502.736384] Call Trace:
[22320502.736396]  [<ffffffff811ed656>] split_huge_page_to_list+0x76/0xf0
[22320502.736418]  [<ffffffff811c4217>] add_to_swap+0x57/0x80
[22320502.736438]  [<ffffffff8119657b>] shrink_page_list+0x7fb/0xad0
[22320502.736458]  [<ffffffff81196e7a>] shrink_inactive_list+0x1ca/0x5d0
[22320502.736477]  [<ffffffff81197975>] shrink_lruvec+0x385/0x730
[22320502.736495]  [<ffffffff81197d96>] shrink_zone+0x76/0x1a0
[22320502.736512]  [<ffffffff8119905c>] balance_pgdat+0x48c/0x5e0
[22320502.736530]  [<ffffffff81199323>] kswapd+0x173/0x440
[22320502.736547]  [<ffffffff810b1910>] ? wake_up_atomic_t+0x30/0x30
[22320502.736566]  [<ffffffff811991b0>] ? balance_pgdat+0x5e0/0x5e0
[22320502.736583]  [<ffffffff810b098f>] kthread+0xcf/0xe0
[22320502.736599]  [<ffffffff810b08c0>] ? insert_kthread_work+0x40/0x40
[22320502.737371]  [<ffffffff816b4f18>] ret_from_fork+0x58/0x90
[22320502.738093]  [<ffffffff810b08c0>] ? insert_kthread_work+0x40/0x40
[22320502.738800] Code: c7 c0 02 91 81 31 c0 83 c1 01 e8 cd 07 4b 00 0f 0b e8 6d a1 e9 ff 0f 0b 0f 0b f3 90 49 8b 07 a9 00 00 00 01 75 f4 e9 60 fa ff ff <0f> 0b 49 8b 47 30 49 8b 17 80 e6 80 49 0f 44 c7 e9 1e fc ff ff 
[22320502.740331] RIP  [<ffffffff811ed5c8>] __split_huge_page+0x738/0x750
[22320502.741073]  RSP <ffff885ebb4f3910>

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content