Kernel panic at apply_alternatives() when loading 3rd party module.

Solution Verified - Updated -

Issue

  • The kernel panic upon loading the 3rd party module with following log.
[  296.397293] oracleoks: loading out-of-tree module taints kernel.
[  296.399478] oracleoks: module license 'Proprietary' taints kernel.
[  296.401599] Disabling lock debugging due to kernel taint
[  296.403801] oracleoks: module verification failed: signature and/or required key missing - tainting kernel
[  296.410066] BUG: unable to handle page fault for address: ffffffffc3521caf
[  296.412603] #PF: supervisor read access in kernel mode
[  296.414235] #PF: error_code(0x0000) - not-present page
[  296.416199] PGD 18e815067 P4D 18e815067 PUD 18e817067 PMD 0 
[  296.418246] Oops: 0000 [#1] PREEMPT SMP NOPTI
[  296.419792] CPU: 1 PID: 6671 Comm: modprobe Kdump: loaded Tainted: P           OE     -------  ---  5.14.0-427.91.1.el9_4.x86_64 #1
[  296.424267] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090008  12/07/2018
[  296.427385] RIP: 0010:apply_alternatives+0x197/0x2f0
..
[  296.456012] Call Trace:
[  296.456863]  <TASK>
[  296.488236]  module_finalize+0x263/0x3c0
[  296.490658]  load_module+0x817/0xb20
[  296.491684]  __do_sys_finit_module+0xae/0x110
[  296.492948]  do_syscall_64+0x5c/0x90
..
[  296.576086] CR2: ffffffffc3521caf CR3: 0000000136746005 CR4: 0000000000370ee0
[  296.578537] Kernel panic - not syncing: Fatal exception

Environment

  • Red Hat OpenShift Container Platform
  • Red Hat Enterprise Linux 9.4.z
    • kernel version between kernel-5.14.0-427.87.1.el9_4 and kernel-5.14.0-427.96.1.el9_4
  • Out-of-tree (O) kernel modules (at least one of the following):
    • Oracle [oracleoks]
    • IBM [mmfs26]
    • IBM [tracedev]
    • HPE [ice]
    • HPE [numatools]
    • Portworx [px]
    • eTrust [SEOS]

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