Kernel crashed with the message: perf_prog panic on perf

Solution Verified - Updated -

Issue

  • Kernel panic with the following call trace:
[10705.502284] Kprobes globally unoptimized
[10705.516557] perf_prog_c: module_layout: kernel tainted.
[10705.516581] Disabling lock debugging due to kernel taint
[10705.747745] perf_prog_c (perf_prog-c.stp): systemtap: 4.8/0.188, base: ffffffffc1b26000, memory: 8540data/160text/1135ctx/1179750net/689alloc kb, probes: 25
[10868.730301] perf_prog_c (perf_prog-c.stp): systemtap: 4.8/0.188, base: ffffffffc1b26000, memory: 8540data/160text/1135ctx/1179750net/689alloc kb, probes: 25
[10884.613151] sync addr = 0xffffffff9039fce0
[10884.613580] Kernel panic - not syncing: perf_prog panic on perf
[10884.614125] CPU: 1 PID: 58638 Comm: perf Kdump: loaded Tainted: GFIOE ----------- 4.18.0-477.27.1.el8_8.x86_64 #1
[10884.614508] Hardware name: Dell Inc. PowerEdge R640/0PHYDR, BIOS 2.13.3 12/13/2021
[10884.614696] Call Trace:
[10884.614874]  dump_stack+0x41/0x60
[10884.615054]  ? sync_filesystem+0x40/0x40
[10884.615232]  panic+0xe7/0x2ac
[10884.615405]  ? __x64_sys_syncfs+0x70/0x70
[10884.615580]  probe_20710+0x12df/0x16d0 [perf_prog_c]
[10884.615766]  stapiu_probe_prehandler+0x215/0x310 [perf_prog_c]
[10884.615950]  handle_swbp+0x331/0x8d0
[10884.616123]  ? handle_mm_fault+0xca/0x2a0
[10884.616295]  ? arch_uprobe_exception_notify+0x41/0x50
[10884.616470]  ? notifier_call_chain+0x47/0x70
[10884.616645]  ? int3+0x29/0x40
[10884.616810]  exit_to_usermode_loop+0x69/0x100
[10884.616983]  prepare_exit_to_usermode+0x9f/0xb0
[10884.617152]  retint_user+0x8/0x8
[10884.617315] RIP: 0033:0x55d2ed25cd70
[10884.617478] Code: 89 6b 0c 31 c0 44 89 63 10 48 83 c4 08 5b 41 5c 41 5d 5d c3 48 c7 03 00 00 00 00 eb ec 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <cc> 0f 1e fa 48 85 ff 74 67 55 48 89 e5 53 48 89 fb 48 83 ec 08 48

Environment

  • Red Hat Enterprise Linux 8
  • Third-party module: [perf_prog_c]

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