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: <202102070848.nLwrRPhY-lkp@intel.com>
Date:   Sun, 7 Feb 2021 08:53:53 +0800
From:   kernel test robot <lkp@...el.com>
To:     Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
        Matthieu Baerts <matthieu.baerts@...sares.net>
Subject: net/xfrm/xfrm_output.c:506:5: warning: stack frame size of 2128
 bytes in function 'xfrm_output_resume'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   61556703b610a104de324e4f061dc6cf7b218b46
commit: 010b430d5df556d5d232e3751ac691ba9e88c041 mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
date:   4 months ago
config: powerpc64-randconfig-r025-20210205 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=010b430d5df556d5d232e3751ac691ba9e88c041
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 010b430d5df556d5d232e3751ac691ba9e88c041
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

All warnings (new ones prefixed by >>):

>> net/xfrm/xfrm_output.c:506:5: warning: stack frame size of 2128 bytes in function 'xfrm_output_resume' [-Wframe-larger-than=]
   int xfrm_output_resume(struct sk_buff *skb, int err)
       ^
   1 warning generated.


vim +/xfrm_output_resume +506 net/xfrm/xfrm_output.c

862b82c6f960cc Herbert Xu        2007-11-13  505  
c6581a457e661b Herbert Xu        2007-11-13 @506  int xfrm_output_resume(struct sk_buff *skb, int err)
862b82c6f960cc Herbert Xu        2007-11-13  507  {
29a26a56803855 Eric W. Biederman 2015-09-15  508  	struct net *net = xs_net(skb_dst(skb)->xfrm);
be10de0a322ded Eric W. Biederman 2015-09-17  509  
c6581a457e661b Herbert Xu        2007-11-13  510  	while (likely((err = xfrm_output_one(skb, err)) == 0)) {
895b5c9f206eb7 Florian Westphal  2019-09-29  511  		nf_reset_ct(skb);
862b82c6f960cc Herbert Xu        2007-11-13  512  
cf91a99daa4651 Eric W. Biederman 2015-10-07  513  		err = skb_dst(skb)->ops->local_out(net, skb->sk, skb);
862b82c6f960cc Herbert Xu        2007-11-13  514  		if (unlikely(err != 1))
c6581a457e661b Herbert Xu        2007-11-13  515  			goto out;
862b82c6f960cc Herbert Xu        2007-11-13  516  
adf30907d63893 Eric Dumazet      2009-06-02  517  		if (!skb_dst(skb)->xfrm)
13206b6bff3b15 Eric W. Biederman 2015-10-07  518  			return dst_output(net, skb->sk, skb);
862b82c6f960cc Herbert Xu        2007-11-13  519  
adf30907d63893 Eric Dumazet      2009-06-02  520  		err = nf_hook(skb_dst(skb)->ops->family,
29a26a56803855 Eric W. Biederman 2015-09-15  521  			      NF_INET_POST_ROUTING, net, skb->sk, skb,
adf30907d63893 Eric Dumazet      2009-06-02  522  			      NULL, skb_dst(skb)->dev, xfrm_output2);
862b82c6f960cc Herbert Xu        2007-11-13  523  		if (unlikely(err != 1))
c6581a457e661b Herbert Xu        2007-11-13  524  			goto out;
862b82c6f960cc Herbert Xu        2007-11-13  525  	}
862b82c6f960cc Herbert Xu        2007-11-13  526  
c6581a457e661b Herbert Xu        2007-11-13  527  	if (err == -EINPROGRESS)
c6581a457e661b Herbert Xu        2007-11-13  528  		err = 0;
c6581a457e661b Herbert Xu        2007-11-13  529  
c6581a457e661b Herbert Xu        2007-11-13  530  out:
862b82c6f960cc Herbert Xu        2007-11-13  531  	return err;
862b82c6f960cc Herbert Xu        2007-11-13  532  }
c6581a457e661b Herbert Xu        2007-11-13  533  EXPORT_SYMBOL_GPL(xfrm_output_resume);
862b82c6f960cc Herbert Xu        2007-11-13  534  

:::::: The code at line 506 was first introduced by commit
:::::: c6581a457e661b7070e484ad723bbf555b17aca2 [IPSEC]: Add async resume support on output

:::::: TO: Herbert Xu <herbert@...dor.apana.org.au>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ