"syz-executor.2" (24994) uses obsolete ecb(arc4) skcipher BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 7ef1b067 P4D 7ef1b067 PUD 7fbcf067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 24994 Comm: syz-executor.2 Not tainted 6.8.0-rc1-syzkaller-00454-gbeb53f32698f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:memcpy_orig+0x31/0x120 arch/x86/lib/memcpy_64.S:71 Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83 RSP: 0018:ffffc90009d376e0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff84406ed1 RDX: 00000000000003c8 RSI: ffff88802d559040 RDI: 0000000000000000 RBP: ffff88802d559000 R08: 00000018000000ad R09: 000000290000002e R10: 0000001b00000007 R11: 0000006d000000cf R12: 0000000000000000 R13: ffff88806065f0c0 R14: ffff88801cfaa000 R15: 0000000000000001 FS: 00007f631d1456c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001d00c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crypto_arc4_crypt+0x4b/0x70 crypto/arc4.c:33 crypto_lskcipher_crypt crypto/lskcipher.c:160 [inline] crypto_lskcipher_decrypt+0xd4/0x130 crypto/lskcipher.c:194 crypto_cbc_decrypt_segment crypto/cbc.c:80 [inline] crypto_cbc_decrypt+0x14f/0x330 crypto/cbc.c:133 crypto_lskcipher_crypt_sg+0x28c/0x460 crypto/lskcipher.c:229 crypto_skcipher_decrypt+0xda/0x160 crypto/skcipher.c:693 _skcipher_recvmsg crypto/algif_skcipher.c:199 [inline] skcipher_recvmsg+0xc2b/0x1040 crypto/algif_skcipher.c:221 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0xe2/0x170 net/socket.c:1068 ____sys_recvmsg+0x21f/0x5c0 net/socket.c:2803 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2845 __sys_recvmsg+0x114/0x1e0 net/socket.c:2875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f631c47cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f631d1450c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007f631c5abf80 RCX: 00007f631c47cda9 RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 0000000000000006 RBP: 00007f631c4c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f631c5abf80 R15: 00007ffe0de52d08 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:memcpy_orig+0x31/0x120 arch/x86/lib/memcpy_64.S:71 Code: 48 83 fa 20 0f 82 86 00 00 00 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 <4c> 89 07 4c 89 4f 08 4c 89 57 10 4c 89 5f 18 48 8d 7f 20 73 d4 83 RSP: 0018:ffffc90009d376e0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff84406ed1 RDX: 00000000000003c8 RSI: ffff88802d559040 RDI: 0000000000000000 RBP: ffff88802d559000 R08: 00000018000000ad R09: 000000290000002e R10: 0000001b00000007 R11: 0000006d000000cf R12: 0000000000000000 R13: ffff88806065f0c0 R14: ffff88801cfaa000 R15: 0000000000000001 FS: 00007f631d1456c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001d00c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 83 fa 20 cmp $0x20,%rdx 4: 0f 82 86 00 00 00 jb 0x90 a: 40 38 fe cmp %dil,%sil d: 7c 35 jl 0x44 f: 48 83 ea 20 sub $0x20,%rdx 13: 48 83 ea 20 sub $0x20,%rdx 17: 4c 8b 06 mov (%rsi),%r8 1a: 4c 8b 4e 08 mov 0x8(%rsi),%r9 1e: 4c 8b 56 10 mov 0x10(%rsi),%r10 22: 4c 8b 5e 18 mov 0x18(%rsi),%r11 26: 48 8d 76 20 lea 0x20(%rsi),%rsi * 2a: 4c 89 07 mov %r8,(%rdi) <-- trapping instruction 2d: 4c 89 4f 08 mov %r9,0x8(%rdi) 31: 4c 89 57 10 mov %r10,0x10(%rdi) 35: 4c 89 5f 18 mov %r11,0x18(%rdi) 39: 48 8d 7f 20 lea 0x20(%rdi),%rdi 3d: 73 d4 jae 0x13 3f: 83 .byte 0x83