test.d/kprobe/multiple_kprobes.tc in ubuntu_kselftests_ftrace cause kernel panic on N-riscv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found with N-riscv 6.8.0-35.35.1
Simply run the `sudo ./ftracetest -v test.d/
ubuntu@
[10369.324192] Kernel panic - not syncing: Kernel stack overflow
[10369.324246] Insufficient stack space to handle exception!
[10369.324251] Task stack: [0xffff8f80001b
[10369.324258] Overflow stack: [0xffffaf81fed1
[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_
[10369.324308] epc : irqentry_
[10369.324322] ra : do_trap_
[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