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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203140800.8pr81INh-lkp@intel.com>
Date:   Mon, 14 Mar 2022 08:16:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kumar Kartikeya Dwivedi <memxor@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Toke Høiland-Jørgensen <toke@...hat.com>
Subject: [toke:xdp-queueing-03 2/9] net/packet/af_packet.c:1448: undefined
 reference to `__umoddi3'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-03
head:   3e7f25d58b1bfd5ad623678bf9e11f27c98a8094
commit: 1cc16c4489cbf066b09942ea224e6dc9ac6a46ac [2/9] bpf: Use 64-bit return value for bpf_prog_run
config: i386-randconfig-c001 (https://download.01.org/0day-ci/archive/20220314/202203140800.8pr81INh-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=1cc16c4489cbf066b09942ea224e6dc9ac6a46ac
        git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
        git fetch --no-tags toke xdp-queueing-03
        git checkout 1cc16c4489cbf066b09942ea224e6dc9ac6a46ac
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 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 >>):

   ld: net/packet/af_packet.o: in function `fanout_demux_bpf':
>> net/packet/af_packet.c:1448: undefined reference to `__umoddi3'


vim +1448 net/packet/af_packet.c

2d36097d26b599 Neil Horman        2014-01-22  1437  
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1438  static unsigned int fanout_demux_bpf(struct packet_fanout *f,
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1439  				     struct sk_buff *skb,
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1440  				     unsigned int num)
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1441  {
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1442  	struct bpf_prog *prog;
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1443  	unsigned int ret = 0;
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1444  
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1445  	rcu_read_lock();
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1446  	prog = rcu_dereference(f->bpf_prog);
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1447  	if (prog)
ff936a04e5f28b Alexei Starovoitov 2015-10-07 @1448  		ret = bpf_prog_run_clear_cb(prog, skb) % num;
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1449  	rcu_read_unlock();
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1450  
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1451  	return ret;
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1452  }
47dceb8ecdc1c3 Willem de Bruijn   2015-08-14  1453  

:::::: The code at line 1448 was first introduced by commit
:::::: ff936a04e5f28b7e0455be0e7fa91334f89e4b44 bpf: fix cb access in socket filter programs

:::::: TO: Alexei Starovoitov <ast@...mgrid.com>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ