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] [day] [month] [year] [list]
Message-ID: <202211270757.axAuixgc-lkp@intel.com>
Date:   Sun, 27 Nov 2022 07:54:14 +0800
From:   kernel test robot <lkp@...el.com>
To:     andrey.konovalov@...ux.dev, Marco Elver <elver@...gle.com>,
        David Gow <davidgow@...gle.com>
Cc:     oe-kbuild-all@...ts.linux.dev,
        Andrey Konovalov <andreyknvl@...il.com>,
        Alexander Potapenko <glider@...gle.com>,
        Dmitry Vyukov <dvyukov@...gle.com>,
        Andrey Ryabinin <ryabinin.a.a@...il.com>,
        kasan-dev@...glegroups.com,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH mm] kasan: fail non-kasan KUnit tests on KASAN reports

Hi,

I love your patch! Yet something to improve:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on next-20221125]
[cannot apply to linus/master v6.1-rc6]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/andrey-konovalov-linux-dev/kasan-fail-non-kasan-KUnit-tests-on-KASAN-reports/20221127-021639
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/655fd7e303b852809d3a8167d28091429f969c73.1669486407.git.andreyknvl%40google.com
patch subject: [PATCH mm] kasan: fail non-kasan KUnit tests on KASAN reports
config: x86_64-rhel-8.3-kunit
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/d958adcd0a4271459e50cf8a07c6dd60c48484a4
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review andrey-konovalov-linux-dev/kasan-fail-non-kasan-KUnit-tests-on-KASAN-reports/20221127-021639
        git checkout d958adcd0a4271459e50cf8a07c6dd60c48484a4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   ld: mm/kasan/report.o: in function `fail_nonkasan_kunit_test':
>> mm/kasan/report.c:122: undefined reference to `kasan_kunit_test_suite_executing'
>> ld: mm/kasan/report.c:122: undefined reference to `kasan_kunit_test_suite_executing'
   pahole: .tmp_vmlinux.btf: No such file or directory
   .btf.vmlinux.bin.o: file not recognized: file format not recognized


vim +122 mm/kasan/report.c

   117	
   118	static void fail_nonkasan_kunit_test(void)
   119	{
   120		struct kunit *test;
   121	
 > 122		if (!kasan_kunit_test_suite_executing())
   123			return;
   124	
   125		test = current->kunit_test;
   126		if (test)
   127			kunit_set_failure(test);
   128	}
   129	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (167498 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ