While bcc-tools script is running, kernel panic occurs due to "BUG: unable to handle kernel paging request"

Solution Unverified - Updated -

Issue

  • Kernel panic occurs with the following message while bcc-tools script is running
[1123009.413291] BUG: unable to handle kernel paging request at 0011d2a60011d2a6
[1123009.420501] PGD 0
[1123009.422707] Oops: 0010 [#1] SMP NOPTI
[1123009.426577] CPU: 32 PID: 1168038 Comm: hardirqs Kdump: loaded Tainted: G           OE    --------- -  - 4.18.0-513.24.1.el8_9.x86_64 #1
...
[1123009.447886] RIP: 0010:0x11d2a60011d2a6
[1123009.451844] Code: Unable to access opcode bytes at RIP 0x11d2a60011d27c.
[1123009.458774] RSP: 0018:ff7d108c0f3f7e90 EFLAGS: 00010296
[1123009.464218] RAX: 0000000000000000 RBX: ff7d108c0ca19000 RCX: 000000000000083f
[1123009.471587] RDX: 0000000000000000 RSI: ff7d108c0f3f7e38 RDI: 0000000000000000
[1123009.478958] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
[1123009.486329] R10: 0000000000000000 R11: ff3faba2cdfdc710 R12: 00000000000e0003
[1123009.493699] R13: 0000000000010487 R14: ff3faba80699d220 R15: ff3fab8a01bc9c80
[1123009.501070] FS:  00007efcbc967b80(0000) GS:ff3faba77ff00000(0000) knlGS:0000000000000000
[1123009.509404] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1123009.515371] CR2: 0011d2a60011d27c CR3: 00000037daea2006 CR4: 0000000000771ee0
[1123009.522742] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[1123009.530112] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[1123009.537481] PKRU: 55555554
[1123009.540383] Call Trace:
[1123009.543027]  ? __die_body+0x1a/0x60
[1123009.546724]  ? no_context+0x1ba/0x3f0
[1123009.550592]  ? __bad_area_nosemaphore+0x16c/0x1c0
[1123009.555512]  ? do_page_fault+0x37/0x12d
[1123009.559555]  ? page_fault+0x1e/0x30
[1123009.563251]  ? __fput+0xbe/0x250
[1123009.566683]  ? task_work_run+0x8a/0xb0
[1123009.570638]  ? exit_to_usermode_loop+0xef/0x100
[1123009.575384]  ? do_syscall_64+0x19c/0x1b0
[1123009.579516]  ? entry_SYSCALL_64_after_hwframe+0x61/0xc6

Environment

  • Red Hat Enterprise Linux 8
  • kernel-4.18.0-513.24.1.el8_9
  • bcc-tools

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