kernel panic is observed with systemtap-4.3-4.el8.x86_64 or systemtap-4.4-10.el8 if buildID of running kernel and kernel-debuginfo are different

Solution Verified - Updated -

Issue

  • kernel panic is observed with systemtap-4.3-4.el8.x86_64 or systemtap-4.4-10.el8 if buildID of running kernel and kernel-debuginfo are different
[  803.079626] Kprobes globally unoptimized
[  803.100671] stap_b1ea02400414d7045653f3cae306ec0_21226: loading out-of-tree module taints kernel.
[  803.102579] stap_b1ea02400414d7045653f3cae306ec0_21226: module verification failed: signature and/or required key missing - tainting kernel
[  803.127321] BUG: unable to handle kernel NULL pointer dereference at 0000000000000904
[  803.128887] PGD 0 P4D 0 
[  803.129382] Oops: 0000 [#1] SMP PTI
[  803.130063] CPU: 0 PID: 21226 Comm: stapio Kdump: loaded Tainted: G           OE    --------- -  - 4.18.0-305.el8.x86_64 #1
[  803.132163] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[  803.133261] RIP: 0010:_stp_build_id_check.constprop.51+0x1c7/0x220 [stap_b1ea02400414d7045653f3cae306ec0_21226]
[  803.135156] Code: 75 7c 48 81 c4 a8 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 8b 44 24 10 4c 8b 4c 24 08 4c 8d 44 24 1e 48 c7 c7 b8 5b 57 c0 <48> 63 14 25 04 09 00 00 48 8b 0c 24 48 8b 70 08 e8 04 ed ff ff b8
[  803.138682] RSP: 0018:ffffb8df044c3d48 EFLAGS: 00010202
[  803.139678] RAX: ffffffffc0578600 RBX: 0000000000000014 RCX: 0000000000000034
[  803.141042] RDX: 0000000000000038 RSI: ffffb8df044c3d66 RDI: ffffffffc0575bb8
[  803.142395] RBP: 0000000000000028 R08: ffffb8df044c3d66 R09: ffffb8df044c3da7
[  803.143764] R10: 0000000000000001 R11: ffffffff9aea0328 R12: 00007ffffffff000
[  803.145122] R13: ffff8b49477c5dc0 R14: ffffffffc0575130 R15: 0000000000000014
[  803.146468] FS:  00007f63baa9c740(0000) GS:ffff8b497bc00000(0000) knlGS:0000000000000000
[  803.148008] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  803.149118] CR2: 0000000000000904 CR3: 0000000022f98002 CR4: 00000000007706f0
[  803.150475] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  803.151831] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  803.153179] PKRU: 55555554
[  803.153705] Call Trace:
[  803.154201]  ? _stp_ctl_write_cmd+0x371/0xa10 [stap_b1ea02400414d7045653f3cae306ec0_21226]
[  803.155838]  ? _cond_resched+0x15/0x30
[  803.156582]  ? __inode_security_revalidate+0x4e/0x60
[  803.157552]  ? full_proxy_write+0x53/0x80
[  803.158332]  ? vfs_write+0xa5/0x1a0
[  803.159004]  ? ksys_write+0x4f/0xb0
[  803.159672]  ? do_syscall_64+0x5b/0x1a0
[  803.160410]  ? entry_SYSCALL_64_after_hwframe+0x65/0xca

Environment

  • RHEL-8.3
  • systemtap-4.3-4.el8.x86_64 or systemtap-4.4-10.el8

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