Re: next/master build: 210 builds: 7 failed, 203 passed, 7 errors, 1669 warnings (next-20210914)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 14, 2021 at 01:32:23AM -0700, kernelci.org bot wrote:
> Errors summary:
> 
>     2    include/linux/slab.h:618:9: error: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
>     1    include/linux/slab.h:461:9: error: argument 1 value ‘4294967295’ exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
>     1    drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size of 3312 bytes in function 'gbaudio_tplg_create_widget' [-Werror,-Wframe-larger-than=]
>     1    drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:138:4: error: argument 1 value ‘4294967295’ exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]

These (the same root cause as [1]) are fixed by:
https://lore.kernel.org/lkml/20210910201132.3809437-1-keescook@xxxxxxxxxxxx/

which is in mmots (soon to be mmotm, soon to be in -next):
https://www.ozlabs.org/~akpm/mmots/broken-out/compiler-attributes-add-__alloc_size-for-better-bounds-checking-fix.patch

-Kees

[1] https://lore.kernel.org/lkml/20210908014623.61357-1-cuibixuan@xxxxxxxxxx/

-- 
Kees Cook



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux