general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 4424 Comm: syslogd Not tainted 6.2.0-rc6-next-20230203-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__skb_unlink include/linux/skbuff.h:2321 [inline] RIP: 0010:__skb_try_recv_from_queue+0x667/0x820 net/core/datagram.c:197 Code: 8d 7d 08 49 8b 5c 24 08 48 b8 00 00 00 00 00 fc ff df 49 c7 44 24 08 00 00 00 00 48 89 fa 49 c7 04 24 00 00 00 00 48 c1 ea 03 <80> 3c 02 00 0f 85 f5 00 00 00 48 89 da 48 89 5d 08 48 b8 00 00 00 RSP: 0018:ffffc9000311f960 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff880d5fef RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888036692140 R13: ffff888036692140 R14: 0000000000000000 R15: 0000000000000293 FS: 00007f014c650800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae7e787218 CR3: 0000000026c1d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __skb_try_recv_datagram+0x15d/0x4f0 net/core/datagram.c:263 __unix_dgram_recvmsg+0x194/0xb90 net/unix/af_unix.c:2446 unix_dgram_recvmsg+0xc4/0xf0 net/unix/af_unix.c:2543 sock_recvmsg_nosec net/socket.c:1012 [inline] sock_recvmsg+0xe2/0x160 net/socket.c:1033 sock_read_iter+0x2bd/0x3b0 net/socket.c:1111 call_read_iter include/linux/fs.h:1845 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7fa/0x930 fs/read_write.c:470 ksys_read+0x1ec/0x250 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f014c7dc8fe Code: c0 e9 e6 fe ff ff 50 48 8d 3d 0e c7 09 00 e8 c9 cf 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 RSP: 002b:00007ffe63264388 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f014c7dc8fe RDX: 00000000000000ff RSI: 000055e86a44f950 RDI: 0000000000000000 RBP: 000055e86a44f910 R08: 0000000000000000 R09: 00007f014c86c0c0 R10: 0000000000001000 R11: 0000000000000246 R12: 000055e86a44fa4f R13: 000055e86a44f950 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_unlink include/linux/skbuff.h:2321 [inline] RIP: 0010:__skb_try_recv_from_queue+0x667/0x820 net/core/datagram.c:197 Code: 8d 7d 08 49 8b 5c 24 08 48 b8 00 00 00 00 00 fc ff df 49 c7 44 24 08 00 00 00 00 48 89 fa 49 c7 04 24 00 00 00 00 48 c1 ea 03 <80> 3c 02 00 0f 85 f5 00 00 00 48 89 da 48 89 5d 08 48 b8 00 00 00 RSP: 0018:ffffc9000311f960 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff880d5fef RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888036692140 R13: ffff888036692140 R14: 0000000000000000 R15: 0000000000000293 FS: 00007f014c650800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae7e787218 CR3: 0000000026c1d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 7d 08 lea 0x8(%rbp),%edi 3: 49 8b 5c 24 08 mov 0x8(%r12),%rbx 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 49 c7 44 24 08 00 00 movq $0x0,0x8(%r12) 19: 00 00 1b: 48 89 fa mov %rdi,%rdx 1e: 49 c7 04 24 00 00 00 movq $0x0,(%r12) 25: 00 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 f5 00 00 00 jne 0x129 34: 48 89 da mov %rbx,%rdx 37: 48 89 5d 08 mov %rbx,0x8(%rbp) 3b: 48 rex.W 3c: b8 .byte 0xb8 3d: 00 00 add %al,(%rax)