Re: [lkp-robot] [include/linux/string.h] 6974f0c455: kernel_BUG_at_lib/string.c

From: Masami Hiramatsu
Date: Thu Jul 20 2017 - 23:30:00 EST


On Thu, 20 Jul 2017 11:41:38 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Thu, Jul 20, 2017 at 8:51 AM, Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
> >
> > Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > Tested-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
>
> Ok, I committed that patch as-is.
>
> Other architectures may end up with the same issue, unless they really
> happen to have just a single instruction that fits in their
> kprobe_opcode_t type in their templates. But I didn't touch any of
> their (similar) code, since it will need testing.

Similar optprobe code are in arm and powerpc, arm does not support
FORTIFY_SOURCE (yet), and powerpc already fixed that same way.
So I'll make a same fix on arm before traped to the same issue.

Thank you,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>