Wind River Support Network

HomeDefectsLIN1018-4682
Fixed

LIN1018-4682 : intel-x86-64: board are hang in kernel test

Created: Aug 15, 2019    Updated: Oct 16, 2019
Resolved Date: Sep 16, 2019
Found In Version: 10.18.44.10
Fix Version: 10.18.44.11
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: BSP

Description

root@intel-x86-64:/opt/wr-test# cd testcases/kts/ftrace_dynamic_kprobe
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# ls
README			   runtest.sh	       summary.log
ftrace_dynamic_kprobe.log  subcase_record.log  test_case.conf
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# 
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# 
 oot@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# ./runtest.sh 

######################################################### 
Start testcase ftrace_dynamic_kprobe (keyword: ) testing
######################################################### 

<< [do_prepare] start Check kernel config>>
********************
Check kernel config is PASS

<<end Check kernel config>>
********************
<<clean subcase>>
********************
<< [do_prepare_append2] start Prepare test environment>>
********************
Debugfs already has been mounted on /sys/kernel/debug!
<<end Prepare test environment>>
********************
<<clean subcase>>
********************
<< [do_test1] start Enable ftrace test>>
********************
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# echo 1 > /proc/sys/kernel/ftrace_enabled

root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# echo 1 > /sys/kernel/debug/tracing/trace

<<end Enable ftrace test>>
********************
<<clean subcase>>
********************

<< [do_test2] start Add kprobes for 'do_fork' >>
********************
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# cat /proc/kallsyms | grep do_fork | grep -v do_fork_ | awk '{print $1}'
ffffffff82c73e60
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# echo "p:doforkprobe 0x$addr_do_fork "'clone_flags=%ax stack_start=%dx regs=%cx parent_tidptr=+4($stack) child_tidptr=+8($stack)' >> ${DEBUG_FS}/tracing/kprobe_events

Added do_fork address for kprobe event successfully!
<<end Add kprobes for 'do_fork' >>
********************
<<clean subcase>>
********************

<< [do_test3] start Start tracing>>
********************
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# echo 1 > ${DEBUG_FS}/tracing/events/kprobes/doforkprobe/enable
kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
BUG: unable to handle kernel paging request at ffffffffc0451000
PGD 862214067 P4D 862214067 PUD 862216067 PMD 86cf46067 PTE 8000000865e76061
Oops: 0011 [#1] PREEMPT SMP PTI
CPU: 11 PID: 526 Comm: runtest.sh Tainted: G          I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
RIP: 0010:0xffffffffc0451000
Code: Bad RIP value.
RSP: 0018:ffffa59fc4f23f18 EFLAGS: 00010246
RAX: ffffa59fc4f23f58 RBX: 0000000000000038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: ffffa59fc4f23f28 R08: 00007f4cdf71fa10 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa59fc4f23f58
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f4cdf71f740(0000) GS:ffffa4393ec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffc0450fd6 CR3: 0000000864d50005 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ? _do_fork+0x5/0x6f0
 ? __x64_sys_clone+0x27/0x30
 do_syscall_64+0x55/0x1a0
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4cdf7e60bf
Code: ed 0f 85 44 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 c5 00 00 00 41 89 c4 85 c0 0f 85 d2 00 00 
RSP: 002b:00007ffe66eeb2a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f4cdf93e000 RCX: 00007f4cdf7e60bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f4cdf71f740
R10: 00007f4cdf71fa10 R11: 0000000000000246 R12: 00007ffe66eeb2e0
R13: 00007ffe66eeb360 R14: 000055df67b8f888 R15: 0000000000000060
Modules linked in: snd_hda_codec_hdmi intel_rapl sb_edac x86_pkg_temp_thermal nouveau intel_powerclamp coretemp crct10dif_pclmul snd_hda_intel crct10dif_common snd_hda_codec aesni_intel iTCO_wdt snd_hda_core efi_pstore gpio_ich iTCO_vendor_support aes_x86_64 snd_pcm crypto_simd snd_timer cryptd glue_helper video efivars i2c_i801 wmi pcc_cpufreq lpc_ich acpi_pad acpi_power_meter openvswitch nsh nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_conncount nf_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack
CR2: ffffffffc0451000
---[ end trace b1f1bd45218d36d7 ]---
RIP: 0010:0xffffffffc0451000
Code: Bad RIP value.
RSP: 0018:ffffa59fc4f23f18 EFLAGS: 00010246
RAX: ffffa59fc4f23f58 RBX: 0000000000000038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: ffffa59fc4f23f28 R08: 00007f4cdf71fa10 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa59fc4f23f58
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f4cdf71f740(0000) GS:ffffa4393ec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffc0450fd6 CR3: 0000000864d50005 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:34
in_atomic(): 0, irqs_disabled(): 1, pid: 526, name: runtest.sh
INFO: lockdep is turned off.
irq event stamp: 203988
hardirqs last  enabled at (203987): [<ffffffff82c02a47>] do_syscall_64+0x17/0x1a0
hardirqs last disabled at (203988): [<ffffffff83a01176>] error_entry+0x86/0x100
softirqs last  enabled at (203782): [<ffffffff83c00299>] __do_softirq+0x299/0x538
softirqs last disabled at (203775): [<ffffffff82c7d2f3>] irq_exit+0xb3/0xd0
CPU: 11 PID: 526 Comm: runtest.sh Tainted: G      D   I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
Call Trace:
 dump_stack+0x70/0x9a
 ___might_sleep.cold.16+0xf0/0x101
 __might_sleep+0x4a/0x80
 exit_signals+0x20/0x290
 do_exit+0xb1/0xc50
 ? 0xffffffffc0451000
 rewind_stack_do_exit+0x17/0x20
RIP: 0033:0x7f4cdf7e60bf
Code: ed 0f 85 44 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 c5 00 00 00 41 89 c4 85 c0 0f 85 d2 00 00 
RSP: 002b:00007ffe66eeb2a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f4cdf93e000 RCX: 00007f4cdf7e60bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f4cdf71f740
R10: 00007f4cdf71fa10 R11: 0000000000000246 R12: 00007ffe66eeb2e0
R13: 00007ffe66eeb360 R14: 000055df67b8f888 R15: 0000000000000060
Killed
root@intel-x86-64:/opt/wr-test/testcases/kts/ftrace_dynamic_kprobe# kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
BUG: unable to handle kernel paging request at ffffffffc0451000
PGD 862214067 P4D 862214067 PUD 862216067 PMD 86cf46067 PTE 8000000865e76061
Oops: 0011 [#2] PREEMPT SMP PTI
CPU: 8 PID: 1 Comm: systemd Tainted: G      D W I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
RIP: 0010:0xffffffffc0451000
Code: Bad RIP value.
RSP: 0018:ffffa59fc3273f18 EFLAGS: 00010246
RAX: ffffa59fc3273f58 RBX: 0000000000000038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: ffffa59fc3273f28 R08: 00007f9b14f38b10 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa59fc3273f58
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f9b14f38840(0000) GS:ffffa4393e600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffc0450fd6 CR3: 0000000864970005 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ? _do_fork+0x5/0x6f0
 ? __x64_sys_clone+0x27/0x30
 do_syscall_64+0x55/0x1a0
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f9b150c20bf
Code: ed 0f 85 44 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 c5 00 00 00 41 89 c4 85 c0 0f 85 d2 00 00 
RSP: 002b:00007ffcfba3f9f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f9b154e5000 RCX: 00007f9b150c20bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f9b14f38840
R10: 00007f9b14f38b10 R11: 0000000000000246 R12: 0000000000000003
R13: 00005580f885b010 R14: 00005580f87f8d58 R15: 00007ffcfba3fcb0
Modules linked in: snd_hda_codec_hdmi intel_rapl sb_edac x86_pkg_temp_thermal nouveau intel_powerclamp coretemp crct10dif_pclmul snd_hda_intel crct10dif_common snd_hda_codec aesni_intel iTCO_wdt snd_hda_core efi_pstore gpio_ich iTCO_vendor_support aes_x86_64 snd_pcm crypto_simd snd_timer cryptd glue_helper video efivars i2c_i801 wmi pcc_cpufreq lpc_ich acpi_pad acpi_power_meter openvswitch nsh nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_conncount nf_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack
CR2: ffffffffc0451000
---[ end trace b1f1bd45218d36d8 ]---
RIP: 0010:0xffffffffc0451000
Code: Bad RIP value.
RSP: 0018:ffffa59fc4f23f18 EFLAGS: 00010246
RAX: ffffa59fc4f23f58 RBX: 0000000000000038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: ffffa59fc4f23f28 R08: 00007f4cdf71fa10 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa59fc4f23f58
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f9b14f38840(0000) GS:ffffa4393e600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffc0450fd6 CR3: 0000000864970005 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:34
in_atomic(): 0, irqs_disabled(): 1, pid: 1, name: systemd
INFO: lockdep is turned off.
irq event stamp: 18507100
hardirqs last  enabled at (18507099): [<ffffffff839c3737>] _raw_spin_unlock_irqrestore+0x57/0x70
hardirqs last disabled at (18507100): [<ffffffff839bbda7>] __schedule+0xb7/0xc00
softirqs last  enabled at (18506946): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
softirqs last disabled at (18506944): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
CPU: 8 PID: 1 Comm: systemd Tainted: G      D W I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
Call Trace:
 dump_stack+0x70/0x9a
 ___might_sleep.cold.16+0xf0/0x101
 __might_sleep+0x4a/0x80
 exit_signals+0x20/0x290
 do_exit+0xb1/0xc50
 ? 0xffffffffc0451000
 rewind_stack_do_exit+0x17/0x20
RIP: 0033:0x7f9b150c20bf
Code: ed 0f 85 44 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 c5 00 00 00 41 89 c4 85 c0 0f 85 d2 00 00 
RSP: 002b:00007ffcfba3f9f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f9b154e5000 RCX: 00007f9b150c20bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f9b14f38840
R10: 00007f9b14f38b10 R11: 0000000000000246 R12: 0000000000000003
R13: 00005580f885b010 R14: 00005580f87f8d58 R15: 00007ffcfba3fcb0
systemd: 26 output lines suppressed due to ratelimiting
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009

Kernel Offset: 0x1c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
 ]---
------------[ cut here ]------------
sched: Unexpected reschedule of offline CPU#7!
WARNING: CPU: 1 PID: 1 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x3a/0x40
Modules linked in: snd_hda_codec_hdmi intel_rapl sb_edac x86_pkg_temp_thermal nouveau intel_powerclamp coretemp crct10dif_pclmul snd_hda_intel crct10dif_common snd_hda_codec aesni_intel iTCO_wdt snd_hda_core efi_pstore gpio_ich iTCO_vendor_support aes_x86_64 snd_pcm crypto_simd snd_timer cryptd glue_helper video efivars i2c_i801 wmi pcc_cpufreq lpc_ich acpi_pad acpi_power_meter openvswitch nsh nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_conncount nf_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack
CPU: 1 PID: 1 Comm: systemd Tainted: G      D W I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
RIP: 0010:native_smp_send_reschedule+0x3a/0x40
Code: 07 99 01 73 17 48 8b 05 74 fb 5c 01 be fd 00 00 00 48 8b 40 30 e8 e6 87 fb 00 5d c3 89 fe 48 c7 c7 20 3b 12 84 e8 c2 aa 02 00 <0f> 0b 5d c3 66 90 0f 1f 44 00 00 8b 05 75 cd ec 01 85 c0 74 01 c3 
RSP: 0018:ffffa4393d803c40 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffffa43939b60000 RCX: 0000000000000001
RDX: 0000000000000007 RSI: ffffffff84148446 RDI: 00000000ffffffff
RBP: ffffa4393d803c40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: ffffa4393d803d10 R14: ffffa4393d803d14 R15: ffffa4392a4aaa40
FS:  00007f9b14f38840(0000) GS:ffffa4393d800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa31fc46860 CR3: 0000000862212006 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 resched_curr+0x11a/0x1d0
 check_preempt_curr+0x83/0xb0
 ttwu_do_wakeup.isra.7+0x23/0x280
 ttwu_do_activate+0x77/0xb0
 try_to_wake_up+0x264/0x6e0
 default_wake_function+0x12/0x20
 autoremove_wake_function+0x12/0x40
 __wake_up_common+0x78/0x140
 __wake_up_common_lock+0x80/0xc0
 ? tick_sched_handle.isra.6+0x50/0x50
 __wake_up+0x13/0x20
 wake_up_klogd_work_func+0x62/0x70
 irq_work_run_list+0x4e/0x80
 irq_work_tick+0x50/0x60
 update_process_times+0x54/0x60
 tick_sched_handle.isra.6+0x39/0x50
 tick_sched_timer+0x41/0x80
 __hrtimer_run_queues+0x116/0x5a0
 hrtimer_interrupt+0x101/0x210
 smp_apic_timer_interrupt+0x8a/0x310
 apic_timer_interrupt+0xf/0x20
 </IRQ>
RIP: 0010:panic+0x1e8/0x227
Code: b0 83 3d cf 11 ea 01 00 74 05 e8 40 bf 02 00 48 c7 c6 40 67 b1 84 48 c7 c7 e8 ab 12 84 e8 30 1b 08 00 e8 78 91 06 00 fb 31 db <4c> 39 eb 7c 1d 41 83 f4 01 48 8b 05 95 11 ea 01 44 89 e7 e8 8d da 
RSP: 0018:ffffa59fc3273e60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000056 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff82c75558 RDI: ffffffff82cde6dd
RBP: ffffa59fc3273ed0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffa43939a88001 R15: ffffa43939a9fa58
 ? panic+0x1e5/0x227
 ? trace_hardirqs_on+0xd/0x10
 ? do_exit+0x9cd/0xc50
 do_exit.cold.4+0x29/0x89
 ? 0xffffffffc0451000
 rewind_stack_do_exit+0x17/0x20
RIP: 0033:0x7f9b150c20bf
Code: Bad RIP value.
RSP: 002b:00007ffcfba3f9f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f9b154e5000 RCX: 00007f9b150c20bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f9b14f38840
R10: 00007f9b14f38b10 R11: 0000000000000246 R12: 0000000000000003
R13: 00005580f885b010 R14: 00005580f87f8d58 R15: 00007ffcfba3fcb0
irq event stamp: 18507100
hardirqs last  enabled at (18507099): [<ffffffff839c3737>] _raw_spin_unlock_irqrestore+0x57/0x70
hardirqs last disabled at (18507100): [<ffffffff839bbda7>] __schedule+0xb7/0xc00
softirqs last  enabled at (18506946): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
softirqs last disabled at (18506944): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
---[ end trace b1f1bd45218d36d9 ]---
------------[ cut here ]------------
sched: Unexpected reschedule of offline CPU#0!
WARNING: CPU: 1 PID: 1 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x3a/0x40
Modules linked in: snd_hda_codec_hdmi intel_rapl sb_edac x86_pkg_temp_thermal nouveau intel_powerclamp coretemp crct10dif_pclmul snd_hda_intel crct10dif_common snd_hda_codec aesni_intel iTCO_wdt snd_hda_core efi_pstore gpio_ich iTCO_vendor_support aes_x86_64 snd_pcm crypto_simd snd_timer cryptd glue_helper video efivars i2c_i801 wmi pcc_cpufreq lpc_ich acpi_pad acpi_power_meter openvswitch nsh nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_conncount nf_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack
CPU: 1 PID: 1 Comm: systemd Tainted: G      D W I       4.18.41-yocto-standard #1
Hardware name: Intel Corp. GRANGEVILLE/GRANTLEY, BIOS GNVDTRL1.86B.0010.D88.1906040040 06/04/2019
RIP: 0010:native_smp_send_reschedule+0x3a/0x40
Code: 07 99 01 73 17 48 8b 05 74 fb 5c 01 be fd 00 00 00 48 8b 40 30 e8 e6 87 fb 00 5d c3 89 fe 48 c7 c7 20 3b 12 84 e8 c2 aa 02 00 <0f> 0b 5d c3 66 90 0f 1f 44 00 00 8b 05 75 cd ec 01 85 c0 74 01 c3 
RSP: 0018:ffffa4393d803d30 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffffffff844197c0 RCX: 0000000000000001
RDX: 0000000000000007 RSI: ffffffff84148446 RDI: 00000000ffffffff
RBP: ffffa4393d803d30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffa4393d803e00 R14: ffffa4393d803e04 R15: ffffa43939af2a40
FS:  00007f9b14f38840(0000) GS:ffffa4393d800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9b150c2095 CR3: 0000000862212006 CR4: 00000000003606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 resched_curr+0x11a/0x1d0
 check_preempt_curr+0x83/0xb0
 ttwu_do_wakeup.isra.7+0x23/0x280
 ttwu_do_activate+0x77/0xb0
 try_to_wake_up+0x264/0x6e0
 wake_up_process+0x15/0x20
 swake_up_locked.part.0+0x17/0x30
 swake_up+0x2c/0x40
 rcu_gp_kthread_wake+0x3b/0x60
 rcu_report_qs_rsp+0x53/0x80
 rcu_report_qs_rnp+0x155/0x170
 ? rcu_accelerate_cbs+0x39/0x230
 rcu_process_callbacks+0x2ef/0x560
 __do_softirq+0xdc/0x538
 irq_exit+0xb3/0xd0
 smp_apic_timer_interrupt+0xb0/0x310
 apic_timer_interrupt+0xf/0x20
 </IRQ>
RIP: 0010:panic+0x1e8/0x227
Code: b0 83 3d cf 11 ea 01 00 74 05 e8 40 bf 02 00 48 c7 c6 40 67 b1 84 48 c7 c7 e8 ab 12 84 e8 30 1b 08 00 e8 78 91 06 00 fb 31 db <4c> 39 eb 7c 1d 41 83 f4 01 48 8b 05 95 11 ea 01 44 89 e7 e8 8d da 
RSP: 0018:ffffa59fc3273e60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000056 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff82c75558 RDI: ffffffff82cde6dd
RBP: ffffa59fc3273ed0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffa43939a88001 R15: ffffa43939a9fa58
 ? panic+0x1e5/0x227
 ? trace_hardirqs_on+0xd/0x10
 ? do_exit+0x9cd/0xc50
 do_exit.cold.4+0x29/0x89
 ? 0xffffffffc0451000
 rewind_stack_do_exit+0x17/0x20
RIP: 0033:0x7f9b150c20bf
Code: Bad RIP value.
RSP: 002b:00007ffcfba3f9f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f9b154e5000 RCX: 00007f9b150c20bf
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f9b14f38840
R10: 00007f9b14f38b10 R11: 0000000000000246 R12: 0000000000000003
R13: 00005580f885b010 R14: 00005580f87f8d58 R15: 00007ffcfba3fcb0
irq event stamp: 18507100
hardirqs last  enabled at (18507099): [<ffffffff839c3737>] _raw_spin_unlock_irqrestore+0x57/0x70
hardirqs last disabled at (18507100): [<ffffffff839bbda7>] __schedule+0xb7/0xc00
softirqs last  enabled at (18506946): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
softirqs last disabled at (18506944): [<ffffffff83894167>] unix_sock_destructor+0x57/0xb0
---[ end trace b1f1bd45218d36da ]---


Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_18/WRL10_18_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --distro wrlinux --accept-eula=yes --dl-layers
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1018/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/wr-kts/template.conf >> conf/local.conf && echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf &&echo BB_NO_NETWORK_pn-lmbench = \"0\" >> conf/local.conf

bitbake wrlinux-image-glibc-std

/opt/wr-test/main_test.py -s ftrace_dynamic_kprobe
Live chat
Online