============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.8.579/9157 is trying to acquire lock: fffffdffbf7047a8 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] fffffdffbf7047a8 (&pd_list->lock){+...}-{3:3}, at: padata_find_next kernel/padata.c:256 [inline] fffffdffbf7047a8 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:313 [inline] fffffdffbf7047a8 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x620/0xa00 kernel/padata.c:383 but task is already holding lock: fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:304 [inline] fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x4f8/0xa00 kernel/padata.c:383 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 11 locks held by syz.8.579/9157: #0: ffff0000f32950f0 (&ctx->tx_lock){+.+.}-{4:4}, at: tls_sw_sendmsg+0x118/0x1e64 net/tls/tls_sw.c:1277 #1: ffff0000e82ec5e0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1679 [inline] #1: ffff0000e82ec5e0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: tls_sw_sendmsg+0x140/0x1e64 net/tls/tls_sw.c:1280 #2: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #3: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #4: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #5: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #6: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #7: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #8: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #9: ffff80008f79b7c0 (rcu_read_lock_bh){....}-{1:3}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:330 #10: fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #10: fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: padata_reorder kernel/padata.c:304 [inline] #10: fffffdffbf7047f8 (&pd_list->lock){+...}-{3:3}, at: padata_do_serial+0x4f8/0xa00 kernel/padata.c:383 stack backtrace: CPU: 1 UID: 0 PID: 9157 Comm: syz.8.579 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 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:313 [inline] padata_do_serial+0x620/0xa00 kernel/padata.c:383 pcrypt_aead_enc+0x68/0x90 crypto/pcrypt.c:89 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 pcrypt_aead_enc+0x20/0x90 crypto/pcrypt.c:83 padata_do_parallel+0x6e8/0x9c0 kernel/padata.c:220 pcrypt_aead_encrypt+0x258/0x350 crypto/pcrypt.c:117 crypto_aead_encrypt+0xbc/0xfc crypto/aead.c:91 tls_do_encryption net/tls/tls_sw.c:582 [inline] tls_push_record+0x1bf8/0x3284 net/tls/tls_sw.c:819 bpf_exec_tx_verdict+0xc3c/0x1210 net/tls/tls_sw.c:859 tls_sw_sendmsg_locked net/tls/tls_sw.c:1138 [inline] tls_sw_sendmsg+0x1104/0x1e64 net/tls/tls_sw.c:1281 inet6_sendmsg+0xb4/0xd8 net/ipv6/af_inet6.c:659 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] __sys_sendto+0x36c/0x4f4 net/socket.c:2244 __do_sys_sendto net/socket.c:2251 [inline] __se_sys_sendto net/socket.c:2247 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2247 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596