tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.19
head: 44e67a183b957910c92ce954ecf443dc9a5bad2d
commit: 142e293ce46a1c63cb167af6743e2b8abb6581df [19/27] netfilter: nftables: fix possible
UAF over chains from packet path in netns
config: arm-randconfig-c004-20210215 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.19
git checkout 142e293ce46a1c63cb167af6743e2b8abb6581df
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
net/netfilter/nf_tables_api.c: In function 'nft_request_module':
net/netfilter/nf_tables_api.c:518:2: warning: function 'nft_request_module'
might be a candidate for 'gnu_printf' format attribute
[-Wsuggest-attribute=format]
518 | ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args);
| ^~~
net/netfilter/nf_tables_api.c: At top level:
> net/netfilter/nf_tables_api.c:7395:3: error: 'struct
pernet_operations' has no member named 'pre_exit'
7395 | .pre_exit
= nf_tables_pre_exit_net,
| ^~~~~~~~
> net/netfilter/nf_tables_api.c:7396:11: warning: initialized field
overwritten [-Woverride-init]
7396 | .exit = nf_tables_exit_net,
| ^~~~~~~~~~~~~~~~~~
net/netfilter/nf_tables_api.c:7396:11: note: (near initialization for
'nf_tables_net_ops.exit')
vim +7395 net/netfilter/nf_tables_api.c
7392
7393 static struct pernet_operations nf_tables_net_ops = {
7394 .init = nf_tables_init_net,
7395 .pre_exit = nf_tables_pre_exit_net,
7396 .exit = nf_tables_exit_net,
7397 };
7398
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org