Re: KASAN: global-out-of-bounds in console_unlock
From: Sergey Senozhatsky
Date: Sun Sep 27 2020 - 22:08:00 EST
Cc-ing John and Steven
On (20/09/27 11:12), Dmitry Vyukov wrote:
> Hi printk maintainers,
>
> I've got the following out-of-bounds in printk code.
> This is on next-20200925. Config is attached.
> This is just on pr_cont("\n"). Something overreads the string.
>
> ==================================================================
> BUG: KASAN: global-out-of-bounds in memchr+0x65/0x80 lib/string.c:1058
> Read of size 1 at addr ffffffff8c68c860 by task swapper/0/0
Thanks for the report. I think this should be fixed by
https://lore.kernel.org/lkml/20200926015526.8921-1-john.ogness@xxxxxxxxxxxxx/
-ss