tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/warray-bounds branch HEAD: f26f5c4b90b01bfc415b38f9246b0a36d63b9aaa sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
Warning reports: https://lore.kernel.org/lkml/202104160817.a5foa0xa-...@intel.com Warning in current branch: arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds] arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [17, 24] from the object at 'alloc' is out of the bounds of referenced subobject 'key' with type 'struct bkey' at offset 0 [-Warray-bounds] arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [3, 7] from the object at 'cmd' is out of the bounds of referenced subobject 'feature' with type 'unsigned char' at offset 1 [-Warray-bounds] possible Warning in current branch: arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds] arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [17, 38] from the object at 'txdesc' is out of the bounds of referenced subobject 'frame_control' with type 'short unsigned int' at offset 14 [-Warray-bounds] include/linux/bitmap.h:249:2: warning: 'memcpy' offset [17, 24] from the object at 'settings' is out of the bounds of referenced subobject 'advertising' with type 'long long unsigned int' at offset 8 [-Warray-bounds] include/linux/bitmap.h:249:2: warning: 'memcpy' offset [9, 16] from the object at 'settings' is out of the bounds of referenced subobject 'supported' with type 'long long unsigned int' at offset 0 [-Warray-bounds] include/linux/unaligned/le_byteshift.h:14:17: warning: array subscript 1 is outside array bounds of 'unsigned char[1]' [-Warray-bounds] include/linux/unaligned/le_byteshift.h:14:29: warning: intermediate array offset 2 is outside array bounds of 'unsigned char' [-Warray-bounds] Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allmodconfig | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-alloc-is-out-of-the-bounds-of-referenced-subobject-key-with-type-struct-bkey-at-offset | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referenced-subobject-feature-with-type-unsigned-char-at-offset | `-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-com-is-out-of-the-bounds-of-referenced-subobject-config-with-type-unsigned-char-at-offset |-- alpha-allyesconfig | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-alloc-is-out-of-the-bounds-of-referenced-subobject-key-with-type-struct-bkey-at-offset | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referenced-subobject-feature-with-type-unsigned-char-at-offset | `-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-com-is-out-of-the-bounds-of-referenced-subobject-config-with-type-unsigned-char-at-offset |-- alpha-defconfig | `-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referenced-subobject-feature-with-type-unsigned-char-at-offset |-- alpha-randconfig-r013-20210416 | |-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-alloc-is-out-of-the-bounds-of-referenced-subobject-key-with-type-struct-bkey-at-offset | `-- arch-alpha-include-asm-string.h:warning:__builtin_memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referenced-subobject-feature-with-type-unsigned-char-at-offset |-- i386-randconfig-a002-20210416 | `-- arch-x86-include-asm-string_32.h:warning:__builtin_memcpy-offset-from-the-object-at-com-is-out-of-the-bounds-of-referenced-subobject-config-with-type-unsigned-char-at-offset |-- i386-randconfig-a003-20210416 | `-- arch-x86-include-asm-string_32.h:warning:__builtin_memcpy-offset-from-the-object-at-com-is-out-of-the-bounds-of-referenced-subobject-config-with-type-unsigned-char-at-offset |-- i386-randconfig-a016-20210416 | `-- arch-x86-include-asm-string_32.h:warning:__builtin_memcpy-offset-from-the-object-at-txdesc-is-out-of-the-bounds-of-referenced-subobject-frame_control-with-type-short-unsigned-int-at-offset |-- mips-randconfig-c003-20210416 | |-- include-linux-unaligned-le_byteshift.h:warning:array-subscript-is-outside-array-bounds-of-unsigned-char | `-- include-linux-unaligned-le_byteshift.h:warning:intermediate-array-offset-is-outside-array-bounds-of-unsigned-char `-- x86_64-randconfig-a011-20210416 |-- include-linux-bitmap.h:warning:memcpy-offset-from-the-object-at-settings-is-out-of-the-bounds-of-referenced-subobject-advertising-with-type-long-long-unsigned-int-at-offset `-- include-linux-bitmap.h:warning:memcpy-offset-from-the-object-at-settings-is-out-of-the-bounds-of-referenced-subobject-supported-with-type-long-long-unsigned-int-at-offset elapsed time: 725m configs tested: 113 configs skipped: 2 gcc tested configs: arm defconfig arm64 allyesconfig arm64 defconfig arm allyesconfig arm allmodconfig x86_64 allyesconfig riscv allmodconfig i386 allyesconfig riscv allyesconfig mips capcella_defconfig sh edosk7705_defconfig arm lpc18xx_defconfig mips ip27_defconfig powerpc mpc8272_ads_defconfig arm magician_defconfig xtensa common_defconfig sh magicpanelr2_defconfig powerpc ps3_defconfig arm pcm027_defconfig sparc64 defconfig arm xcep_defconfig sh rts7751r2dplus_defconfig powerpc mpc837x_rdb_defconfig powerpc ge_imp3a_defconfig powerpc mpc8313_rdb_defconfig mips xway_defconfig arc nsim_700_defconfig arm h5000_defconfig arm orion5x_defconfig sh se7751_defconfig mips bmips_stb_defconfig mips ci20_defconfig arm multi_v7_defconfig arm jornada720_defconfig sh se7750_defconfig sh sh03_defconfig m68k mvme16x_defconfig parisc generic-64bit_defconfig mips loongson3_defconfig arm qcom_defconfig powerpc mgcoge_defconfig powerpc klondike_defconfig mips rm200_defconfig sh microdev_defconfig ia64 allmodconfig ia64 defconfig ia64 allyesconfig m68k allmodconfig m68k defconfig m68k allyesconfig nios2 defconfig arc allyesconfig nds32 allnoconfig nds32 defconfig nios2 allyesconfig csky defconfig alpha defconfig alpha allyesconfig xtensa allyesconfig h8300 allyesconfig arc defconfig sh allmodconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390 defconfig sparc allyesconfig sparc defconfig i386 defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210416 i386 randconfig-a006-20210416 i386 randconfig-a001-20210416 i386 randconfig-a005-20210416 i386 randconfig-a004-20210416 i386 randconfig-a002-20210416 x86_64 randconfig-a014-20210416 x86_64 randconfig-a015-20210416 x86_64 randconfig-a011-20210416 x86_64 randconfig-a013-20210416 x86_64 randconfig-a012-20210416 x86_64 randconfig-a016-20210416 i386 randconfig-a015-20210416 i386 randconfig-a014-20210416 i386 randconfig-a013-20210416 i386 randconfig-a012-20210416 i386 randconfig-a016-20210416 i386 randconfig-a011-20210416 riscv nommu_k210_defconfig riscv nommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig um allmodconfig um allnoconfig um allyesconfig um defconfig x86_64 rhel-8.3-kselftests x86_64 defconfig x86_64 rhel-8.3 x86_64 rhel-8.3-kbuiltin x86_64 kexec clang tested configs: x86_64 randconfig-a003-20210416 x86_64 randconfig-a002-20210416 x86_64 randconfig-a005-20210416 x86_64 randconfig-a001-20210416 x86_64 randconfig-a006-20210416 x86_64 randconfig-a004-20210416 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org