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
| ||
|
Date: Mon, 18 Jul 2022 14:10:26 +0800 From: kernel test robot <lkp@...el.com> To: NeilBrown <neilb@...e.com> Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Anna Schumaker <Anna.Schumaker@...app.com> Subject: [linux-stable-rc:linux-4.19.y 458/3297] net/core/sock.c:1090: Error: unrecognized opcode `csrs sstatus,s9' tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y head: e8b2a9c3318357b7661c6075acdb723587def656 commit: 7581fdf6c01991f03b1b51d524f1b7b64c920ce3 [458/3297] cred: allow get_cred() and put_cred() to be given NULL. config: riscv-randconfig-c024-20220717 (https://download.01.org/0day-ci/archive/20220718/202207181435.EWCRFx9Y-lkp@intel.com/config) compiler: riscv32-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=7581fdf6c01991f03b1b51d524f1b7b64c920ce3 git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git fetch --no-tags linux-stable-rc linux-4.19.y git checkout 7581fdf6c01991f03b1b51d524f1b7b64c920ce3 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash net/core/ 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 >>): arch/riscv/include/asm/irqflags.h: Assembler messages: arch/riscv/include/asm/irqflags.h:42: Error: unrecognized opcode `csrrc a5,sstatus,2' arch/riscv/include/asm/irqflags.h:60: Error: unrecognized opcode `csrs sstatus,a5' net/core/sock.c:673: Error: unrecognized opcode `csrs sstatus,a5' net/core/sock.c:673: Error: unrecognized opcode `csrc sstatus,a5' net/core/sock.c:1112: Error: unrecognized opcode `csrs sstatus,a5' net/core/sock.c:1112: Error: unrecognized opcode `csrc sstatus,a5' net/core/sock.c:1267: Error: unrecognized opcode `csrs sstatus,a4' net/core/sock.c:1267: Error: unrecognized opcode `csrc sstatus,a4' >> net/core/sock.c:1090: Error: unrecognized opcode `csrs sstatus,s9' >> net/core/sock.c:1090: Error: unrecognized opcode `csrc sstatus,s9' net/core/sock.c:610: Error: unrecognized opcode `csrs sstatus,a5' net/core/sock.c:610: Error: unrecognized opcode `csrc sstatus,a5' net/core/sock.c:1420: Error: unrecognized opcode `csrs sstatus,a4' net/core/sock.c:1420: Error: unrecognized opcode `csrc sstatus,a4' vim +1090 net/core/sock.c 3f551f9436c05a Eric W. Biederman 2010-06-13 1083 28b5ba2aa0f55d David Herrmann 2017-06-21 1084 static int groups_to_user(gid_t __user *dst, const struct group_info *src) 28b5ba2aa0f55d David Herrmann 2017-06-21 1085 { 28b5ba2aa0f55d David Herrmann 2017-06-21 1086 struct user_namespace *user_ns = current_user_ns(); 28b5ba2aa0f55d David Herrmann 2017-06-21 1087 int i; 28b5ba2aa0f55d David Herrmann 2017-06-21 1088 28b5ba2aa0f55d David Herrmann 2017-06-21 1089 for (i = 0; i < src->ngroups; i++) 28b5ba2aa0f55d David Herrmann 2017-06-21 @1090 if (put_user(from_kgid_munged(user_ns, src->gid[i]), dst + i)) 28b5ba2aa0f55d David Herrmann 2017-06-21 1091 return -EFAULT; 28b5ba2aa0f55d David Herrmann 2017-06-21 1092 28b5ba2aa0f55d David Herrmann 2017-06-21 1093 return 0; 28b5ba2aa0f55d David Herrmann 2017-06-21 1094 } 28b5ba2aa0f55d David Herrmann 2017-06-21 1095 :::::: The code at line 1090 was first introduced by commit :::::: 28b5ba2aa0f55d80adb2624564ed2b170c19519e net: introduce SO_PEERGROUPS getsockopt :::::: TO: David Herrmann <dh.herrmann@...il.com> :::::: CC: David S. Miller <davem@...emloft.net> -- 0-DAY CI Kernel Test Service https://01.org/lkp
Powered by blists - more mailing lists