Translated message

A translation of this page exists in English.

RHEL 8 系统 panic 并重启,显示 "stack-protector:Kernel stack is corrupted in:"

Solution In Progress - Updated -

Issue

  • RHEL 8 系统 panic 并重启,显示 "stack-protector:Kernel stack is corrupted in:”
[1432004.335218] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: perf_trace_task_newtask+0x120/0x120

[1432004.336228] CPU: 5 PID: 4076225 Comm: wdavdaemon Kdump: loaded Tainted: G           O     --------- -  - 4.18.0-513.5.1.el8_9.x86_64 #1
[1432004.336492] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
[1432004.336744] Call Trace:
[1432004.336999]  dump_stack+0x41/0x60
[1432004.337253]  panic+0xe7/0x2ac
[1432004.337470]  ? perf_trace_task_newtask+0x120/0x120
[1432004.337688]  __stack_chk_fail+0x15/0x20
[1432004.337902]  perf_trace_task_newtask+0x120/0x120
[1432004.338112]  ? copy_process+0x18d1/0x1b50
[1432004.338345]  copy_process+0x18d1/0x1b50
[1432004.338542]  _do_fork+0x8b/0x340
[1432004.338725]  do_syscall_64+0x5b/0x1b0
[1432004.338905]  entry_SYSCALL_64_after_hwframe+0x61/0xc6
[1432004.339094] RIP: 0033:0x7f9b00fb4e65
 Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: perf_trace_sched_process_fork+0x12a/0x130

 CPU: 1 PID: 1234 Comm: apptask Kdump: loaded Tainted: G                 ---------r-  - 4.18.0-372.26.1.el8_6.x86_64 #1

 Call Trace:
  dump_stack+0x41/0x60
  panic+0xe7/0x2ac
  ? perf_trace_sched_process_fork+0x12a/0x130
  __stack_chk_fail+0x15/0x20
  perf_trace_sched_process_fork+0x12a/0x130
  ? _do_fork+0x16b/0x340
  _do_fork+0x16b/0x340
  ? __audit_syscall_exit+0x24d/0x2b0
  do_syscall_64+0x5b/0x1b0
  entry_SYSCALL_64_after_hwframe+0x61/0xc6
  • 由于 per_cpu 阵列 perf_trace_buf 中有 Null 而触发 panic 并重启。

Environment

  • Red Hat Enterprise Linux 8。
  • kernel-4.18.0-513.5.1.el8_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