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

Solution Verified - Updated -

Issue

  • Kernel panic occurred at vm_op_fault() function due to 3rd party module [sfc_char]
  • Kernel panics with following messages:
[377964.713537] BUG: unable to handle kernel paging request at fffffc394d2f5880
[377964.713541] IP: [<ffffffffc0246c5e>] vm_op_fault+0x6e/0x140 [sfc_char]
[377964.713547] PGD 0 
[377964.713548] Oops: 0000 [#1] SMP 
[377964.713550] Modules linked in: onload(OE) sfc_char(OE) sfc_resource(OE) 
[377964.713573] CPU: 23 PID: 10237 Comm: eobi_rec Kdump: loaded Tainted: G           OE  ------------   3.10.0-1160.el7.x86_64 #1
[377964.713575] Hardware name: ASUS System Product Name/ROG MAXIMUS Z790 HERO, BIOS 0904 03/29/2023
[377964.713576] task: ffff9479e5fba100 ti: ffff9473031d4000 task.ti: ffff9473031d4000
[377964.713580] RIP: 0010:[<ffffffffc0246c5e>]  [<ffffffffc0246c5e>] vm_op_fault+0x6e/0x140 [sfc_char]
[377964.713612] Call Trace:
[377964.713618]  [<ffffffff948d3101>] ? __wake_up_common_lock+0x91/0xc0
[377964.713621]  [<ffffffff949ede3a>] __do_fault.isra.61+0x8a/0x100
[377964.713625]  [<ffffffff94c73455>] ? pty_write+0x65/0x70
[377964.713628]  [<ffffffff949ee3ec>] do_read_fault.isra.63+0x4c/0x1b0
[377964.713630]  [<ffffffff949f5c30>] handle_mm_fault+0xa20/0xfb0
[377964.713633]  [<ffffffff94835c19>] ? sched_clock+0x9/0x10
[377964.713636]  [<ffffffff948de185>] ? sched_clock_cpu+0x85/0xc0
[377964.713640]  [<ffffffff94f8e653>] __do_page_fault+0x213/0x500
[377964.713642]  [<ffffffff94f8e975>] do_page_fault+0x35/0x90
[377964.713645]  [<ffffffff94f8a778>] page_fault+0x28/0x30
[377964.713647] Code: 4c 89 d0 4c 89 55 d0 48 89 fe 4c 89 ef 48 29 d0 48 29 d1 48 89 c2 e8 82 07 95 d4 48 85 c0 49 89 c4 49 89 46 18 4c 8b 55 d0 74 32 <48> 8b 00 f6 c4 80 75 4d f0 41 ff 44 24 1c 49 8b 04 24 a9 00 00 
[377964.713663] RIP  [<ffffffffc0246c5e>] vm_op_fault+0x6e/0x140 [sfc_char]

Environment

  • Red Hat Enterprise Linux 7
  • A third party kernel [sfc] 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