System panicked while executing on strcmp() function due to bmsensor module

Solution Unverified - Updated -

Issue

  • System panicked while executing on strcmp() function due to bmsensor module.
[5892276.412739] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[5892276.413948] PGD 8000000441519067 P4D 8000000441519067 PUD 1296b7067 PMD 0 
[5892276.415052] Oops: 0000 [#1] SMP PTI
[5892276.416077] CPU: 3 PID: 3374970 Comm: MOBNEXTAPL-DB-P Kdump: loaded Tainted: P           OE    --------- -  - 4.18.0-425.13.1.el8_7.x86_64 #1
[5892276.418106] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.18227214.B64.2106252220 06/25/2021
[5892276.420122] RIP: 0010:strcmp+0xc/0x30
[5892276.421124] Code: f9 ff ff ff eb 8a 45 31 c0 eb bd 48 c7 c0 f9 ff ff ff e9 b7 fc 22 00 0f 1f 80 00 00 00 00 31 c0 eb 08 48 83 c0 01 84 d2 74 13 <0f> b6 14 07 3a 14 06 74 ef 19 c0 83 c8 01 e9 91 fc 22 00 31 c0 e9
[5892276.423148] RSP: 0018:ffff971097943b28 EFLAGS: 00010246
[5892276.424145] RAX: 0000000000000000 RBX: ffff8b5372643b20 RCX: ffff8b596e62ad40
[5892276.425120] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[5892276.426087] RBP: ffff8b597e3b1c60 R08: 0000000000000000 R09: 0000000000000000
[5892276.427031] R10: 000000000000000f R11: ffff8b589e9ddb14 R12: ffffffffc0c32350
[5892276.427963] R13: ffff971097943c50 R14: ffff8b596e62ad40 R15: ffffffffc0c32350
[5892276.428882] FS:  00007f6c8d2f7700(0000) GS:ffff8b5a5dec0000(0000) knlGS:0000000000000000
[5892276.429803] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[5892276.430701] CR2: 0000000000000000 CR3: 00000007c92fe003 CR4: 00000000007706e0
[5892276.431627] PKRU: 55555554
[5892276.432518] Call Trace:
[5892276.433403]  compare_netaddr+0x40/0x80 [bmsensor]
[5892276.434294]  bmhook_compare_object+0x124/0x220 [bmsensor]
[5892276.435153]  __bmhook_counter_find+0x5d/0x120 [bmsensor]
[5892276.436002]  bmhook_counter_check_with_object+0x8d/0x3a0 [bmsensor] <━━━━━━
[5892276.436831]  ? bmhook_get_object+0x317/0xfb0 [bmsensor]
[5892276.437644]  bmhook_count_event_with_object+0x101/0x150 [bmsensor]
[5892276.438460]  tmbpf_count_event_with_object_old+0x34/0x40 [bmsensor]
[5892276.439249]  ? __inet_stream_connect+0x317/0x380
[5892276.440016]  ? inet_stream_connect+0x41/0x50
[5892276.440766]  ? __sys_connect+0xaf/0xd0
[5892276.441507]  ? bmhook_posthook_handler+0x23d/0x2c0 [bmsensor]
[5892276.442249]  ? __sys_setsockopt+0x175/0x1d0
[5892276.442956]  ? _cond_resched+0x15/0x30
[5892276.443652]  ? tmhook_invoke_posthooks+0x38/0xc0 [tmhook]
[5892276.444348]  ? tmhook_handler+0x1ba/0x210 [tmhook]
[5892276.445015]  ? do_syscall_64+0x5b/0x1b0
[5892276.445667]  ? do_syscall_64+0x5b/0x1b0
[5892276.446342]  ? entry_SYSCALL_64_after_hwframe+0x61/0xc6

Environment

  • Red Hat Enterprise Linux 8.

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