Kernel panic in __mem_cgroup_commit_charge() with RHEL 7 VM/guest on Microsoft Hyper-V

Solution Verified - Updated -

Issue

  • Red Hat Enterprise Linux guest crashes with error:
:BUG: unable to handle kernel paging request at 000000000117####
...
:RIP: 0010:[<ffffffff811bb710>]  [<ffffffff811bb710>] __mem_cgroup_commit_charge+0x30/0x390
...
: [<ffffffff811bd6a7>] mem_cgroup_charge_common+0x77/0xc0
: [<ffffffff811bf2da>] mem_cgroup_cache_charge+0x8a/0xb0
: [<ffffffff81156dd2>] __add_to_page_cache_locked+0x52/0x260
: [<ffffffff81157037>] add_to_page_cache_lru+0x37/0xb0
...
  • RHEL guest shows memory starvation before the crash where the hv_balloon module is attempting to hot add memory before a crash.

Environment

  • Red Hat Enterprise Linux 7.1 (kernel version 3.10.0-229.el7.x86_64 and above)
  • Microsoft Hyper-V
  • Using hv_balloon module that is signed by Red Hat

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