Kernel panic in "notify_connection_state()" function due to involvement of third party kernel module "drbd"

Solution Verified - Updated -

Issue

  • Kernel panic occurred at notify_connection_state() function due to third party module drbd
  • Kernel panic with following call traces :
[2072929.794085] drbd slppmq92 up16177: ack_receiver terminated
[2072929.794086] drbd slppmq92 up16177: Terminating ack_recv thread
[2072929.794175] drbd slppmq92 up16177: Terminating sender thread
[2072929.794205] drbd slppmq92 up16177: Starting sender thread (from drbd_r_slppmq92 [124319])
[2072929.795143] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[2072929.795171] IP: [<ffffffffc09a949a>] notify_connection_state+0x7a/0x200 [drbd]
[2072929.795229] PGD 80000006bf1ff067 PUD 6c0eda067 PMD 0 
[2072929.795246] Oops: 0000 [#1] SMP 
[2072929.795258] Modules linked in: dm_snapshot dm_bufio vsock_diag af_packet_diag netlink_diag udp_diag tcp_diag inet_diag nfsv3 nfs_acl ext4 mbcache jbd2 microsoft_dependency_agent(POE) bluechannel(POE) nf_conntrack_netlink drbd_transport_tcp(OE) drbd(OE) unix_diag ip6table_mangle ip6table_nat nf_nat_ipv6 ip6table_raw iptable_mangle xt_CT iptable_raw xt_NFLOG xt_set xt_multiport xt_conntrack iptable_nat nf_nat_ipv4 nf_nat ip_set_hash_ip ip_set_hash_net ip_set nfnetlink_queue nfnetlink_log nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_LOG nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack iptable_filter rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache vmw_vsock_vmci_transport vsock sunrpc sb_edac iosf_mbi crc32_pclmul ppdev ghash_clmulni_intel
[2072929.795470]  vmw_balloon aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg vmw_vmci i2c_piix4 parport_pc parport binfmt_misc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sd_mod sysfillrect sysimgblt fb_sys_fops ahci crc_t10dif ttm crct10dif_generic ata_piix libahci drm crct10dif_pclmul crct10dif_common libata crc32c_intel nfit serio_raw libnvdimm vmxnet3 vmw_pvscsi drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod fuse
[2072929.795610] CPU: 3 PID: 126516 Comm: drbdsetup Kdump: loaded Tainted: P           OE  ------------   3.10.0-1160.88.1.el7.x86_64 #1
[2072929.795638] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 05/28/2020
[2072929.795663] task: ffff9d29205b6300 ti: ffff9d28c0140000 task.ti: ffff9d28c0140000
[2072929.795683] RIP: 0010:[<ffffffffc09a949a>]  [<ffffffffc09a949a>] notify_connection_state+0x7a/0x200 [drbd]
[2072929.795714] RSP: 0018:ffff9d28c0143a18  EFLAGS: 00010246
[2072929.795728] RAX: ffff9d2702239ed4 RBX: ffff9d293b3d0b00 RCX: 0000000000000000
[2072929.795746] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9d2702239edc
[2072929.795764] RBP: ffff9d28c0143a70 R08: 0000000000000000 R09: 0000000000000004
[2072929.795782] R10: ffff9d2702239edc R11: 000000000000000c R12: 0000000000000000
[2072929.795800] R13: ffff9d2702239ed4 R14: 0000000000008000 R15: 0000000000000000
[2072929.795819] FS:  00007f197e8c3780(0000) GS:ffff9d2a3fcc0000(0000) knlGS:0000000000000000
[2072929.795840] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2072929.795854] CR2: 0000000000000010 CR3: 00000007301ea000 CR4: 00000000001607e0
[2072929.795897] Call Trace:
[2072929.795918]  [<ffffffffc09af91a>] notify_connection_state_change+0x3a/0x60 [drbd]
[2072929.795945]  [<ffffffffc09ab9d1>] get_initial_state+0x131/0x260 [drbd]
[2072929.795965]  [<ffffffffc09abb51>] drbd_adm_get_initial_state+0x51/0x190 [drbd]
[2072929.795987]  [<ffffffff82cbb4b4>] netlink_dump+0xd4/0x2b0
[2072929.796002]  [<ffffffff82cbb8fd>] netlink_recvmsg+0x26d/0x4a0
[2072929.796020]  [<ffffffff82c5e655>] sock_recvmsg+0xc5/0x110
[2072929.796038]  [<ffffffff827cbbed>] ? filemap_fault+0x17d/0x420
[2072929.796058]  [<ffffffff82c5f803>] ___sys_recvmsg+0x133/0x2d0
[2072929.796075]  [<ffffffff82c60dd1>] __sys_recvmsg+0x51/0x90
[2072929.796090]  [<ffffffff82c60e22>] SyS_recvmsg+0x12/0x30
[2072929.796105]  [<ffffffff82dc539a>] system_call_fastpath+0x25/0x2a
[2072929.796841] Code: 48 c7 c1 40 56 9d c0 48 89 df e8 b2 54 31 c2 48 85 c0 49 89 c5 0f 84 6f 01 00 00 c7 00 ff ff ff ff c7 40 04 65 00 00 00 45 31 c0 <49> 8b 74 24 10 31 c9 4c 89 e2 48 89 df e8 54 2e ff ff 85 c0 0f 
[2072929.798314] RIP  [<ffffffffc09a949a>] notify_connection_state+0x7a/0x200 [drbd]
[2072929.799030]  RSP <ffff9d28c0143a18>
[2072929.799743] CR2: 0000000000000010

Environment

  • Red Hat Enterprise Linux
  • Third-Party Module [drbd]

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