Re: [PATCH] printk: fix buffer overflow potential for print_text()

From: John Ogness
Date: Fri Feb 26 2021 - 12:40:08 EST


On 2021-02-26, Alexander Gordeev <agordeev@xxxxxxxxxxxxx> wrote:
> I am seeing KASAN reporting incorrect 1-byte access in exactly
> same location Sven has identified before. In case there no
> fix for it yet, please see below what happens in case of pretty
> large buffer - WARN_ONCE() invocation in my case.

It looks like you have not applied the fix yet:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=08d60e5999540110576e7c1346d486220751b7f9

John Ogness