Thread (14 messages) 14 messages, 7 authors, 2021-11-17

Re: Build regressions/improvements in v5.16-rc1

From: Kees Cook <hidden>
Date: 2021-11-16 03:51:52
Also in: dri-devel, linux-arm-msm, linux-crypto, linux-gpio, linux-mips, linux-pci, linuxppc-dev, lkml

On Mon, Nov 15, 2021 at 05:44:33PM +0100, Marco Elver wrote:
On Mon, Nov 15, 2021 at 05:12PM +0100, Geert Uytterhoeven wrote:
[...]
quoted
quoted
  + /kisskb/src/include/linux/fortify-string.h: error: call to '__read_overflow' declared with attribute error: detected read beyond size of object (1st parameter):  => 263:25, 277:17
    in lib/test_kasan.c

s390-all{mod,yes}config
arm64-allmodconfig (gcc11)
Kees, wasn't that what [1] was meant to fix?
[1] https://lkml.kernel.org/r/20211006181544.1670992-1-keescook@chromium.org
[1] fixed the ones I found when scanning for __write_overflow(). [2]
fixed some others, so it's possible there are yet more to fix?

Taking a look at Linus's tree, though, the "263" and "277" lines don't
line up correctly. I'll go see if I can reproduce this. Is this with
W=1?

-Kees

[2] https://www.ozlabs.org/~akpm/mmotm/broken-out/kasan-test-consolidate-workarounds-for-unwanted-__alloc_size-protection.patch


-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help