Kernel panic in __delete_from_page_cache() with a message "kernel BUG at mm/filemap.c:240!"

Solution In Progress - Updated -

Issue

  • kernel panic due to BUG_ON() in the function __delete_from_page_cache()
  • System crashed with the following call traces in the kernel ring buffer :
[603098.378623] kernel BUG at mm/filemap.c:240!
[603098.378635] invalid opcode: 0000 [#1] SMP 
....
[603098.378921] CPU: 6 PID: 102250 Comm: umount Kdump: loaded Tainted: G    B      OE  ------------ T 3.10.0-1127.19.1.el7.x86_64 #1
[603098.378947] Hardware name: Dell Inc. PowerEdge R740/0YNX56, BIOS 2.5.4 01/13/2020
[603098.378965] task: ffffa0d93d1f41c0 ti: ffffa106fc280000 task.ti: ffffa106fc280000
[603098.378982] RIP: 0010:[<ffffffffa93bfa46>]  [<ffffffffa93bfa46>] __delete_from_page_cache+0x286/0x2a0
....
[603098.379196] Call Trace:
[603098.379207]  [<ffffffffa93bfa9b>] delete_from_page_cache+0x3b/0x80
[603098.379223]  [<ffffffffa93ce92b>] truncate_inode_page+0x5b/0x80
[603098.379239]  [<ffffffffa93ceb7a>] truncate_inode_pages_range+0x1ea/0x750
[603098.379259]  [<ffffffffa93cf14f>] truncate_inode_pages_final+0x4f/0x60
[603098.379279]  [<ffffffffa946b7dc>] evict+0x16c/0x180
[603098.379293]  [<ffffffffa946b82e>] dispose_list+0x3e/0x50
[603098.379306]  [<ffffffffa946c53b>] evict_inodes+0xdb/0x140
[603098.379322]  [<ffffffffa944fb8f>] generic_shutdown_super+0x3f/0x100
[603098.379337]  [<ffffffffa9450037>] kill_block_super+0x27/0x70
[603098.379353]  [<ffffffffa945039e>] deactivate_locked_super+0x4e/0x70
[603098.379368]  [<ffffffffa9450b26>] deactivate_super+0x46/0x60
[603098.379383]  [<ffffffffa947005f>] cleanup_mnt+0x3f/0x80
[603098.379396]  [<ffffffffa94700f2>] __cleanup_mnt+0x12/0x20
[603098.379411]  [<ffffffffa92c31cb>] task_work_run+0xbb/0xe0
[603098.379425]  [<ffffffffa922cc65>] do_notify_resume+0xa5/0xc0
[603098.379442]  [<ffffffffa999322f>] int_signal+0x12/0x17
[603098.379456] Code: 07 fe ff ff 90 45 31 f6 e9 46 fe ff ff 48 8b 75 c8 48 89 df e8 fc c9 1c 00 84 c0 0f 85 79 fe ff ff e9 5d fe ff ff e8 2a c0 ed ff <0f> 0b 0f 1f 84 00 00 00 00 00 e8 d8 ad 5b 00 90 66 2e 0f 1f 84 
[603098.380152] RIP  [<ffffffffa93bfa46>] __delete_from_page_cache+0x286/0x2a0
[603098.380777]  RSP <ffffa106fc283ba8>

Environment

  • Red Hat Enterprise Linux 7
  • kernel-3.10.0-1127.19.1.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