canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04426
[Bug 2070034] [NEW] test.d/kprobe/multiple_kprobes.tc in ubuntu_kselftests_ftrace cause kernel panic on N-riscv
Public bug reported:
Issue found with N-riscv 6.8.0-35.35.1
Simply run the `sudo ./ftracetest -v test.d/kprobe/multiple_kprobes.tc`
will cause kernel panic on our VM.
ubuntu@riscv64-noble:~/autotest/client/tmp/ubuntu_kselftests_ftrace/src/linux/tools/testing/selftests/ftrace$
sudo ./ftracetest -v test.d/kprobe/multiple_kprobes.tc
[10369.324192] Kernel panic - not syncing: Kernel stack overflow
[10369.324246] Insufficient stack space to handle exception!
[10369.324251] Task stack: [0xffff8f80001b0000..0xffff8f80001b4000]
[10369.324258] Overflow stack: [0xffffaf81fed1b070..0xffffaf81fed1c070]
[10369.324267] CPU: 4 PID: 40 Comm: migration/4 Tainted: G D 6.8.0-35-generic #35.1-Ubuntu
[10369.324279] Hardware name: riscv-virtio,qemu (DT)
[10369.324285] Stopper: multi_cpu_stop+0x0/0x194 <- stop_machine_cpuslocked+0x12e/0x164
[10369.324308] epc : irqentry_nmi_enter+0x8e/0x90
[10369.324322] ra : do_trap_break+0x40/0x66
[10369.324334] epc : ffffffff80c8cc96 ra : ffffffff80c8c92c sp : ffffaf81fed18010
[10369.324343] gp : ffffffff8218fca0 tp : 0000000000000000 t0 : ffffffff80c8c8ec
[10369.324352] t1 : ffffffff81400d58 t2 : ffffffff81400dd8 s0 : ffffaf81fed18030
[10369.324361] s1 : ffffaf81fed18030 a0 : ffffaf81fed18030 a1 : 0000000000000000
[10369.324370] a2 : 0000000000f00000 a3 : 0000000000f00000 a4 : 0000000000f00000
[10369.324379] a5 : 0000000000000100 a6 : 0000000000000000 a7 : 0000000000000000
[10369.324387] s2 : ffffffff80c8cc96 s3 : 0000000000000000 s4 : 0000000000000003
[10369.324396] s5 : ffffaf80808ad880 s6 : ffffaf827dcec000 s7 : ffffffff81030070
[10369.324405] s8 : ffffaf80881fec18 s9 : 0000000000000003 s10: 0000000000000003
[10369.324414] s11: 0000000000000002 t3 : 0000000000000000 t4 : 0000000000000000
[10369.324422] t5 : 0000000000000000 t6 : 0000000000000000
[10369.324429] status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003
[10369.324446] Kernel panic - not syncing: Kernel stack overflow
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags: noble riscv sru-20240429 ubuntu-kselftests-ftrace
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2070034
Title:
test.d/kprobe/multiple_kprobes.tc in ubuntu_kselftests_ftrace cause
kernel panic on N-riscv
Status in ubuntu-kernel-tests:
New
Bug description:
Issue found with N-riscv 6.8.0-35.35.1
Simply run the `sudo ./ftracetest -v
test.d/kprobe/multiple_kprobes.tc` will cause kernel panic on our VM.
ubuntu@riscv64-noble:~/autotest/client/tmp/ubuntu_kselftests_ftrace/src/linux/tools/testing/selftests/ftrace$
sudo ./ftracetest -v test.d/kprobe/multiple_kprobes.tc
[10369.324192] Kernel panic - not syncing: Kernel stack overflow
[10369.324246] Insufficient stack space to handle exception!
[10369.324251] Task stack: [0xffff8f80001b0000..0xffff8f80001b4000]
[10369.324258] Overflow stack: [0xffffaf81fed1b070..0xffffaf81fed1c070]
[10369.324267] CPU: 4 PID: 40 Comm: migration/4 Tainted: G D 6.8.0-35-generic #35.1-Ubuntu
[10369.324279] Hardware name: riscv-virtio,qemu (DT)
[10369.324285] Stopper: multi_cpu_stop+0x0/0x194 <- stop_machine_cpuslocked+0x12e/0x164
[10369.324308] epc : irqentry_nmi_enter+0x8e/0x90
[10369.324322] ra : do_trap_break+0x40/0x66
[10369.324334] epc : ffffffff80c8cc96 ra : ffffffff80c8c92c sp : ffffaf81fed18010
[10369.324343] gp : ffffffff8218fca0 tp : 0000000000000000 t0 : ffffffff80c8c8ec
[10369.324352] t1 : ffffffff81400d58 t2 : ffffffff81400dd8 s0 : ffffaf81fed18030
[10369.324361] s1 : ffffaf81fed18030 a0 : ffffaf81fed18030 a1 : 0000000000000000
[10369.324370] a2 : 0000000000f00000 a3 : 0000000000f00000 a4 : 0000000000f00000
[10369.324379] a5 : 0000000000000100 a6 : 0000000000000000 a7 : 0000000000000000
[10369.324387] s2 : ffffffff80c8cc96 s3 : 0000000000000000 s4 : 0000000000000003
[10369.324396] s5 : ffffaf80808ad880 s6 : ffffaf827dcec000 s7 : ffffffff81030070
[10369.324405] s8 : ffffaf80881fec18 s9 : 0000000000000003 s10: 0000000000000003
[10369.324414] s11: 0000000000000002 t3 : 0000000000000000 t4 : 0000000000000000
[10369.324422] t5 : 0000000000000000 t6 : 0000000000000000
[10369.324429] status: 0000000000000100 badaddr: 0000000000000000 cause: 0000000000000003
[10369.324446] Kernel panic - not syncing: Kernel stack overflow
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2070034/+subscriptions