[RHEL 7] System was panicked with message "Unable to handle kernel NULL pointer dereference at (null)" due to involvement of 3rd party module drbd.

Solution Unverified - Updated -

Issue

  • Unable to handle kernel NULL pointer dereference at (null) due to 3rd party module drbd :
[7607788.160002] BUG: unable to handle kernel NULL pointer dereference at           (null)
[7607788.161112] IP: [<          (null)>]           (null)
[7607788.162086] PGD 0 
[7607788.163108] Oops: 0010 [#1] SMP 
[7607788.164122] Modules linked in: ext4 mbcache jbd2 drbd_transport_tcp(OE) drbd(OE) sisfim(PE) 8021q garp mrp stp llc udp_diag tcp_diag inet_diag sisap(POE) vmw_vsock_vmci_transport vsock sunrpc sb_edac iosf_mbi crc32_pclmul ppdev ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper vmw_balloon cryptd vmwgfx pcspkr joydev sg ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm vmw_vmci i2c_piix4 drm_panel_orientation_quirks parport_pc parport sisips(PE) sisevt(PE) binfmt_misc ip_tables xfs dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic ahci nfit libahci ata_piix serio_raw crct10dif_pclmul crct10dif_common libata crc32c_intel libnvdimm vmw_pvscsi vmxnet3 dm_mirror dm_region_hash dm_log
[7607788.168355]  dm_mod fuse
[7607788.169087] CPU: 1 PID: 6262 Comm: drbd_w Kdump: loaded Tainted: P           OE  ------------   3.10.0-1160.2.2.el7.x86_64 #1
[7607788.169820] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[7607788.170567] task: ffff99942d654200 ti: ffff999750984000 task.ti: ffff999750984000
[7607788.171324] RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
[7607788.172106] RSP: 0018:ffff999750987dd0  EFLAGS: 00010246
[7607788.172920] RAX: 0000000000000000 RBX: ffff999750987e18 RCX: ffffffffc06e232c
[7607788.173773] RDX: 00000000000004ea RSI: 0000000000000000 RDI: ffff99975098b288
[7607788.174558] RBP: ffff999750987e80 R08: 0000000000000c61 R09: 0000000000000160
[7607788.175322] R10: 00000002c570a454 R11: 0000000000000010 R12: ffff99975098b160
[7607788.176116] R13: ffff99975098b288 R14: ffff99975098b4c0 R15: ffff99975098b4b8
[7607788.176896] FS:  0000000000000000(0000) GS:ffff9997bfc40000(0000) knlGS:0000000000000000
[7607788.177687] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[7607788.178455] CR2: 0000000000000000 CR3: 00000000a31ac000 CR4: 00000000001607e0
[7607788.179385] Call Trace:
[7607788.180278]  [<ffffffffc068d0e2>] ? drbd_worker+0x112/0x530 [drbd]
[7607788.181164]  [<ffffffff960c6d10>] ? wake_up_atomic_t+0x30/0x30
[7607788.181970]  [<ffffffffc06b2330>] ? do_retry+0x290/0x290 [drbd]
[7607788.182796]  [<ffffffffc06b23e6>] drbd_thread_setup+0xb6/0x1f0 [drbd]
[7607788.183875]  [<ffffffffc06b2330>] ? do_retry+0x290/0x290 [drbd]
[7607788.185080]  [<ffffffff960c5c21>] kthread+0xd1/0xe0
[7607788.185866]  [<ffffffff960c5b50>] ? insert_kthread_work+0x40/0x40
[7607788.186648]  [<ffffffff96793df7>] ret_from_fork_nospec_begin+0x21/0x21
[7607788.187458]  [<ffffffff960c5b50>] ? insert_kthread_work+0x40/0x40
[7607788.188245] Code:  Bad RIP value.
[7607788.189018] RIP  [<          (null)>]           (null)
[7607788.189817]  RSP <ffff999750987dd0>
[7607788.190596] CR2: 0000000000000000

Environment

  • Red Hat Enterprise Linux 7
  • Third-party kernel 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