"syz-executor.0" (2003) 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 109372067 P4D 109372067 PUD 109727067 PMD 0 Oops: 0002 [#1] PREEMPT SMP CPU: 1 PID: 2003 Comm: syz-executor.0 Not tainted 6.7.0-rc1-syzkaller #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:ffffc90001e57bf0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8881786890a0 RCX: 0000000000000001 RDX: 00000000000003c8 RSI: ffff888106771040 RDI: 0000000000000000 RBP: ffff88810b6e8000 R08: 0000000400000003 R09: 0000002200000071 R10: 0000000800000016 R11: 0000001700000083 R12: 0000000000000001 R13: 0000000000000001 R14: ffff888106768ae0 R15: ffff88810b6e8000 FS: 00007f0c6330b6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001017e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crypto_arc4_crypt+0x28/0x50 crypto/arc4.c:33 crypto_cbc_decrypt_segment crypto/cbc.c:80 [inline] crypto_cbc_decrypt+0x79/0x190 crypto/cbc.c:133 crypto_lskcipher_crypt_sg+0xcc/0x150 crypto/lskcipher.c:229 _skcipher_recvmsg crypto/algif_skcipher.c:138 [inline] skcipher_recvmsg+0x39b/0x420 crypto/algif_skcipher.c:157 sock_recvmsg_nosec net/socket.c:1044 [inline] sock_recvmsg+0x43/0x70 net/socket.c:1066 __sys_recvfrom+0xcd/0x140 net/socket.c:2242 __do_sys_recvfrom net/socket.c:2260 [inline] __se_sys_recvfrom net/socket.c:2256 [inline] __x64_sys_recvfrom+0x1f/0x30 net/socket.c:2256 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f0c6267e9d4 Code: 89 4c 24 1c e8 dd 51 02 00 44 8b 54 24 1c 8b 3c 24 45 31 c9 89 c5 48 8b 54 24 10 48 8b 74 24 08 45 31 c0 b8 2d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 04 24 e8 29 52 02 00 48 8b 04 RSP: 002b:00007f0c63309f70 EFLAGS: 00000246 ORIG_RAX: 000000000000002d RAX: ffffffffffffffda RBX: 00007f0c6330a050 RCX: 00007f0c6267e9d4 RDX: 0000000000001000 RSI: 00007f0c6330a0a0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007f0c6330a008 R14: 00007f0c6330a0a0 R15: 0000000000000000 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:ffffc90001e57bf0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8881786890a0 RCX: 0000000000000001 RDX: 00000000000003c8 RSI: ffff888106771040 RDI: 0000000000000000 RBP: ffff88810b6e8000 R08: 0000000400000003 R09: 0000002200000071 R10: 0000000800000016 R11: 0000001700000083 R12: 0000000000000001 R13: 0000000000000001 R14: ffff888106768ae0 R15: ffff88810b6e8000 FS: 00007f0c6330b6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001017e6000 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