Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 14612 Comm: syz.3.2265 Not tainted 6.13.0-rc3-syzkaller-00174-ga024e377efed #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:tipc_udp_nl_dump_remoteip+0x5d0/0xd40
Code: 89 44 24 40 49 8d 84 24 d0 00 00 00 48 89 44 24 60 49 8d 84 24 c8 00 00 00 48 89 44 24 68 31 db 4c 89 e8 48 c1 e8 03 4d 89 f7 <42> 80 3c 30 00 74 08 4c 89 ef e8 b1 90 9e f6 4d 8b 75 00 89 df 89
RSP: 0018:ffffc90003416fa0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90003417082
RDX: ffffc900034170a2 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003417190 R08: ffffffff899a5576 R09: 1ffffffff2032f86
R10: dffffc0000000000 R11: fffffbfff2032f87 R12: ffff8880216a2a00
R13: 0000000000000000 R14: dffffc0000000000 R15: dffffc0000000000
FS: 00007f418dbce6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f418dbedfb8 CR3: 000000007b6ce000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
genl_dumpit+0x10d/0x1b0 net/netlink/genetlink.c:1027
netlink_dump+0x64d/0xe10 net/netlink/af_netlink.c:2317
__netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2432
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:1076 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1192 [inline]
genl_rcv_msg+0x88c/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2542
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1321 [inline]
netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1347
netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1891
sock_sendmsg_nosec net/socket.c:711 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:726
____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583
___sys_sendmsg net/socket.c:2637 [inline]
__sys_sendmsg+0x269/0x350 net/socket.c:2669
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f418cd85d29
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f418dbce038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f418cf76080 RCX: 00007f418cd85d29
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f418ce01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f418cf76080 R15: 00007ffecc482698
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_udp_nl_dump_remoteip+0x5d0/0xd40
Code: 89 44 24 40 49 8d 84 24 d0 00 00 00 48 89 44 24 60 49 8d 84 24 c8 00 00 00 48 89 44 24 68 31 db 4c 89 e8 48 c1 e8 03 4d 89 f7 <42> 80 3c 30 00 74 08 4c 89 ef e8 b1 90 9e f6 4d 8b 75 00 89 df 89
RSP: 0018:ffffc90003416fa0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90003417082
RDX: ffffc900034170a2 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003417190 R08: ffffffff899a5576 R09: 1ffffffff2032f86
R10: dffffc0000000000 R11: fffffbfff2032f87 R12: ffff8880216a2a00
R13: 0000000000000000 R14: dffffc0000000000 R15: dffffc0000000000
FS: 00007f418dbce6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007b6ce000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 89 44 24 40 mov %eax,0x40(%rsp)
4: 49 8d 84 24 d0 00 00 lea 0xd0(%r12),%rax
b: 00
c: 48 89 44 24 60 mov %rax,0x60(%rsp)
11: 49 8d 84 24 c8 00 00 lea 0xc8(%r12),%rax
18: 00
19: 48 89 44 24 68 mov %rax,0x68(%rsp)
1e: 31 db xor %ebx,%ebx
20: 4c 89 e8 mov %r13,%rax
23: 48 c1 e8 03 shr $0x3,%rax
27: 4d 89 f7 mov %r14,%r15
* 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 ef mov %r13,%rdi
34: e8 b1 90 9e f6 call 0xf69e90ea
39: 4d 8b 75 00 mov 0x0(%r13),%r14
3d: 89 df mov %ebx,%edi
3f: 89 .byte 0x89