Kernel BUG at mm/vmscan.c:1292! with "__list_del_entry" in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • Kernel crash with following logs :
CPU: 0 PID: 34 Comm: kswapd0 Tainted: G    B   W      ------------   3.10.0-862.9.1.el7.x86_64 #1
RIP: 0010:[<ffffffffb91a7ed0>]  [<ffffffffb91a7ed0>] isolate_lru_pages.isra.45+0x130/0x190

[ 2841.809455] WARNING: CPU: 2 PID: 65 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 2841.809459] list_del corruption. prev->next should be ffffefb4ac703420, but was           (null)
[ 2841.811177] kernel BUG at mm/vmscan.c:1302!
[ 2841.811194] invalid opcode: 0000 [#1] SMP
[ 2841.811512] RIP: 0010:[<ffffffffb91ca490>]  [<ffffffffb91ca490>] isolate_lru_pages.isra.46+0x130/0x190

[34745.679014] WARNING: CPU: 0 PID: 1113 at lib/list_debug.c:62 __list_del_entry+0x82/0xd0
[34745.679020] list_del corruption. next->prev should be fffff5bc43a025a0, but was fffff5bc6ec540a0

[34745.823889] BUG: unable to handle kernel NULL pointer dereference at 00000000000003d8
[34745.823941] IP: [<ffffffffb7e3a345>] mem_cgroup_page_lruvec+0x75/0xb0
[34745.824009] Oops: 0000 [#1] SMP 
[34745.824591] CPU: 4 PID: 28234 Comm: umount Kdump: loaded Tainted: G        W      ------------   3.10.0-1062.4.1.el7.x86_64 #1
[34745.824999] Call Trace:
[34745.825020]  [<ffffffffb7dcb021>] release_pages+0x181/0x430
[34745.825051]  [<ffffffffb7dcbc8e>] __pagevec_release+0x2e/0x40
[34745.825073]  [<ffffffffb7dccd88>] truncate_inode_pages_range+0x338/0x750
[34745.825099]  [<ffffffffb7dcd20f>] truncate_inode_pages_final+0x4f/0x60
[34745.825143]  [<ffffffffc06324f8>] ext4_evict_inode+0x78/0x470 [ext4]

[ 5787.443941] WARNING: CPU: 0 PID: 28758 at lib/list_debug.c:59 __list_del_entry+0xa1/0xd0
[ 5787.443944] list_del corruption. prev->next should be ffffbf1b6c703b60, but was           (null)
[ 5787.444020] Call Trace:
[ 5787.444028]  [<ffffffff83b63107>] dump_stack+0x19/0x1b
[ 5787.444032]  [<ffffffff83497768>] __warn+0xd8/0x100
[ 5787.444035]  [<ffffffff834977ef>] warn_slowpath_fmt+0x5f/0x80
[ 5787.444040]  [<ffffffff83aa19a5>] ? tcp_schedule_loss_probe+0x145/0x1e0
[ 5787.444043]  [<ffffffff837952e1>] __list_del_entry+0xa1/0xd0
[ 5787.444047]  [<ffffffff8379531d>] list_del+0xd/0x30
[ 5787.444050]  [<ffffffff835c5150>] __activate_page+0xc0/0x1d0
[ 5787.444053]  [<ffffffff835c5731>] pagevec_lru_move_fn+0xa1/0x130
[ 5787.444056]  [<ffffffff835c5090>] ? __pagevec_lru_add_fn+0x210/0x210
[ 5787.444059]  [<ffffffff835c5d0d>] activate_page+0x8d/0xb0
[ 5787.444062]  [<ffffffff835c5d73>] mark_page_accessed+0x43/0xa0

[ 5787.444149] BUG: unable to handle kernel NULL pointer dereference at           (null)
[ 5787.444186] IP: [<ffffffff83795269>] __list_del_entry+0x29/0xd0
[ 5787.444213] PGD 8000001d456bb067 PUD 1d48b3a067 PMD 0
[ 5787.444236] Oops: 0000 [#1] SMP
[ 5787.444544] task: ffff8db853081040 ti: ffff8dd5c9708000 task.ti: ffff8dd5c9708000
[ 5787.444569] RIP: 0010:[<ffffffff83795269>]  [<ffffffff83795269>] __list_del_entry+0x29/0xd0
[ 5787.444868] Call Trace:
[ 5787.444884]  [<ffffffff8379531d>] list_del+0xd/0x30
[ 5787.444904]  [<ffffffff835c5150>] __activate_page+0xc0/0x1d0
[ 5787.445946]  [<ffffffff835c5731>] pagevec_lru_move_fn+0xa1/0x130
[ 5787.446914]  [<ffffffff835c5090>] ? __pagevec_lru_add_fn+0x210/0x210
[ 5787.447866]  [<ffffffff835c5d0d>] activate_page+0x8d/0xb0
[ 5787.448804]  [<ffffffff835c5d73>] mark_page_accessed+0x43/0xa0
[ 5787.449749]  [<ffffffff835b85b6>] generic_file_aio_read+0x4a6/0x790
[ 5787.450720]  [<ffffffffc06000d5>] xfs_file_buffered_aio_read+0x95/0x110 [xfs]
[ 5787.451654]  [<ffffffffc06008e7>] xfs_file_aio_read+0x87/0x100 [xfs]
[ 5787.459157] RIP  [<ffffffff83795269>] __list_del_entry+0x29/0xd0

Environment

  • Red Hat Enterprise Linux 7
  • 3.10.0-514 ~ 3.10.0-1062.el7

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