RSP: 002b:00007f2d0abe4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f2d0d781f60 RCX: 00007f2d0d66eae9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007f2d0abe41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007f2d0dcb5b2f R14: 00007f2d0abe4300 R15: 0000000000022000 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: 27352 Comm: syz-executor.1 Not tainted 5.15.0-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+0x218/0xa80 net/tipc/crypto.c:2208 Code: 02 00 0f 85 66 08 00 00 48 8b 45 00 49 8d 4d 20 48 89 ca 48 89 4c 24 10 48 c1 ea 03 48 89 04 24 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b0 RSP: 0018:ffffc9001844f3f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881703ff000 RCX: 0000000000000020 RDX: 0000000000000004 RSI: ffffffff88b14ee7 RDI: ffff8881703ff040 RBP: ffff888076790400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000038 FS: 00007f2d0abe4700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32022000 CR3: 000000016f291000 CR4: 00000000003506f0 Call Trace: __tipc_nl_node_set_key net/tipc/node.c:3018 [inline] tipc_nl_node_set_key+0xa95/0xf70 net/tipc/node.c:3033 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:731 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:792 netlink_rcv_skb+0x153/0x420 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+0x533/0x7d0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 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+0x44/0xae RIP: 0033:0x7f2d0d66eae9 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:00007f2d0abe4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f2d0d781f60 RCX: 00007f2d0d66eae9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007f2d0abe41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007f2d0dcb5b2f R14: 00007f2d0abe4300 R15: 0000000000022000 Modules linked in: ---[ end trace 2a90cfa97aee247d ]--- 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+0x218/0xa80 net/tipc/crypto.c:2208 Code: 02 00 0f 85 66 08 00 00 48 8b 45 00 49 8d 4d 20 48 89 ca 48 89 4c 24 10 48 c1 ea 03 48 89 04 24 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 48 89 c8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b0 RSP: 0018:ffffc9001844f3f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881703ff000 RCX: 0000000000000020 RDX: 0000000000000004 RSI: ffffffff88b14ee7 RDI: ffff8881703ff040 RBP: ffff888076790400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000038 FS: 00007f2d0abe4700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32022000 CR3: 000000016f291000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 0f 85 66 08 00 00 jne 0x86e 8: 48 8b 45 00 mov 0x0(%rbp),%rax c: 49 8d 4d 20 lea 0x20(%r13),%rcx 10: 48 89 ca mov %rcx,%rdx 13: 48 89 4c 24 10 mov %rcx,0x10(%rsp) 18: 48 c1 ea 03 shr $0x3,%rdx 1c: 48 89 04 24 mov %rax,(%rsp) 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 c8 mov %rcx,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: b0 .byte 0xb0