gfs2 filesystem causing kernel panic in`gfs2_lookup_by_inum` with error: BUG: unable to handle kernel NULL pointer dereference

Solution Verified - Updated -

Issue

  • A gfs2 filesystem caused a kernel panic to occur:
[53921.650491] BUG: unable to handle kernel NULL pointer dereference at 00000000000003fd
[53921.650526] PGD 0 P4D 0 
[53921.650541] Oops: 0000 [#1] SMP PTI
[53921.650559] CPU: 5 PID: 974286 Comm: kworker/5:3 Kdump: loaded Not tainted 4.18.0-240.22.1.el8_3.x86_64 #1
[53921.650595] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 05/28/2020
[53921.650651] Workqueue: delete_workqueue delete_work_func [gfs2]
[53921.650680] RIP: 0010:gfs2_lookup_by_inum+0x2b/0x50 [gfs2]
[53921.650701] Code: 1f 44 00 00 53 48 8b 3f 48 89 d3 41 89 c8 48 89 d1 48 89 f2 31 f6 e8 d4 fb ff ff 48 85 db 74 08 48 3d 00 f0 ff ff 76 02 5b c3 <f6> 80 fd 03 00 00 02 74 f5 48 89 c7 e8 04 93 ef e7 48 c7 c0 fb ff
[53921.650763] RSP: 0018:ffffaa7392e23e10 EFLAGS: 00010207
[53921.650784] RAX: 0000000000000000 RBX: 7b29742c65286e6f RCX: 0000000000000000
[53921.650811] RDX: 000000000000000d RSI: ffff8c642d7c7300 RDI: 0000000000000246
[53921.650837] RBP: ffffaa7392e23e90 R08: 0000000000000001 R09: ffff8c5987802910
[53921.650860] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8c64610cb038
[53921.650885] R13: ffff8c6473a96000 R14: ffff8c64610cb018 R15: 0000000004a1340a
[53921.650913] FS:  0000000000000000(0000) GS:ffff8c648dd40000(0000) knlGS:0000000000000000
[53921.651565] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[53921.652079] CR2: 00000000000003fd CR3: 0000000a3e60a001 CR4: 00000000001606e0
[53921.652615] Call Trace:
[53921.653141]  delete_work_func+0x93/0x1f0 [gfs2]
[53921.653643]  ? __switch_to_asm+0x41/0x70
[53921.654129]  ? __switch_to+0x7a/0x3f0
[53921.654597]  process_one_work+0x1a7/0x360
[53921.655097]  worker_thread+0x30/0x390
[53921.655564]  ? create_worker+0x1a0/0x1a0
[53921.656020]  kthread+0x112/0x130
[53921.656481]  ? kthread_flush_work_fn+0x10/0x10
[53921.656917]  ret_from_fork+0x35/0x40
[53921.657344] Modules linked in: gfs2 dlm dm_service_time iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi vsock_loopback vmw_vsock_virtio_transport_common binfmt_misc vmw_vsock_vmci_transport vsock sunrpc dm_multipath intel_rapl_msr intel_rapl_common sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmw_balloon intel_rapl_perf joydev pcspkr vmw_vmci i2c_piix4 ip_tables xfs libcrc32c sr_mod cdrom sd_mod sg ata_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm crc32c_intel serio_raw ata_piix vmw_pvscsi libata vmxnet3 dm_mirror dm_region_hash dm_log dm_mod fuse
[53921.660741] CR2: 00000000000003fd

Environment

  • Red Hat Enterprise Linux Server 8 (with the High Availability Add On and Resilient Storage Add Ons)
  • A Global Filesystem 2(gfs2)

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