Re: [mm/kasan] 80a9201a59 BUG: kernel reboot-without-warning in early-boot stage, last printk: Booting the kernel.

From: Andrey Ryabinin
Date: Mon Mar 13 2017 - 10:24:12 EST


On 02/28/2017 06:12 AM, Fengguang Wu wrote:
> Hi Alexander,
>
> FYI, we find an old bug that's still alive in linux-next. The attached
> reproduce-* script may help debug the problem.
>

...

> +--------------------------------------------------------------------------------------+------------+------------+
> | | c146a2b98e | 80a9201a59 |
> +--------------------------------------------------------------------------------------+------------+------------+
> | boot_successes | 740 | 48 |
> | boot_failures | 0 | 142 |
> | BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:Booting_the_kernel | 0 | 131 |
> | BUG:kernel_in_stage | 0 | 11 |
> +--------------------------------------------------------------------------------------+------------+------------+
>


Indeed it is an old bug, I'll send a fix shortly. But the bisection result is not correct. This bug is actually much older.
Note that commit 80a9201a596 changes Kconfig dependency - it removes depends on SLUB_DEBUG from config KASAN section.
And yours config has:
# CONFIG_SLUB_DEBUG is not set

So you simply test c146a2b98e with CONFIG_KASAN=n and 80a9201a59 with CONFIG_KASAN=y