Kernel panic in API_kvec_get_base() function due to involvement of third party kernel module [scini].

Solution Verified - Updated -

Issue

  • Kernel panic occurred at API_kvec_get_base() function due to 3rd party module [scini]

  • Kernel panics with following messages:

[93559.705045] BUG: unable to handle kernel paging request at ffff9c67acd07ff0      <<---------------
[93559.705124] PGD 3ebec01067 P4D 3ebec01067 PUD 4d69367063 PMD 48454b0063 PTE 800fffb2932f8060
[93559.705201] Oops: 0000 [#1] SMP PTI
[93559.705267] CPU: 37 PID: 7424 Comm: net_sched Kdump: loaded Tainted: P           OE     -------- -  - 4.18.0-553.27.1.el8_10.x86_64 #1
[93559.705347] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 09/21/2023
[93559.705420] RIP: 0010:API_kvec_get_base+0x5/0x10 [scini]                  <<-----------------
[93559.705534] Code: 0f 1f 44 00 00 0f 1f 44 00 00 48 89 37 c3 cc cc cc cc 0f 1f 00 0f 1f 44 00 00 48 89 77 08 c3 cc cc cc cc 66 90 0f 1f 44 00 00 <48> 8b 07 c3 cc cc cc cc 0f 1f 00 0f 1f 44 00 00 48 8b 47 08 c3 cc
[93559.705624] RSP: 0018:ffffb395a2a779d8 EFLAGS: 00010287
[93559.705706] RAX: ffff9c67acd07ff0 RBX: 0000000000000000 RCX: ffffb395a2a77a00
[93559.705790] RDX: ffff9c63c9c21c60 RSI: fffffffffffffff0 RDI: ffff9c67acd07ff0
[93559.705873] RBP: ffffb395a2a77a68 R08: 00000000000009fc R09: ffff9c63c9c21c00
[93559.705956] R10: ffffb3958ebfdb68 R11: ffff9c37c0b5ef00 R12: 00000000000009fc
[93559.706040] R13: ffff9c67acd07ff0 R14: ffff9c67acd08000 R15: ffff9c385edc8a18
[93559.706124] FS:  0000000000000000(0000) GS:ffff9c79ffb40000(0000) knlGS:0000000000000000
[93559.706223] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[93559.706304] CR2: ffff9c67acd07ff0 CR3: 0000003ebd210005 CR4: 00000000003706e0
[93559.706388] Call Trace:
[93559.706470]  ? __die_body+0x1a/0x60
[93559.706554]  ? no_context+0x1ba/0x3f0
[93559.706635]  ? __bad_area_nosemaphore+0x157/0x180
[93559.706717]  ? do_page_fault+0x37/0x12d
[93559.706795]  ? page_fault+0x1e/0x30
[93559.706882]  ? API_kvec_get_base+0x5/0x10 [scini]
[93559.706997]  netIOV_GetVec+0x159/0x740 [scini]
[93559.707107]  netSock_DoIO+0x18e/0x880 [scini]
[93559.707221]  ? tcp_mstamp_refresh+0xe/0x50
[93559.707303]  ? tcp_rcv_space_adjust+0x1d/0x1c0
[93559.707384]  ? __check_object_size+0xac/0x173
[93559.707466]  ? bpf_probe_read_kernel+0x17/0x40
[93559.707548]  ? mos_Assert+0x5/0x80 [scini]
[93559.707663]  ? mosHash_GetRecordFromBucket+0x3a/0xd0 [scini]
[93559.707781]  ? mosHash_GetRecordFromBucket2+0x29/0x50 [scini]
[93559.707899]  netSock_Recv_CK+0x105/0x140 [scini]
[93559.708011]  ? netCon_RcvLoop_CK+0x245/0xca0 [scini]
[93559.708114]  netCon_RcvLoop_CK+0xf8/0xca0 [scini]
[93559.708214]  ? inet_recvmsg+0x5/0xd0
[93559.708296]  ? netSock_DoIO+0x289/0x880 [scini]
[93559.708406]  netSock_DoIO+0x289/0x880 [scini]
[93559.708517]  ? netSock_DoIO+0xb2/0x880 [scini]
[93559.708627]  ? __switch_to_asm+0x43/0x80
[93559.708709]  ? __switch_to+0x10c/0x430
[93559.708789]  ? __schedule+0x2d9/0x870
[93559.708867]  ? mosFastlockBase_Acquire+0x12/0x20 [scini]
[93559.708984]  ? remove_wait_queue+0x20/0x60
[93559.709066]  ? mosOSWCond_Wait+0x5a/0x80 [scini]
[93559.709181]  ? API_spin_lock_irqsave+0xe/0x20 [scini]
[93559.709291]  mosMitSchedThrd_ThrdEntry+0x109/0x3e0 [scini]
[93559.709408]  ? mosTicks_DestroyEnvSpecific+0x10/0x10 [scini]
[93559.709524]  mosOsThrd_Entry+0x1f/0x60 [scini]
[93559.709639]  kthread+0x134/0x150
[93559.709720]  ? set_kthread_struct+0x50/0x50
[93559.709801]  ret_from_fork+0x35/0x40

Environment

  • Red Hat Enterprise Linux 8
  • A third-party kernel [scini] module.

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