From: kernel test robot <oliver.sang@intel.com> To: Herbert Xu <herbert@gondor.apana.org.au> Cc: lkp@intel.com, Eric Biggers <ebiggers@kernel.org>, Vadim Fedorenko <vadfed@meta.com>, oliver.sang@intel.com, linux-crypto@vger.kernel.org, oe-lkp@lists.linux.dev, Ard Biesheuvel <ardb@kernel.org>, ltp@lists.linux.it Subject: Re: [LTP] [v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining Date: Sun, 10 Dec 2023 21:53:06 +0800 [thread overview] Message-ID: <202312101716.7cbf38c4-oliver.sang@intel.com> (raw) In-Reply-To: <E1r9H1M-00612B-10@formenos.hmeau.com> Hello, kernel test robot noticed "WARNING:at_net/core/sock.c:#sock_kzfree_s" on: commit: 29531d406c4f2b0f07b1d9eb4e24f5ac6b44bc05 ("[v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining") url: https://github.com/intel-lab-lkp/linux/commits/Herbert-Xu/crypto-skcipher-Add-internal-state-support/20231202-123508 base: https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git master patch link: https://lore.kernel.org/all/E1r9H1M-00612B-10@formenos.hmeau.com/ patch subject: [v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining in testcase: ltp version: ltp-x86_64-14c1f76-1_20230715 with following parameters: test: crypto compiler: gcc-12 test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Ivy Bridge) with 16G memory (please refer to attached dmesg/kmsg for entire log/backtrace) 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 <oliver.sang@intel.com> | Closes: https://lore.kernel.org/oe-lkp/202312101716.7cbf38c4-oliver.sang@intel.com kern :warn : [ 242.028749] ------------[ cut here ]------------ kern :warn : [ 242.029073] WARNING: CPU: 3 PID: 3733 at net/core/sock.c:2697 sock_kzfree_s+0x38/0x40 kern :warn : [ 242.030906] Modules linked in: sm4_generic sm4 vmac poly1305_generic libpoly1305 poly1305_x86_64 chacha_generic chacha_x86_64 libchacha chacha20poly1305 sm3_generic sm3 netconsole btrfs blake2b_generic xor raid6_pq zstd_compress libcrc32c intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal sd_mod intel_powerclamp t10_pi coretemp crc64_rocksoft_generic crc64_rocksoft crc64 kvm_intel sg ipmi_devintf ipmi_msghandler i915 kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 rapl drm_buddy mxm_wmi intel_gtt intel_cstate ahci drm_display_helper firewire_ohci libahci ttm i2c_i801 firewire_core intel_uncore drm_kms_helper crc_itu_t libata lpc_ich video i2c_smbus wmi binfmt_misc drm fuse ip_tables kern :warn : [ 242.032427] CPU: 3 PID: 3733 Comm: af_alg05 Not tainted 6.7.0-rc1-00040-g29531d406c4f #1 kern :warn : [ 242.033686] Hardware name: /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012 kern :warn : [ 242.033949] RIP: 0010:sock_kzfree_s+0x38/0x40 kern :warn : [ 242.034146] Code: 55 89 d5 53 48 89 fb 48 89 f7 e8 53 8b 82 fe 48 8d bb 48 01 00 00 be 04 00 00 00 e8 22 ad 97 fe f0 29 ab 48 01 00 00 5b 5d c3 <0f> 0b c3 0f 1f 44 00 00 f3 0f 1e fa 0f 1f 44 00 00 55 53 48 89 fb kern :warn : [ 242.034731] RSP: 0018:ffffc900011bfde8 EFLAGS: 00010246 kern :warn : [ 242.034997] RAX: dffffc0000000000 RBX: ffff8881ad1d5000 RCX: 1ffff110377659a3 kern :warn : [ 242.035308] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881ad1d5000 kern :warn : [ 242.035614] RBP: ffff8881bbb2cd00 R08: 0000000000000001 R09: ffffed1035a3aa29 kern :warn : [ 242.035913] R10: ffff8881ad1d514b R11: ffffffff83a0009f R12: ffff8881ad1d3048 kern :warn : [ 242.036153] R13: ffff8881a7c089a0 R14: ffff8881ad1d3048 R15: ffff88840eb21900 kern :warn : [ 242.036455] FS: 00007f207e42c740(0000) GS:ffff888348180000(0000) knlGS:0000000000000000 kern :warn : [ 242.036732] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kern :warn : [ 242.036985] CR2: 00007f89c0a5c2f0 CR3: 0000000403ede005 CR4: 00000000001706f0 kern :warn : [ 242.037288] Call Trace: kern :warn : [ 242.037496] <TASK> kern :warn : [ 242.037651] ? __warn+0xcd/0x260 kern :warn : [ 242.037828] ? sock_kzfree_s+0x38/0x40 kern :warn : [ 242.038013] ? report_bug+0x267/0x2d0 kern :warn : [ 242.038199] ? handle_bug+0x3c/0x70 kern :warn : [ 242.038461] ? exc_invalid_op+0x17/0x40 kern :warn : [ 242.038644] ? asm_exc_invalid_op+0x1a/0x20 kern :warn : [ 242.038854] ? entry_SYSCALL_64_after_hwframe+0x63/0x6b kern :warn : [ 242.039131] ? sock_kzfree_s+0x38/0x40 kern :warn : [ 242.039391] skcipher_sock_destruct+0x1af/0x280 kern :warn : [ 242.039657] __sk_destruct+0x46/0x4e0 kern :warn : [ 242.039862] af_alg_release+0x90/0xc0 kern :warn : [ 242.040074] __sock_release+0xa0/0x250 kern :warn : [ 242.040435] sock_close+0x15/0x20 kern :warn : [ 242.040650] __fput+0x213/0xad0 kern :warn : [ 242.040846] __x64_sys_close+0x7d/0xd0 kern :warn : [ 242.041044] do_syscall_64+0x3f/0xe0 kern :warn : [ 242.041260] entry_SYSCALL_64_after_hwframe+0x63/0x6b kern :warn : [ 242.041496] RIP: 0033:0x7f207e527780 kern :warn : [ 242.042582] Code: 0d 00 00 00 eb b2 e8 ef f6 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 80 3d 61 1e 0e 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c kern :warn : [ 242.043051] RSP: 002b:00007ffef7aefff8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 kern :warn : [ 242.043430] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f207e527780 kern :warn : [ 242.043766] RDX: 000055dda9c55b00 RSI: 00007ffef7aefad0 RDI: 0000000000000005 kern :warn : [ 242.044067] RBP: 00007ffef7af2ff0 R08: 0000000000000000 R09: 00007ffef7aeff20 kern :warn : [ 242.044415] R10: 00007ffef7aefae6 R11: 0000000000000202 R12: 00007f207e42c6c0 kern :warn : [ 242.044763] R13: 00007ffef7af0000 R14: 000055dda9c6b01e R15: 0000000000000000 kern :warn : [ 242.045069] </TASK> kern :warn : [ 242.045310] ---[ end trace 0000000000000000 ]--- The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20231210/202312101716.7cbf38c4-oliver.sang@intel.com -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki -- Mailing list info: https://lists.linux.it/listinfo/ltp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <oliver.sang@intel.com> To: Herbert Xu <herbert@gondor.apana.org.au> Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>, <linux-crypto@vger.kernel.org>, <ltp@lists.linux.it>, Eric Biggers <ebiggers@kernel.org>, Ard Biesheuvel <ardb@kernel.org>, Vadim Fedorenko <vadfed@meta.com>, <oliver.sang@intel.com> Subject: Re: [v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining Date: Sun, 10 Dec 2023 21:53:06 +0800 [thread overview] Message-ID: <202312101716.7cbf38c4-oliver.sang@intel.com> (raw) In-Reply-To: <E1r9H1M-00612B-10@formenos.hmeau.com> Hello, kernel test robot noticed "WARNING:at_net/core/sock.c:#sock_kzfree_s" on: commit: 29531d406c4f2b0f07b1d9eb4e24f5ac6b44bc05 ("[v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining") url: https://github.com/intel-lab-lkp/linux/commits/Herbert-Xu/crypto-skcipher-Add-internal-state-support/20231202-123508 base: https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git master patch link: https://lore.kernel.org/all/E1r9H1M-00612B-10@formenos.hmeau.com/ patch subject: [v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining in testcase: ltp version: ltp-x86_64-14c1f76-1_20230715 with following parameters: test: crypto compiler: gcc-12 test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Ivy Bridge) with 16G memory (please refer to attached dmesg/kmsg for entire log/backtrace) 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 <oliver.sang@intel.com> | Closes: https://lore.kernel.org/oe-lkp/202312101716.7cbf38c4-oliver.sang@intel.com kern :warn : [ 242.028749] ------------[ cut here ]------------ kern :warn : [ 242.029073] WARNING: CPU: 3 PID: 3733 at net/core/sock.c:2697 sock_kzfree_s+0x38/0x40 kern :warn : [ 242.030906] Modules linked in: sm4_generic sm4 vmac poly1305_generic libpoly1305 poly1305_x86_64 chacha_generic chacha_x86_64 libchacha chacha20poly1305 sm3_generic sm3 netconsole btrfs blake2b_generic xor raid6_pq zstd_compress libcrc32c intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal sd_mod intel_powerclamp t10_pi coretemp crc64_rocksoft_generic crc64_rocksoft crc64 kvm_intel sg ipmi_devintf ipmi_msghandler i915 kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 rapl drm_buddy mxm_wmi intel_gtt intel_cstate ahci drm_display_helper firewire_ohci libahci ttm i2c_i801 firewire_core intel_uncore drm_kms_helper crc_itu_t libata lpc_ich video i2c_smbus wmi binfmt_misc drm fuse ip_tables kern :warn : [ 242.032427] CPU: 3 PID: 3733 Comm: af_alg05 Not tainted 6.7.0-rc1-00040-g29531d406c4f #1 kern :warn : [ 242.033686] Hardware name: /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012 kern :warn : [ 242.033949] RIP: 0010:sock_kzfree_s+0x38/0x40 kern :warn : [ 242.034146] Code: 55 89 d5 53 48 89 fb 48 89 f7 e8 53 8b 82 fe 48 8d bb 48 01 00 00 be 04 00 00 00 e8 22 ad 97 fe f0 29 ab 48 01 00 00 5b 5d c3 <0f> 0b c3 0f 1f 44 00 00 f3 0f 1e fa 0f 1f 44 00 00 55 53 48 89 fb kern :warn : [ 242.034731] RSP: 0018:ffffc900011bfde8 EFLAGS: 00010246 kern :warn : [ 242.034997] RAX: dffffc0000000000 RBX: ffff8881ad1d5000 RCX: 1ffff110377659a3 kern :warn : [ 242.035308] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881ad1d5000 kern :warn : [ 242.035614] RBP: ffff8881bbb2cd00 R08: 0000000000000001 R09: ffffed1035a3aa29 kern :warn : [ 242.035913] R10: ffff8881ad1d514b R11: ffffffff83a0009f R12: ffff8881ad1d3048 kern :warn : [ 242.036153] R13: ffff8881a7c089a0 R14: ffff8881ad1d3048 R15: ffff88840eb21900 kern :warn : [ 242.036455] FS: 00007f207e42c740(0000) GS:ffff888348180000(0000) knlGS:0000000000000000 kern :warn : [ 242.036732] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kern :warn : [ 242.036985] CR2: 00007f89c0a5c2f0 CR3: 0000000403ede005 CR4: 00000000001706f0 kern :warn : [ 242.037288] Call Trace: kern :warn : [ 242.037496] <TASK> kern :warn : [ 242.037651] ? __warn+0xcd/0x260 kern :warn : [ 242.037828] ? sock_kzfree_s+0x38/0x40 kern :warn : [ 242.038013] ? report_bug+0x267/0x2d0 kern :warn : [ 242.038199] ? handle_bug+0x3c/0x70 kern :warn : [ 242.038461] ? exc_invalid_op+0x17/0x40 kern :warn : [ 242.038644] ? asm_exc_invalid_op+0x1a/0x20 kern :warn : [ 242.038854] ? entry_SYSCALL_64_after_hwframe+0x63/0x6b kern :warn : [ 242.039131] ? sock_kzfree_s+0x38/0x40 kern :warn : [ 242.039391] skcipher_sock_destruct+0x1af/0x280 kern :warn : [ 242.039657] __sk_destruct+0x46/0x4e0 kern :warn : [ 242.039862] af_alg_release+0x90/0xc0 kern :warn : [ 242.040074] __sock_release+0xa0/0x250 kern :warn : [ 242.040435] sock_close+0x15/0x20 kern :warn : [ 242.040650] __fput+0x213/0xad0 kern :warn : [ 242.040846] __x64_sys_close+0x7d/0xd0 kern :warn : [ 242.041044] do_syscall_64+0x3f/0xe0 kern :warn : [ 242.041260] entry_SYSCALL_64_after_hwframe+0x63/0x6b kern :warn : [ 242.041496] RIP: 0033:0x7f207e527780 kern :warn : [ 242.042582] Code: 0d 00 00 00 eb b2 e8 ef f6 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 80 3d 61 1e 0e 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c kern :warn : [ 242.043051] RSP: 002b:00007ffef7aefff8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 kern :warn : [ 242.043430] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f207e527780 kern :warn : [ 242.043766] RDX: 000055dda9c55b00 RSI: 00007ffef7aefad0 RDI: 0000000000000005 kern :warn : [ 242.044067] RBP: 00007ffef7af2ff0 R08: 0000000000000000 R09: 00007ffef7aeff20 kern :warn : [ 242.044415] R10: 00007ffef7aefae6 R11: 0000000000000202 R12: 00007f207e42c6c0 kern :warn : [ 242.044763] R13: 00007ffef7af0000 R14: 000055dda9c6b01e R15: 0000000000000000 kern :warn : [ 242.045069] </TASK> kern :warn : [ 242.045310] ---[ end trace 0000000000000000 ]--- The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20231210/202312101716.7cbf38c4-oliver.sang@intel.com -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-12-10 13:53 UTC|newest] Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-14 8:28 [PATCH 0/8] crypto: Add lskcipher API type Herbert Xu 2023-09-14 8:28 ` [PATCH 1/8] crypto: aead - Add crypto_has_aead Herbert Xu 2023-09-14 8:28 ` [PATCH 2/8] ipsec: Stop using crypto_has_alg Herbert Xu 2023-09-14 8:28 ` [PATCH 3/8] crypto: hash - Hide CRYPTO_ALG_TYPE_AHASH_MASK Herbert Xu 2023-09-14 8:28 ` [PATCH 4/8] crypto: skcipher - Add lskcipher Herbert Xu 2023-09-20 6:25 ` Eric Biggers 2023-09-21 4:32 ` Herbert Xu 2023-09-22 3:10 ` Eric Biggers 2023-11-17 5:19 ` Herbert Xu 2023-11-17 5:42 ` Eric Biggers 2023-11-17 9:07 ` Herbert Xu 2023-11-24 10:27 ` Herbert Xu 2023-11-27 22:28 ` Eric Biggers 2023-11-29 6:24 ` [PATCH 0/4] crypto: Fix chaining support for stream ciphers (arc4 only for now) Herbert Xu 2023-11-29 6:29 ` [PATCH 1/4] crypto: skcipher - Add internal state support Herbert Xu 2023-11-29 6:29 ` [PATCH 2/4] crypto: skcipher - Make use of internal state Herbert Xu 2023-11-29 6:29 ` [PATCH 3/4] crypto: arc4 - Add " Herbert Xu 2023-11-29 6:29 ` [PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining Herbert Xu 2023-11-29 21:04 ` [PATCH 0/4] crypto: Fix chaining support for stream ciphers (arc4 only for now) Eric Biggers 2023-11-30 2:17 ` Herbert Xu 2023-11-30 9:55 ` [v2 PATCH " Herbert Xu 2023-11-30 9:56 ` [v2 PATCH 1/4] crypto: skcipher - Add internal state support Herbert Xu 2023-11-30 9:56 ` [v2 PATCH 2/4] crypto: skcipher - Make use of internal state Herbert Xu 2023-11-30 9:56 ` [v2 PATCH 3/4] crypto: arc4 - Add " Herbert Xu 2023-11-30 9:56 ` [v2 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining Herbert Xu 2023-12-02 3:49 ` [v3 PATCH 0/4] crypto: Fix chaining support for stream ciphers (arc4 only for now) Herbert Xu 2023-12-02 3:50 ` [v3 PATCH 1/4] crypto: skcipher - Add internal state support Herbert Xu 2023-12-02 3:50 ` [v3 PATCH 2/4] crypto: skcipher - Make use of internal state Herbert Xu 2023-12-02 3:50 ` [v3 PATCH 3/4] crypto: arc4 - Add " Herbert Xu 2023-12-02 3:50 ` [v3 PATCH 4/4] crypto: algif_skcipher - Fix stream cipher chaining Herbert Xu 2023-12-10 13:53 ` kernel test robot [this message] 2023-12-10 13:53 ` kernel test robot 2023-12-05 8:41 ` [PATCH 4/8] crypto: skcipher - Add lskcipher Herbert Xu 2023-12-05 20:17 ` Eric Biggers 2023-12-06 1:44 ` Herbert Xu 2023-09-14 8:28 ` [PATCH 5/8] crypto: lskcipher - Add compatibility wrapper around ECB Herbert Xu 2023-09-14 8:28 ` [PATCH 6/8] crypto: testmgr - Add support for lskcipher algorithms Herbert Xu 2023-09-14 8:28 ` [PATCH 7/8] crypto: ecb - Convert from skcipher to lskcipher Herbert Xu 2023-09-14 8:28 ` [PATCH 8/8] crypto: cbc " Herbert Xu 2023-10-02 20:25 ` Nathan Chancellor 2023-10-03 3:31 ` [PATCH] crypto: skcipher - Add dependency on ecb Herbert Xu 2023-10-03 15:25 ` Nathan Chancellor 2023-09-14 8:51 ` [PATCH 0/8] crypto: Add lskcipher API type Ard Biesheuvel 2023-09-14 8:56 ` Herbert Xu 2023-09-14 9:18 ` Ard Biesheuvel 2023-09-14 9:29 ` Herbert Xu 2023-09-14 9:31 ` Ard Biesheuvel 2023-09-14 9:34 ` Herbert Xu 2023-09-17 16:24 ` Ard Biesheuvel 2023-09-19 4:03 ` Herbert Xu 2023-09-14 9:32 ` Herbert Xu
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=202312101716.7cbf38c4-oliver.sang@intel.com \ --to=oliver.sang@intel.com \ --cc=ardb@kernel.org \ --cc=ebiggers@kernel.org \ --cc=herbert@gondor.apana.org.au \ --cc=linux-crypto@vger.kernel.org \ --cc=lkp@intel.com \ --cc=ltp@lists.linux.it \ --cc=oe-lkp@lists.linux.dev \ --cc=vadfed@meta.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.