The kernel crashes due to WARN_ON_ONCE() splat from sched_tick_remote() where panic_on_warn sysctl knob is enabled

Solution Unverified - Updated -

Issue

  • The kernel crashes due to WARN_ON_ONCE() splat from sched_tick_remote() where panic_on_warn sysctl knob is enabled.
[322345.322063] WARNING: CPU: 1 PID: 986794 at kernel/sched/core.c:4030 sched_tick_remote+0x159/0x180
[322345.322076] Kernel panic - not syncing: panic_on_warn set ...

[322345.322115] CPU: 1 PID: 986794 Comm: kworker/u210:4 Kdump: loaded Tainted: G          I      --------- -  - 4.18.0-372.49.1.el8_6.x86_64 #1
[322345.322156] Hardware name:  /0WRPXK, BIOS 2.17.1 11/15/2022
[322345.322177] Workqueue: events_unbound sched_tick_remote
[322345.322200] Call Trace:
[322345.322210]  dump_stack+0x41/0x60
[322345.322227]  panic+0xe7/0x2ac
[322345.322245]  ? sched_tick_remote+0x159/0x180
[322345.322262]  __warn.cold.14+0x31/0x38
[322345.322278]  ? sched_tick_remote+0x159/0x180
[322345.322294]  ? sched_tick_remote+0x159/0x180
[322345.322810]  report_bug+0xb1/0xe0
[322345.323262]  do_error_trap+0x9e/0xd0
[322345.323674]  do_invalid_op+0x36/0x40
[322345.324127]  ? sched_tick_remote+0x159/0x180
[322345.324571]  invalid_op+0x14/0x20
[322345.325022] RIP: 0010:sched_tick_remote+0x159/0x180
[322345.325465] Code: 7d eb ad 00 48 89 ef e8 f5 6a 00 00 83 bd b0 09 00 00 02 76 08 c7 44 24 08 04 00 00 00 48 89 ef e8 3c a7 ff ff e9 ea fe ff ff <0f> 0b eb c1 80 3d 9e b0 c3 01 00 75 a0 e8 65 d8 ff ff eb 99 e8 5e
[322345.326403] RSP: 0018:ffffc108eb8a7e60 EFLAGS: 00010002
[322345.326908] RAX: 00000000bb0b62ab RBX: ffff9f243f9f0828 RCX: ffff9f243f9c0000
[322345.327465] RDX: 00000000b2d05e00 RSI: 000000003d1879ab RDI: 000000000000004f
[322345.328038] RBP: ffff9f243f9eae80 R08: 0000000000000002 R09: 000000000002a6c0
[322345.328617] R10: 0002668c50c82e14 R11: 0000000000000010 R12: 000000000000004f
[322345.329182] R13: ffff9efa294b8040 R14: ffff9efc6844dee8 R15: ffff9f243f9f0830
[322345.329774]  process_one_work+0x1a7/0x360
[322345.330379]  ? create_worker+0x1a0/0x1a0
[322345.330936]  worker_thread+0x30/0x390
[322345.331526]  ? create_worker+0x1a0/0x1a0
[322345.332182]  kthread+0x10a/0x120
[322345.332819]  ? set_kthread_struct+0x50/0x50
[322345.333488]  ret_from_fork+0x1f/0x40

Environment

  • Red Hat Enterprise Linux 8.6.z - kernel-4.18.0-372.49.1.el8_6

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