System crash due to kernel BUG at kernel/cgroup.c:895

Solution Verified - Updated -

Issue

  • kernel BUG at kernel/cgroup.c:895
  • System crash due to BUG_ON(!(cgroup_is_removed(cgrp))) assertion in cgroup_diput()

    kernel BUG at kernel/cgroup.c:895!
    invalid opcode: 0000 [#1] SMP 
    ... skipped ...
    CPU: 12 PID: 42483 Comm: kworker/12:0 Tainted: P           OE  ------------   3.10.0-514.21.1.el7.x86_64 #1
    Hardware name: XXX
    Workqueue: cgroup_destroy css_dput_fn
    task: ffff8814bb3b2f10 ti: ffff88177cb84000 task.ti: ffff88177cb84000
    RIP: 0010:[<ffffffff8110c740>]  [<ffffffff8110c740>] cgroup_diput+0xc0/0xf0
    ... skipped ...
    Call Trace:
    [<ffffffff81215b46>] dentry_kill+0x146/0x1b0
    [<ffffffff81215c0c>] dput+0x5c/0xd0
    [<ffffffff8110a90c>] cgroup_dput.isra.21+0x1c/0x30
    [<ffffffff8110a93d>] css_dput_fn+0x1d/0x20
    [<ffffffff810a845b>] process_one_work+0x17b/0x470
    [<ffffffff810a9296>] worker_thread+0x126/0x410
    [<ffffffff810a9170>] ? rescuer_thread+0x460/0x460
    [<ffffffff810b0a4f>] kthread+0xcf/0xe0
    [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140
    [<ffffffff81697418>] ret_from_fork+0x58/0x90
     [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140
    Code: 41 5e 41 5f 5d c3 0f 1f 44 00 00 48 8b 7f 78 48 8b 07 a8 01 74 15 48 81 c7 38 01 00 00 48 c7 c6 60 97 10 81 e8 62 c8 02 00 eb c8 <0f> 0b 49 8b 4e 18 48 c7 c2 fe 91 8d 81 be 87 03 00 00 48 c7 c7 
    RIP  [<ffffffff8110c740>] cgroup_diput+0xc0/0xf0
    RSP <ffff88177cb87d78>
    

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