Kernel panic in the function huge_pte_alloc() due to BUG_ON()

Solution Unverified - Updated -

Issue

  • Kernel panic in the function huge_pte_alloc() due to BUG_ON()
[288556.199760] kernel BUG at mm/hugetlb.c:3858!
[288556.200223] invalid opcode: 0000 [#1] SMP 
[288556.204568] CPU: 3 PID: 19780 Comm: ora_psp0_erp2p2 Tainted: POE  ------------   3.10.0-514.51.1.el7.x86_64 #1
[288556.205243] Hardware name: HP ProLiant DL580 Gen9/ProLiant DL580 Gen9, BIOS U17 10/01/2017
[288556.205847] task: ffff880f1cb3ce70 ti: ffff880ec6ba0000 task.ti: ffff880ec6ba0000
[288556.206551] RIP: 0010:[<ffffffff811d37b4>]  [<ffffffff811d37b4>] huge_pte_alloc+0xf4/0x100
[288556.207278] RSP: 0018:ffff880ec6ba3c48  EFLAGS: 00010246
[288556.216128] Call Trace:
[288556.216907]  [<ffffffff811d38be>] copy_hugetlb_page_range+0xfe/0x400
[288556.217690]  [<ffffffff811b83b9>] copy_page_range+0x3e9/0x490
[288556.218501]  [<ffffffff811d8a33>] ? __mpol_dup+0x73/0x130
[288556.219330]  [<ffffffff811ba2ce>] ? vma_gap_callbacks_rotate+0x1e/0x30
[288556.220142]  [<ffffffff81327c92>] ? __rb_insert_augmented+0x92/0x1f0
[288556.220986]  [<ffffffff811bafe8>] ? __vma_link_rb+0xb8/0xe0
[288556.221808]  [<ffffffff810875e2>] dup_mm+0x362/0x680
[288556.222629]  [<ffffffff81088d7e>] copy_process+0x144e/0x1960
[288556.223415]  [<ffffffff81089441>] do_fork+0x91/0x2c0
[288556.224195]  [<ffffffff810896f6>] SyS_clone+0x16/0x20
[288556.224947]  [<ffffffff816a6614>] stub_clone+0x44/0x70
[288556.225773]  [<ffffffff816a622f>] ? system_call_fastpath+0x1c/0x21
[288556.226673] Code: c0 eb df 48 89 f2 48 89 de e8 f9 26 fe ff 85 c0 75 ed 48 8b 3b e9 56 ff ff ff 48 8b 10 48 f7 c2 9f ff ff ff 74 bc 80 e2 80 75 b7 <0f> 0b 0f 0b 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 
[288556.228531] RIP  [<ffffffff811d37b4>] huge_pte_alloc+0xf4/0x100
[288556.229407]  RSP <ffff880ec6ba3c48>

Environment

  • Red Hat Enterprise Linux 7
  • kernel-3.10.0-514.51.1.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In