general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 7692 Comm: syz-executor.3 Not tainted 6.1.0-rc4-next-20221111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ipv6_addr_v4mapped include/net/ipv6.h:749 [inline] RIP: 0010:udpv6_sendmsg+0xd0a/0x2c70 net/ipv6/udp.c:1361 Code: 48 8b 85 98 fd ff ff 48 85 c0 0f 85 2a f8 ff ff e8 5b 52 4a f9 48 8b 95 c0 fd ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 3b 1e 00 00 48 8b 85 c0 fd ff ff 48 8d 78 08 48 RSP: 0018:ffffc90005ebf328 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 000000000000001c RCX: ffffc9000cdd5000 RDX: 0000000000000000 RSI: ffffffff88327b15 RDI: 0000000000000007 RBP: ffffc90005ebf5c8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801f3e1d00 R13: ffff888047574d3c R14: ffff88801f3e1d12 R15: ffffc90005ebf658 FS: 00007f001bc5d700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 0000000029abb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_udp_sendmsg net/rxrpc/output.c:27 [inline] do_udp_sendmsg net/rxrpc/output.c:21 [inline] rxrpc_send_data_packet+0x1e02/0x24b0 net/rxrpc/output.c:485 rxrpc_queue_packet net/rxrpc/sendmsg.c:264 [inline] rxrpc_send_data+0xc10/0x2870 net/rxrpc/sendmsg.c:411 rxrpc_do_sendmsg+0xb2f/0x1200 net/rxrpc/sendmsg.c:733 rxrpc_sendmsg+0x1c4/0x650 net/rxrpc/af_rxrpc.c:561 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2476 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2530 __sys_sendmsg+0xf3/0x1c0 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f001ae8b639 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f001bc5d168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f001afabf80 RCX: 00007f001ae8b639 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f001aee67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1318029f R14: 00007f001bc5d300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ipv6_addr_v4mapped include/net/ipv6.h:749 [inline] RIP: 0010:udpv6_sendmsg+0xd0a/0x2c70 net/ipv6/udp.c:1361 ---------------- Code disassembly (best guess): 0: 48 8b 85 98 fd ff ff mov -0x268(%rbp),%rax 7: 48 85 c0 test %rax,%rax a: 0f 85 2a f8 ff ff jne 0xfffff83a 10: e8 5b 52 4a f9 callq 0xf94a5270 15: 48 8b 95 c0 fd ff ff mov -0x240(%rbp),%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 3b 1e 00 00 jne 0x1e6f 34: 48 8b 85 c0 fd ff ff mov -0x240(%rbp),%rax 3b: 48 8d 78 08 lea 0x8(%rax),%rdi 3f: 48 rex.W