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: <202307240925.c84SraKs-lkp@intel.com>
Date:   Mon, 24 Jul 2023 09:13:25 +0800
From:   kernel test robot <lkp@...el.com>
To:     Johannes Berg <johannes.berg@...el.com>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org,
        Gregory Greenman <gregory.greenman@...el.com>
Subject: net/mac80211/util.c:2507:5: warning: stack frame size (2096) exceeds
 limit (2048) in 'ieee80211_reconfig'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6eaae198076080886b9e7d57f4ae06fa782f90ef
commit: 61403414e1719f929386dda8fb954bb302628ef3 wifi: mac80211: implement proper AP MLD HW restart
date:   7 weeks ago
config: riscv-randconfig-r042-20230724 (https://download.01.org/0day-ci/archive/20230724/202307240925.c84SraKs-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230724/202307240925.c84SraKs-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307240925.c84SraKs-lkp@intel.com/

All warnings (new ones prefixed by >>):

   net/mac80211/util.c:995:1: warning: stack frame size (2672) exceeds limit (2048) in '_ieee802_11_parse_elems_full' [-Wframe-larger-than]
     995 | _ieee802_11_parse_elems_full(struct ieee80211_elems_parse_params *params,
         | ^
>> net/mac80211/util.c:2507:5: warning: stack frame size (2096) exceeds limit (2048) in 'ieee80211_reconfig' [-Wframe-larger-than]
    2507 | int ieee80211_reconfig(struct ieee80211_local *local)
         |     ^
   2 warnings generated.


vim +/ieee80211_reconfig +2507 net/mac80211/util.c

61403414e1719f Johannes Berg        2023-05-04  2506  
f2753ddbadb087 Johannes Berg        2009-04-14 @2507  int ieee80211_reconfig(struct ieee80211_local *local)
f2753ddbadb087 Johannes Berg        2009-04-14  2508  {
f2753ddbadb087 Johannes Berg        2009-04-14  2509  	struct ieee80211_hw *hw = &local->hw;
f2753ddbadb087 Johannes Berg        2009-04-14  2510  	struct ieee80211_sub_if_data *sdata;
55de908ab292c0 Johannes Berg        2012-07-26  2511  	struct ieee80211_chanctx *ctx;
f2753ddbadb087 Johannes Berg        2009-04-14  2512  	struct sta_info *sta;
2683d65bb016a0 Eliad Peller         2011-07-14  2513  	int res, i;
d888130a024d1d Johannes Berg        2013-01-10  2514  	bool reconfig_due_to_wowlan = false;
d43c6b6e6f2fca David Spinadel       2013-12-08  2515  	struct ieee80211_sub_if_data *sched_scan_sdata;
6ea0a69ca21bbd Johannes Berg        2014-11-19  2516  	struct cfg80211_sched_scan_request *sched_scan_req;
d43c6b6e6f2fca David Spinadel       2013-12-08  2517  	bool sched_scan_stopped = false;
b0485e9f3defbe Eliad Peller         2015-07-08  2518  	bool suspended = local->suspended;
7d352ccf1e9935 Youghandhar Chintala 2022-03-08  2519  	bool in_reconfig = false;
d888130a024d1d Johannes Berg        2013-01-10  2520  
0f8b82456178d5 Eliad Peller         2014-12-14  2521  	/* nothing to do if HW shouldn't run */
0f8b82456178d5 Eliad Peller         2014-12-14  2522  	if (!local->open_count)
0f8b82456178d5 Eliad Peller         2014-12-14  2523  		goto wake_up;
0f8b82456178d5 Eliad Peller         2014-12-14  2524  

:::::: The code at line 2507 was first introduced by commit
:::::: f2753ddbadb0873a98421415882318251bbd9eaa mac80211: add hardware restart function

:::::: TO: Johannes Berg <johannes@...solutions.net>
:::::: CC: John W. Linville <linville@...driver.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ