lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202101151607.PZjBLHmo-lkp@intel.com>
Date:   Fri, 15 Jan 2021 16:53:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Elena Petrova <lenaptr@...gle.com>, kvmarm@...ts.cs.columbia.edu
Cc:     kbuild-all@...ts.01.org, Elena Petrova <lenaptr@...gle.com>,
        linux-arm-kernel@...ts.infradead.org,
        open list <linux-kernel@...r.kernel.org>,
        Marc Zyngier <maz@...nel.org>,
        James Morse <james.morse@....com>,
        Julien Thierry <julien.thierry.kdev@...il.com>,
        Suzuki K Poulose <suzuki.poulose@....com>,
        George Popescu <george.apopescu97@...il.com>,
        George-Aurelian Popescu <georgepope@...gle.com>
Subject: Re: [PATCH v2 1/9] KVM: arm64: Enable UBSan instrumentation in nVHE
 hyp code

Hi Elena,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on v5.11-rc3 next-20210115]
[cannot apply to kvmarm/next soc/for-next arm/for-next xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Elena-Petrova/UBSan-Enablement-for-hyp-nVHE-code/20210115-112509
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/9eaabf22215aee1257362a608a15658c558d7fe5
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Elena-Petrova/UBSan-Enablement-for-hyp-nVHE-code/20210115-112509
        git checkout 9eaabf22215aee1257362a608a15658c558d7fe5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   arch/arm64/kvm/hyp/nvhe/ubsan.c:10:6: warning: no previous prototype for '__ubsan_handle_add_overflow' [-Wmissing-prototypes]
      10 | void __ubsan_handle_add_overflow(void *_data, void *lhs, void *rhs) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:12:6: warning: no previous prototype for '__ubsan_handle_sub_overflow' [-Wmissing-prototypes]
      12 | void __ubsan_handle_sub_overflow(void *_data, void *lhs, void *rhs) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:14:6: warning: no previous prototype for '__ubsan_handle_mul_overflow' [-Wmissing-prototypes]
      14 | void __ubsan_handle_mul_overflow(void *_data, void *lhs, void *rhs) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:16:6: warning: no previous prototype for '__ubsan_handle_negate_overflow' [-Wmissing-prototypes]
      16 | void __ubsan_handle_negate_overflow(void *_data, void *old_val) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:18:6: warning: no previous prototype for '__ubsan_handle_divrem_overflow' [-Wmissing-prototypes]
      18 | void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:20:6: warning: no previous prototype for '__ubsan_handle_type_mismatch' [-Wmissing-prototypes]
      20 | void __ubsan_handle_type_mismatch(struct type_mismatch_data *data, void *ptr) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/hyp/nvhe/ubsan.c:22:6: warning: no previous prototype for '__ubsan_handle_type_mismatch_v1' [-Wmissing-prototypes]
      22 | void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:24:6: warning: no previous prototype for '__ubsan_handle_out_of_bounds' [-Wmissing-prototypes]
      24 | void __ubsan_handle_out_of_bounds(void *_data, void *index) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:26:6: warning: no previous prototype for '__ubsan_handle_shift_out_of_bounds' [-Wmissing-prototypes]
      26 | void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:28:6: warning: no previous prototype for '__ubsan_handle_builtin_unreachable' [-Wmissing-prototypes]
      28 | void __ubsan_handle_builtin_unreachable(void *_data) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm64/kvm/hyp/nvhe/ubsan.c:30:6: warning: no previous prototype for '__ubsan_handle_load_invalid_value' [-Wmissing-prototypes]
      30 | void __ubsan_handle_load_invalid_value(void *_data, void *val) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/__ubsan_handle_type_mismatch_v1 +22 arch/arm64/kvm/hyp/nvhe/ubsan.c

    21	
  > 22	void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) {}
    23	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (76484 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ