RAX: ffffffffffffffda RBX: 00007f9384895f60 RCX: 00007f9384782ae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007f9381cf81d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffc004d525f R14: 00007f9381cf8300 R15: 0000000000022000
</TASK>
general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 PID: 23868 Comm: syz-executor.4 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tipc_aead_key_size include/uapi/linux/tipc.h:254 [inline]
RIP: 0010:tipc_crypto_key_xmit net/tipc/crypto.c:2242 [inline]
RIP: 0010:tipc_crypto_key_distr+0x25d/0x8e0 net/tipc/crypto.c:2208
Code: 8a 04 28 84 c0 0f 85 f5 04 00 00 66 c7 84 24 00 01 00 00 00 00 48 8b 44 24 18 48 8d 58 20 48 89 d8 48 c1 e8 03 48 89 44 24 50 <42> 8a 04 28 84 c0 0f 85 e7 04 00 00 8b 03 83 c0 24 44 0f b7 f0 41
RSP: 0018:ffffc9000b3bf260 EFLAGS: 00010202
RAX: 0000000000000004 RBX: 0000000000000020 RCX: 000000000b3bf301
RDX: 0000000000000058 RSI: 0000000000000000 RDI: ffffc9000b3bf338
RBP: ffffc9000b3bf3d0 R08: dffffc0000000000 R09: ffffc9000b3bf2e0
R10: fffff52001677e67 R11: 0000000000000000 R12: 0000000000000001
R13: dffffc0000000000 R14: ffffc9000b3bf2e0 R15: ffffc9000b3bf360
FS: 00007f9381cf8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a39173000 CR3: 000000018105a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__tipc_nl_node_set_key net/tipc/node.c:3018 [inline]
tipc_nl_node_set_key+0x83d/0xa60 net/tipc/node.c:3033
genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
genl_rcv_msg+0x1032/0x1480 net/netlink/genetlink.c:792
netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2491
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0xa20/0xe40 net/netlink/af_netlink.c:1916
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x5b9/0x910 net/socket.c:2409
___sys_sendmsg net/socket.c:2463 [inline]
__sys_sendmsg+0x280/0x370 net/socket.c:2492
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9384782ae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9381cf8188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f9384895f60 RCX: 00007f9384782ae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007f9381cf81d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffc004d525f R14: 00007f9381cf8300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 84783aa2ba0fa5df ]---
RIP: 0010:tipc_aead_key_size include/uapi/linux/tipc.h:254 [inline]
RIP: 0010:tipc_crypto_key_xmit net/tipc/crypto.c:2242 [inline]
RIP: 0010:tipc_crypto_key_distr+0x25d/0x8e0 net/tipc/crypto.c:2208
Code: 8a 04 28 84 c0 0f 85 f5 04 00 00 66 c7 84 24 00 01 00 00 00 00 48 8b 44 24 18 48 8d 58 20 48 89 d8 48 c1 e8 03 48 89 44 24 50 <42> 8a 04 28 84 c0 0f 85 e7 04 00 00 8b 03 83 c0 24 44 0f b7 f0 41
RSP: 0018:ffffc9000b3bf260 EFLAGS: 00010202
RAX: 0000000000000004 RBX: 0000000000000020 RCX: 000000000b3bf301
RDX: 0000000000000058 RSI: 0000000000000000 RDI: ffffc9000b3bf338
RBP: ffffc9000b3bf3d0 R08: dffffc0000000000 R09: ffffc9000b3bf2e0
R10: fffff52001677e67 R11: 0000000000000000 R12: 0000000000000001
R13: dffffc0000000000 R14: ffffc9000b3bf2e0 R15: ffffc9000b3bf360
FS: 00007f9381cf8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a3917b000 CR3: 000000018105a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8a 04 28 mov (%rax,%rbp,1),%al
3: 84 c0 test %al,%al
5: 0f 85 f5 04 00 00 jne 0x500
b: 66 c7 84 24 00 01 00 movw $0x0,0x100(%rsp)
12: 00 00 00
15: 48 8b 44 24 18 mov 0x18(%rsp),%rax
1a: 48 8d 58 20 lea 0x20(%rax),%rbx
1e: 48 89 d8 mov %rbx,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 48 89 44 24 50 mov %rax,0x50(%rsp)
* 2a: 42 8a 04 28 mov (%rax,%r13,1),%al <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 e7 04 00 00 jne 0x51d
36: 8b 03 mov (%rbx),%eax
38: 83 c0 24 add $0x24,%eax
3b: 44 0f b7 f0 movzwl %ax,%r14d
3f: 41 rex.B