A kernel panic occurred on `kernel_getpeername` with message ` BUG: unable to handle kernel paging request at 000000108175c8b8` on RHEL 7

Solution Unverified - Updated -

Issue

  • A kernel NULL pointer dereference kernel_getpeername while attempting to fence a node that is using dlm and lvmlockd as pacemaker resources.
[17300.451046] BUG: unable to handle kernel paging request at 000000108175c8b8
[17300.451073] IP: [<ffffffff81567202>] kernel_getpeername+0x12/0x20
[17300.451097] PGD 0 
[17300.451104] Oops: 0000 [#1] SMP 
[17300.451115] Modules linked in: gfs2 dlm fuse xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables bonding ipt_REJECT nf_reject_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c iptable_filter vfat fat iTCO_wdt iTCO_vendor_support sb_edac edac_core dm_service_time intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm ses enclosure irqbypass crc32_pclmul ghash_clmulni_intel i2c_i801 aesni_intel lrw gf128mul glue_helper ablk_helper cryptd hpwdt sg pcspkr hpilo lpc_ich ioatdma shpchp dca ipmi_si ipmi_devintf ipmi_msghandler wmi dm_multipath pcc_cpufreq acpi_power_meter nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc ip_tables ext4 mbcache jbd2 sd_mod crc_t10dif
[17300.451351]  crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper qla2xxx syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm tg3 crct10dif_pclmul crct10dif_common crc32c_intel ptp scsi_transport_fc i2c_core pps_core hpsa(OE) scsi_tgt scsi_transport_sas dm_mirror dm_region_hash dm_log dm_mod
[17300.451435] CPU: 37 PID: 0 Comm: swapper/37 Tainted: G           OE  ------------   3.10.0-693.5.2.el7.x86_64 #1
[17300.451460] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 02/17/2017
[17300.451497] task: ffff880126dadee0 ti: ffff880126dc8000 task.ti: ffff880126dc8000
[17300.451516] RIP: 0010:[<ffffffff81567202>]  [<ffffffff81567202>] kernel_getpeername+0x12/0x20
[17300.451540] RSP: 0018:ffff883f7e7babe0  EFLAGS: 00010286
[17300.451554] RAX: 000000108175c880 RBX: ffff8800228e0000 RCX: 0000000000000001
[17300.451571] RDX: ffff883f7e7bac2c RSI: ffff883f7e7bac30 RDI: ffff883f7e7bad00
[17300.451589] RBP: ffff883f7e7babe0 R08: 0000000000000001 R09: 0000000000000084
[17300.451606] R10: 0000000000000647 R11: ffff883f7f3430ee R12: ffff8800228e01a8
[17300.451624] R13: ffffffffc06c2140 R14: ffff883e37f500f8 R15: 0000000000000000
[17300.451641] FS:  0000000000000000(0000) GS:ffff883f7f340000(0000) knlGS:0000000000000000
[17300.451661] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17300.451675] CR2: 000000108175c8b8 CR3: 00000000019f2000 CR4: 00000000003407e0
[17300.451693] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[17300.451711] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[17300.451728] Stack:
[17300.451734]  ffff883f7e7bace0 ffffffffc06c21ac ffffffff816ebd40 0000000000000000
[17300.451755]  ffff883f7e7baab0 0000002000000000 0000000000000000 0000000000000000
[17300.451776]  0000000000000000 ffff883f7e7bac28 ffff883f7e7bac28 0000000000000001
[17300.451797] Call Trace:
[17300.451804] Code: 8b 47 28 31 c9 48 89 e5 ff 50 38 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 8b 47 28 b9 01 00 00 00 48 89 e5 <ff> 50 38 5d c3 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 
[17300.451894] RIP  [<ffffffff81567202>] kernel_getpeername+0x12/0x20
[17300.451912]  RSP <ffff883f7e7babe0>
[17300.451921] CR2: 000000108175c8b8

Environment

  • Red Hat Enterprise Linux Server 6, 7 (with the High Availability Add On and Resilient Storage Add Ons)
  • A pacemaker cluster that has a configured controld resource for managing DLM.

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