general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f] CPU: 1 PID: 5625 Comm: syz-executor.3 Not tainted 6.1.0-rc4-syzkaller-01033-gb548b17a93fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:udpv6_sendmsg+0xe7a/0x2c70 net/ipv6/udp.c:1433 Code: ff ff ff 48 83 c0 08 48 89 85 68 fd ff ff 48 8b 85 c0 fd ff ff 48 8d 78 4e 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 d0 1b 00 00 RSP: 0018:ffffc900034ff8e8 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000000000000001c RCX: 0000000000000000 RDX: 0000000000000009 RSI: ffffffff88225844 RDI: 000000000000004e RBP: ffffc900034ffb88 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000214e R11: 0000000000000001 R12: ffff888079a10000 R13: 000000000000214e R14: ffff888079a10012 R15: ffffc900034ffc18 FS: 000055555752e400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2eb23000 CR3: 000000002cd06000 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_abort_packet+0x73b/0x860 net/rxrpc/output.c:367 rxrpc_release_calls_on_socket+0x211/0x300 net/rxrpc/call_object.c:595 rxrpc_release_sock net/rxrpc/af_rxrpc.c:886 [inline] rxrpc_release+0x263/0x5a0 net/rxrpc/af_rxrpc.c:917 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1365 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16b/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c95c3d40b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffcc829fe00 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f5c95c3d40b RDX: 0000000000000000 RSI: 0000001b2eb22ab4 RDI: 0000000000000003 RBP: 00007f5c95dad980 R08: 0000000000000000 R09: 000000002ff261b4 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000028eea R13: 00007ffcc829ff00 R14: 00007f5c95dac050 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:udpv6_sendmsg+0xe7a/0x2c70 net/ipv6/udp.c:1433 Code: ff ff ff 48 83 c0 08 48 89 85 68 fd ff ff 48 8b 85 c0 fd ff ff 48 8d 78 4e 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 d0 1b 00 00 RSP: 0018:ffffc900034ff8e8 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000000000000001c RCX: 0000000000000000 RDX: 0000000000000009 RSI: ffffffff88225844 RDI: 000000000000004e RBP: ffffc900034ffb88 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000214e R11: 0000000000000001 R12: ffff888079a10000 R13: 000000000000214e R14: ffff888079a10012 R15: ffffc900034ffc18 FS: 000055555752e400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 000000002cd06000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff 48 83 decl -0x7d(%rax) 3: c0 08 48 rorb $0x48,(%rax) 6: 89 85 68 fd ff ff mov %eax,-0x298(%rbp) c: 48 8b 85 c0 fd ff ff mov -0x240(%rbp),%rax 13: 48 8d 78 4e lea 0x4e(%rax),%rdi 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 48 89 fa mov %rdi,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2c: 48 89 fa mov %rdi,%rdx 2f: 83 e2 07 and $0x7,%edx 32: 38 d0 cmp %dl,%al 34: 7f 08 jg 0x3e 36: 84 c0 test %al,%al 38: 0f 85 d0 1b 00 00 jne 0x1c0e