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: 9908 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:ffffc9000325f208 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 000000000000001c RCX: ffffc90010437000 RDX: 0000000000000000 RSI: ffffffff88327b15 RDI: 0000000000000007 RBP: ffffc9000325f4a8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 1ffffffff204d98c R12: ffff88808155a440 R13: ffff8880643ead3c R14: ffff88808155a452 R15: ffffc9000325f538 FS: 00007f91977ff700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f325017f1b8 CR3: 0000000077e0e000 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+0x1bed/0x24b0 net/rxrpc/output.c:560 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+0x334/0x8c0 net/socket.c:2476 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2530 __sys_sendmmsg+0x18b/0x460 net/socket.c:2616 __do_sys_sendmmsg net/socket.c:2645 [inline] __se_sys_sendmmsg net/socket.c:2642 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2642 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:0x7f919848b639 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:00007f91977ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f91985ac120 RCX: 00007f919848b639 RDX: 040000000000037b RSI: 0000000020005c00 RDI: 0000000000000005 RBP: 00007f91984e67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ff6c R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff415d28cf R14: 00007f91977ff300 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: 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 ---------------- 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