============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- kworker/u8:9/5810 is trying to acquire lock: fffffdffbf76dd98 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] fffffdffbf76dd98 (&pd_list->lock){+...}-{3:3}, at: padata_find_next kernel/padata.c:256 [inline] fffffdffbf76dd98 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:309 [inline] fffffdffbf76dd98 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x60c/0x9ac kernel/padata.c:379 but task is already holding lock: fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:300 [inline] fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x4e8/0x9ac kernel/padata.c:379 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&pd_list->lock); lock(&pd_list->lock); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by kworker/u8:9/5810: #0: ffff0000c49bc148 ((wq_completion)pencrypt_parallel){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a3d27bc0 ((work_completion)(&pw->pw_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:300 [inline] #2: fffffdffbf74b1e0 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x4e8/0x9ac kernel/padata.c:379 stack backtrace: CPU: 0 UID: 0 PID: 5810 Comm: kworker/u8:9 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: pencrypt_parallel padata_parallel_worker Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 print_deadlock_bug+0x2e8/0x2f0 kernel/locking/lockdep.c:3041 check_deadlock kernel/locking/lockdep.c:3093 [inline] validate_chain kernel/locking/lockdep.c:3895 [inline] __lock_acquire+0x2940/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] padata_find_next kernel/padata.c:256 [inline] padata_reorder kernel/padata.c:309 [inline] padata_do_serial+0x60c/0x9ac kernel/padata.c:379 pcrypt_aead_enc+0x68/0x90 crypto/pcrypt.c:89 padata_parallel_worker+0x68/0x1b4 kernel/padata.c:157 process_one_work+0x7e8/0x155c kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844