Kernel panic at show_trace_log_lvl() while handling the double page fault when the kernel stack is not 8 byte aligned.

Solution Verified - Updated -

Issue

  • The kernel got panic with the below messages while dumping the soft lockup messages to the ring buffer.
[4618131.431573] watchdog: BUG: soft lockup - CPU#8 stuck for 31s! [kthreadd:2]
..
[4618131.432629] BUG: stack guard page was hit at 000000009bd53e72 (stack is 000000008fee6806..00000000ada7d0af)
[4618131.432687] kernel stack overflow (page fault): 0000 [#1] SMP PTI
[4618131.432710] CPU: 3 PID: 277659 Comm: kcs-file/0 Kdump: loaded Tainted: P            EL   --------- -  - 4.18.0-425.3.1.el8.x86_64 #1
[4618131.432738] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
[4618131.432756] RIP: 0010:show_trace_log_lvl+0x18f/0x321
..
[4618131.432993] Call Trace:
[4618131.433006]  <IRQ>
[4618131.433034]  ? cshook_network_ops_inet6_sockraw_release+0x18f1f/0x1c970 [falcon_lsm_serviceable]
[4618131.433093]  watchdog_timer_fn.cold.10+0x46/0x9e
[4618131.433122]  ? watchdog+0x30/0x30
[4618131.433141]  __hrtimer_run_queues+0x101/0x280
[4618131.433177]  hrtimer_interrupt+0x100/0x220
[4618131.433210]  smp_apic_timer_interrupt+0x6a/0x130
[4618131.433238]  apic_timer_interrupt+0xf/0x20
[4618131.433262]  </IRQ>

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

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