Hello,

kernel test robot noticed "RIP:alg_test.cold" on:

commit: 89bd605959ed9145ac2906d1cc4357b71eee9d3b ("[PATCH v5 4/5] dm crypt: 
batch a bio segment's sectors via dun()")
url: 
https://github.com/intel-lab-lkp/linux/commits/Leonid-Ravich/crypto-skcipher-add-per-request-data_unit_size/20260701-185738
patch link: 
https://lore.kernel.org/all/[email protected]/
patch subject: [PATCH v5 4/5] dm crypt: batch a bio segment's sectors via dun()

in testcase: kunit
version: 
with following parameters:

        group: group-00



config: x86_64-rhel-9.4-kunit
compiler: gcc-14
test machine: 10 threads 1 sockets Intel(R) Core Ultra Series 3 @ 3.20GHz 
(Panther Lake) 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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]



kern  :warn  : [  136.442332] [   T2675] ------------[ cut here ]------------
kern  :warn  : [  136.442345] [   T2675] alg: self-tests for cbc(aes) using 
cbc-aes-aesni failed (rc=-110)
kern  :warn  : [  136.442348] [   T2675] WARNING: crypto/testmgr.c:6087 at 
alg_test.cold+0x9c/0xb1, CPU#5: cryptomgr_test/2675
kern  :warn  : [  136.442364] [   T2675] Modules linked in: dun
kern  :warn  : [  136.442373] [   T2675] CPU: 5 UID: 0 PID: 2675 Comm: 
cryptomgr_test Not tainted 7.1.0-rc3+ #1 PREEMPT(lazy)
kern  :warn  : [  136.442382] [   T2675] Hardware name: Intel Corporation 
Panther Lake Client Platform/PTL-UH LP5 T3 RVP1, BIOS 
PTLPFWI1.R00.3332.D01.2508190102 08/19/2025
kern  :warn  : [  136.442389] [   T2675] RIP: 0010:alg_test.cold 
(testmgr.c:6087 (discriminator 1))
kern  :warn  : [  136.442395] [   T2675] Code: 89 de 48 c7 c7 e0 44 93 84 e8 9b 
c2 fb ff 41 83 fc fe 0f 84 b1 e8 43 01 48 8d 3d 7a 80 85 05 48 8b 54 24 08 44 
89 e1 48 89 de <67> 48 0f b9 3a e9 95 e8 43 01 48 8b 14 24 b8 ff ff 37 00 48 c1 
e0
All code
========
   0:   89 de                   mov    %ebx,%esi
   2:   48 c7 c7 e0 44 93 84    mov    $0xffffffff849344e0,%rdi
   9:   e8 9b c2 fb ff          call   0xfffffffffffbc2a9
   e:   41 83 fc fe             cmp    $0xfffffffe,%r12d
  12:   0f 84 b1 e8 43 01       je     0x143e8c9
  18:   48 8d 3d 7a 80 85 05    lea    0x585807a(%rip),%rdi        # 0x5858099
  1f:   48 8b 54 24 08          mov    0x8(%rsp),%rdx
  24:   44 89 e1                mov    %r12d,%ecx
  27:   48 89 de                mov    %rbx,%rsi
  2a:*  67 48 0f b9 3a          ud1    (%edx),%rdi              <-- trapping 
instruction
  2f:   e9 95 e8 43 01          jmp    0x143e8c9
  34:   48 8b 14 24             mov    (%rsp),%rdx
  38:   b8 ff ff 37 00          mov    $0x37ffff,%eax
  3d:   48                      rex.W
  3e:   c1                      .byte 0xc1
  3f:   e0                      .byte 0xe0

Code starting with the faulting instruction
===========================================
   0:   67 48 0f b9 3a          ud1    (%edx),%rdi
   5:   e9 95 e8 43 01          jmp    0x143e89f
   a:   48 8b 14 24             mov    (%rsp),%rdx
   e:   b8 ff ff 37 00          mov    $0x37ffff,%eax
  13:   48                      rex.W
  14:   c1                      .byte 0xc1
  15:   e0                      .byte 0xe0
kern  :warn  : [  136.442404] [   T2675] RSP: 0018:ffffc9000219fce0 EFLAGS: 
00010293
kern  :warn  : [  136.442411] [   T2675] RAX: 0000000000000041 RBX: 
ffff888474e11480 RCX: 00000000ffffff92
kern  :warn  : [  136.442416] [   T2675] RDX: ffff888474e11400 RSI: 
ffff888474e11480 RDI: ffffffff86abc5a0
kern  :warn  : [  136.442421] [   T2675] RBP: 1ffff92000433fa5 R08: 
0000000000000000 R09: fffffbfff0b2b848
kern  :warn  : [  136.442426] [   T2675] R10: 0000000000000003 R11: 
fefefefefefefeff R12: 00000000ffffff92
kern  :warn  : [  136.442431] [   T2675] R13: dffffc0000000000 R14: 
0000000000000069 R15: 0000000000000027
kern  :warn  : [  136.442436] [   T2675] FS:  0000000000000000(0000) 
GS:ffff88848572b000(0000) knlGS:0000000000000000
kern  :warn  : [  136.442442] [   T2675] CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
kern  :warn  : [  136.442446] [   T2675] CR2: 00007fc9e48120ac CR3: 
000000047c074001 CR4: 0000000108770ef0
kern  :warn  : [  136.442451] [   T2675] PKRU: 55555554
kern  :warn  : [  136.442455] [   T2675] Call Trace:
kern  :warn  : [  136.442458] [   T2675]  <TASK>
kern  :warn  : [  136.442464] [   T2675]  ? __pfx_alg_test (linux/crypto.h:449)
kern  :warn  : [  136.442470] [   T2675]  ? kasan_save_track (kasan/common.c:78)
kern  :warn  : [  136.442477] [   T2675]  ? _raw_spin_lock_irqsave 
(linux/instrumented.h:55 linux/atomic/atomic-instrumented.h:1301 
asm-generic/qspinlock.h:111 linux/spinlock.h:187 linux/spinlock_api_smp.h:133 
locking/spinlock.c:166)
kern  :warn  : [  136.442483] [   T2675]  ? __pfx__raw_spin_lock_irqsave 
(locking/spinlock.c:273)
kern  :warn  : [  136.442489] [   T2675]  ? __pfx_cryptomgr_test 
(usercopy_64.c:?)
kern  :warn  : [  136.442496] [   T2675]  ? kthread_affine_node (kthread.c:377)
kern  :warn  : [  136.442501] [   T2675]  ? __kthread_parkme 
(linux/instrumented.h:82 asm-generic/bitops/instrumented-non-atomic.h:141 
kthread.c:272)
kern  :warn  : [  136.442508] [   T2675]  ? __pfx_cryptomgr_test 
(usercopy_64.c:?)
kern  :warn  : [  136.442513] [   T2675]  cryptomgr_test (algboss.c:179)
kern  :warn  : [  136.442519] [   T2675]  kthread (kthread.c:436)
kern  :warn  : [  136.442523] [   T2675]  ? recalc_sigpending 
(linux/instrumented.h:97 asm-generic/bitops/instrumented-atomic.h:41 
linux/thread_info.h:109 signal.c:181)
kern  :warn  : [  136.442530] [   T2675]  ? __pfx_kthread (linux/list.h:381 
(discriminator 2))
kern  :warn  : [  136.442534] [   T2675]  ret_from_fork 
(x86/kernel/process.c:158)
kern  :warn  : [  136.442541] [   T2675]  ? __pfx_ret_from_fork 
(x86/include/asm/entry-common.h:54)
kern  :warn  : [  136.442547] [   T2675]  ? switch_fpu (linux/instrumented.h:82 
asm-generic/bitops/instrumented-non-atomic.h:141 linux/thread_info.h:133 
linux/sched.h:2069 x86/include/asm/fpu/sched.h:34)
kern  :warn  : [  136.442553] [   T2675]  ? __switch_to 
(x86/kernel/process_64.c:403 x86/kernel/process_64.c:663)
kern  :warn  : [  136.442558] [   T2675]  ? __pfx_kthread (linux/list.h:381 
(discriminator 2))
kern  :warn  : [  136.442563] [   T2675]  ret_from_fork_asm 
(x86/entry/entry_64.S:245)
kern  :warn  : [  136.442570] [   T2675]  </TASK>
kern  :warn  : [  136.442573] [   T2675] ---[ end trace 0000000000000000 ]---
kern  :err   : [  136.442580] [   T2675] alg: Unexpected test result for 
cbc-aes-aesni: -110


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260716/[email protected]



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


Reply via email to