Re: [PATCH next] crypto: fix oob Read in arc4_crypt

kernel test robot
2023-12-24T18:54:58Z

Hi Edward,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20231222]

url: https://github.com/intel-lab-lkp/linux/commits/Edward-Adam-Davis/crypto-fix-oob-Read-in-arc4_crypt/20231222-172845
base: next-20231222
patch link: https://lore.kernel.org/r/tencent_656D589558EA3EED8ACF3C79166F202E010A%40qq.com
patch subject: [PATCH next] crypto: fix oob Read in arc4_crypt
config: i386-buildonly-randconfig-003-20231224 (https://download.01.org/0day-ci/archive/20231225/202312250259.yyBgM27K-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231225/202312250259.yyBgM27K-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312250259.yyBgM27K-lkp@intel.com/

All warnings (new ones prefixed by >>):

In file included from drivers/crypto/padlock-aes.c:13:
>> include/crypto/internal/skcipher.h:27:33: warning: 'crypto_skcipher_type' defined but not used [-Wunused-const-variable=]
27 | static const struct crypto_type crypto_skcipher_type;
| ^~~~~~~~~~~~~~~~~~~~

vim +/crypto_skcipher_type +27 include/crypto/internal/skcipher.h

24
25 struct aead_request;
26 struct rtattr;
> 27 static const struct crypto_type crypto_skcipher_type;
28

--
0-DAY CI Kernel Test Service