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>] [day] [month] [year] [list]
Message-ID: <202109161229.MaYmuTRD-lkp@intel.com>
Date:   Thu, 16 Sep 2021 12:46:35 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [peterz-queue:x86/core 2/2] arch/x86/kernel/traps.c:468:38: error:
 'address' undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/core
head:   647d1adb49f099ced76b510d55365be7f3063341
commit: 647d1adb49f099ced76b510d55365be7f3063341 [2/2] x86/dumpstack/64: Add guard pages to stack_info
config: x86_64-randconfig-a011-20210916 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=647d1adb49f099ced76b510d55365be7f3063341
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/core
        git checkout 647d1adb49f099ced76b510d55365be7f3063341
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   arch/x86/kernel/traps.c: In function 'exc_double_fault':
>> arch/x86/kernel/traps.c:468:38: error: 'address' undeclared (first use in this function)
     468 |   if (get_stack_info_noinstr((void *)address, current, &info) &&
         |                                      ^~~~~~~
   arch/x86/kernel/traps.c:468:38: note: each undeclared identifier is reported only once for each function it appears in


vim +/address +468 arch/x86/kernel/traps.c

   463	
   464	#ifdef CONFIG_X86_64
   465		{
   466			struct stack_info info;
   467	
 > 468			if (get_stack_info_noinstr((void *)address, current, &info) &&
   469			    info.type & STACK_TYPE_GUARD) {
   470				const char *name = stack_type_name(info.type & ~STACK_TYPE_GUARD);
   471				pr_emerg("BUG: %s stack guard hit at %p (stack is %p..%p)\n",
   472					 name, (void *)address, info.begin, info.end);
   473			}
   474		}
   475	#endif
   476	
   477		pr_emerg("PANIC: double fault, error_code: 0x%lx\n", error_code);
   478		die("double fault", regs, error_code);
   479		panic("Machine halted.");
   480		instrumentation_end();
   481	}
   482	

---
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" (38516 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ