Why does thread dump of a task showing "Code: Bad RIP value" in RHEL8?

Solution Verified - Updated -

Issue

  • Thread dump of a task showing "Code: Bad RIP value" like below.
[   93.604473] systemd         S    0     1      0 0x00000000
[   93.604486] Call Trace:
[   93.604507]  ? __schedule+0x24f/0x650
[   93.604517]  ? ep_item_poll.isra.16+0x40/0xc0
[   93.604528]  schedule+0x2f/0xa0
[   93.604537]  schedule_hrtimeout_range_clock+0x18d/0x1a0
[   93.604550]  ? ep_scan_ready_list.constprop.21+0x20c/0x230
[   93.604563]  ep_poll+0x3c8/0x410
[   93.604572]  ? wake_up_q+0x70/0x70
[   93.604582]  do_epoll_wait+0xb0/0xd0
[   93.604592]  __x64_sys_epoll_wait+0x1a/0x20
[   93.604602]  do_syscall_64+0x5b/0x1a0
[   93.604612]  entry_SYSCALL_64_after_hwframe+0x65/0xca
[   93.604625] RIP: 0033:0x7fc95e4161b7
[   93.604646] Code: Bad RIP value.    <<<----
[   93.604654] RSP: 002b:00007ffde8253880 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8
[   93.604671] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fc95e4161b7
[   93.604685] RDX: 000000000000007d RSI: 00007ffde82538c0 RDI: 0000000000000004
[   93.605233] RBP: 00007ffde82538c0 R08: 0000000000000000 R09: 7465677261742e79
[   93.606045] R10: 00000000ffffffff R11: 0000000000000293 R12: 000000000000007d
[   93.606735] R13: 00000000ffffffff R14: 00007ffde82538c0 R15: 0000000000000001

Environment

  • Red Hat Enterprise Linux 8

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