On Thu, 29 May 2014 11:13:09 +0800, RS said:
How to detect the kernel memory overflow errors?
With a sufficiently recent gcc, you can build the kernel
with CONFIG_CC_STACKPROTECTOR=y which will put a canary
value on the stack and check it for corruption.