kernel panic due to BUG_ON() in the function __delete_from_page_cache()

Solution Verified - Updated -

Issue

  • kernel panic due to BUG_ON() in the function __delete_from_page_cache()
[14288962.425634] kernel BUG at mm/filemap.c:201!
[14288962.425862] invalid opcode: 0000 [#1] SMP 
..
[14288962.430851] CPU: 20 PID: 25703 Comm: in:imjournal Tainted: G    B          ------------   3.10.0-327.el7.x86_64 #1
[14288962.431371] Hardware name: Cisco Systems Inc UCSB-B200-M4/UCSB-B200-M4, BIOS B200M4.3.1.3f.0.110320162243 11/03/2016
[14288962.431913] task: ffff886fab635080 ti: ffff883edafe4000 task.ti: ffff883edafe4000
[14288962.432463] RIP: 0010:[<ffffffff8116a428>]  [<ffffffff8116a428>] __delete_from_page_cache+0x2b8/0x2d0
..
[14288962.442700] Call Trace:
[14288962.443414]  [<ffffffff811d05ed>] ? __mem_cgroup_uncharge_common+0xcd/0x2f0
[14288962.444158]  [<ffffffff8116a47e>] delete_from_page_cache+0x3e/0xa0
[14288962.444907]  [<ffffffff81178c1b>] truncate_inode_page+0x5b/0x80
[14288962.445662]  [<ffffffff81184823>] shmem_undo_range+0x2e3/0x6f0
[14288962.446425]  [<ffffffff81184c44>] shmem_truncate_range+0x14/0x30
[14288962.447189]  [<ffffffff81184d17>] shmem_evict_inode+0xb7/0x130
[14288962.447961]  [<ffffffff811fa097>] evict+0xa7/0x170
[14288962.448738]  [<ffffffff811fa8d5>] iput+0xf5/0x180
[14288962.449518]  [<ffffffff811f5448>] dentry_kill+0x168/0x1b0
[14288962.450307]  [<ffffffff811f54ec>] dput+0x5c/0xd0
[14288962.451091]  [<ffffffff811e03bb>] __fput+0x17b/0x270
[14288962.451884]  [<ffffffff811e05ee>] ____fput+0xe/0x10
[14288962.452674]  [<ffffffff810a22d7>] task_work_run+0xa7/0xe0
[14288962.453465]  [<ffffffff81014b12>] do_notify_resume+0x92/0xb0
[14288962.454255]  [<ffffffff81645bbd>] int_signal+0x12/0x17
[14288962.455020] Code: 8b 45 c8 75 28 4c 89 30 e9 78 fe ff ff 48 8b 75 c0 4c 89 ff e8 fa eb 18 00 84 c0 0f 85 64 fe ff ff e9 47 fe ff ff e8 c8 0b f1 ff <0f> 0b 66 0f 1f 44 00 00 e8 c8 5c 4c 00 66 66 2e 0f 1f 84 00 00 
[14288962.456604] RIP  [<ffffffff8116a428>] __delete_from_page_cache+0x2b8/0x2d0
[14288962.457359]  RSP <ffff883edafe7b90>

Environment

  • Red Hat Enterprise Linux 7
  • kernel-3.10.0-327.el7.x86_64

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