Kernel panic due to a NULL pointer dereference in the mutex_lock() function
Issue
- Kernel panic due to a NULL pointer dereference in the
mutex_lock()function with the following call traces.
[17259264.810016] BUG: unable to handle kernel NULL pointer dereference at (null)
[17259264.810712] IP: [<ffffffff8cb8a835>] mutex_lock+0x15/0x2f
[17259264.811373] PGD 800000ae8e420067 PUD bc36ada067 PMD 0
[17259264.811982] Oops: 0002 [#1] SMP
[17259264.812536] Modules linked in: bmhook(OE) dsa_filter(POE) dsa_filter_hook(OE) oracleacfs(POE) oracleadvm(POE) oracleoks(POE) bmsensor(OE) gsch(OE) redirfs(OE) tmhook(OE) nfsv3 nfs_acl rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache ktap_112810(OE) iptable_filter unix_diag af_packet_diag netlink_diag ip6table_filter ip6_tables udp_diag tcp_diag inet_diag bonding oracleasm(O) dm_service_time vfat fat skx_edac nfit libnvdimm intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr ses enclosure dm_multipath ipmi_ssif mei_me sg mei lpc_ich hpilo hpwdt wmi ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter binfmt_misc auth_rpcgss sunrpc ip_tables ext4 mbcache jbd2 sd_mod crc_t10dif
[17259264.816328] crct10dif_generic sr_mod cdrom mgag200 i2c_algo_bit drm_kms_helper qla2xxx syscopyarea sysfillrect sysimgblt fb_sys_fops ttm bnx2x drm crct10dif_pclmul ahci crct10dif_common crc32c_intel smartpqi libahci nvme_fc tg3 nvme_fabrics nvme_core libata scsi_transport_sas mdio scsi_transport_fc libcrc32c ptp scsi_tgt pps_core drm_panel_orientation_quirks uas usb_storage dm_mirror dm_region_hash dm_log dm_mod [last unloaded: bmhook]
[17259264.819066] CPU: 42 PID: 1752 Comm: ora_pr08_iconmd Kdump: loaded Tainted: PWOE ------------ 3.10.0-1160.71.1.el7.x86_64 #1
[17259264.820507] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 07/08/2021
[17259264.821238] task: ffff9ba637752100 ti: ffff9ba4bf98c000 task.ti: ffff9ba4bf98c000
[17259264.821992] RIP: 0010:[<ffffffff8cb8a835>] [<ffffffff8cb8a835>] mutex_lock+0x15/0x2f
[17259264.822714] RSP: 0018:ffff9ba4bf98fe60 EFLAGS: 00010246
[17259264.823463] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff9ba4bf98ffd8
[17259264.824213] RDX: 0000000000000000 RSI: ffff9b48e2d87d00 RDI: 0000000000000000
[17259264.824961] RBP: ffff9ba4bf98fe68 R08: 0000000000000000 R09: 0000000000000000
[17259264.825683] R10: ffff9b4afc388028 R11: ffff9b48e2d87d10 R12: ffff9b48e2d87d00
[17259264.826492] R13: ffff9b4afc388028 R14: ffff9bad7dd381a0 R15: ffff9b4b266d8a80
[17259264.827222] FS: 00007ff0bbae2400(0000) GS:ffff9b4d7fe00000(0000) knlGS:0000000000000000
[17259264.827974] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17259264.828697] CR2: 0000000000000000 CR3: 000000afb61ee000 CR4: 00000000007607e0
[17259264.829450] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[17259264.830191] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[17259264.830920] PKRU: 55555554
[17259264.831616] Call Trace:
[17259264.832327] [<ffffffff8c6584c3>] pipe_release+0x23/0xb0
[17259264.833039] [<ffffffff8c65063c>] __fput+0xec/0x230
[17259264.833717] [<ffffffff8c65086e>] ____fput+0xe/0x10
[17259264.834390] [<ffffffff8c4c2acb>] task_work_run+0xbb/0xe0
[17259264.835074] [<ffffffff8c42cc65>] do_notify_resume+0xa5/0xc0
[17259264.835734] [<ffffffff8cb9a2ef>] int_signal+0x12/0x17
[17259264.836421] Code: ff 07 7f 05 e8 fd 0a 00 00 5d c3 0f 1f 00 83 ea 01 89 50 10 eb d9 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 2e 1e 00 00 48 89 df <f0> ff 0f 79 05 e8 61 0b 00 00 65 48 8b 04 25 c0 0e 01 00 48 89
[17259264.837917] RIP [<ffffffff8cb8a835>] mutex_lock+0x15/0x2f
[17259264.838583] RSP <ffff9ba4bf98fe60>
[17259264.839259] CR2: 0000000000000000
Environment
- Red Hat Enterprise Linux 7
- kernel
- Out-of-tree (O) kernel module
[gsch]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.