Soft lockup and/or panic in scan_swap_map_slots with panic message "BUG: unable to handle kernel paging request at ffffbfe688eb5001"

Solution In Progress - Updated -

Issue

  • System was panicked with below call trace:
[206906.757183] BUG: unable to handle kernel paging request at ffffbfe688eb5001
[206906.762089] PGD 107d46067 P4D 107d46067 PUD 107d47067 PMD fbd3b5067 PTE 0
[206906.766847] Oops: 0000 [#1] SMP PTI
[206906.770148] CPU: 0 PID: 109 Comm: kswapd0 Kdump: loaded Not tainted 4.18.0-305.el8.x86_64 #1
[206906.777144] Hardware name: Amazon EC2 r5.2xlarge/, BIOS 1.0 10/16/2017
[206906.781790] RIP: 0010:scan_swap_map_slots+0x2c7/0x860
[206906.785757] Code: 64 a0 00 00 48 8b 3d 40 40 dd 01 48 8b 44 24 20 48 83 c0 01 48 89 44 24 20 48 39 f0 0f 87 73 01 00 00 49 8b 94 24 40 a0 00 00 <0f> b6 0c 02 84 c9 0f 84 8b 01 00 00 48 8b 15 16 40 dd 01 48 01 d2
[206906.798865] RSP: 0018:ffffbfe686f139c0 EFLAGS: 00010293
[206906.802978] RAX: 000000000003c001 RBX: 0000000000000000 RCX: ffff9f91fb267400
[206906.809399] RDX: ffffbfe688e79000 RSI: 000000000003ffff RDI: 000000000003ffff
[206906.815840] RBP: 0000000000000100 R08: ffff9f91fb267400 R09: 000000000000001d
[206906.822248] R10: ffffffff9d01fb00 R11: 0000000000000001 R12: ffff9f83495c0000
[206906.828717] R13: 0000000000000000 R14: ffff9f83495c0000 R15: ffff9f83495c0050
[206906.835138] FS:  0000000000000000(0000) GS:ffff9f920dc00000(0000) knlGS:0000000000000000
[206906.841995] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[206906.846293] CR2: ffffbfe688eb5001 CR3: 0000000ab9410005 CR4: 00000000007706f0
[206906.852744] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[206906.859188] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[206906.865660] PKRU: 55555554
[206906.868598] Call Trace:
[206906.871448]  get_swap_pages+0x22e/0x380
[206906.874924]  get_swap_page+0xf3/0x210
[206906.878295]  add_to_swap+0x14/0x70
[206906.881560]  shrink_page_list+0x833/0xbd0
[206906.885102]  shrink_inactive_list+0x19f/0x3e0
[206906.888794]  shrink_lruvec+0x3a9/0x640
[206906.892208]  shrink_node+0x184/0x6a0
[206906.895546]  balance_pgdat+0x2d7/0x550
[206907.010556]  ? __switch_to_asm+0x41/0x70
[206907.014070]  kswapd+0x1f9/0x3c0
[206907.017241]  ? finish_wait+0x80/0x80
[206907.020581]  ? balance_pgdat+0x550/0x550
[206907.024101]  kthread+0x116/0x130
[206907.027320]  ? kthread_flush_work_fn+0x10/0x10
[206907.031044]  ret_from_fork+0x35/0x40
[206907.034387] Modules linked in: ib_core rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache intel_rapl_msr intel_rapl_common isst_if_common nfit libnvdimm ppdev rapl parport_pc pcspkr i2c_piix4 parport binfmt_misc ip_tables xfs libcrc32c crct10dif_pclmul crc32_pclmul crc32c_intel nvme serio_raw ghash_clmulni_intel nvme_core ena t10_pi sunrpc dm_mirror dm_region_hash dm_log dm_mod
[206907.059304] CR2: ffffbfe688eb5001

Environment

  • Red Hat Enterprise Linux 8.

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