Increasing the kernel stack order fixes this issue.

--- a/arch/riscv/include/asm/thread_info.h
+++ b/arch/riscv/include/asm/thread_info.h
-#define THREAD_SIZE_ORDER      (1)
+#define THREAD_SIZE_ORDER      (2)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1877954

Title:
   linux: riscv: corrupted stack detected inside scheduler

Status in linux package in Ubuntu:
  In Progress

Bug description:
  While running gcov stress-ng coverage with a 5.4.0-24-generic risc-v
  kernel in QEMU a corrupted stack end was detected inside the scheduler
  while running the stressng sctp stress test.

  Attached is photo of the stack dump

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877954/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to