RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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: 9777 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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:ffffc900251bf3d0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88801164e600 RCX: 0000000000000020 RDX: 0000000000000004 RSI: ffffffff88b3c577 RDI: ffff88801164e640 RBP: ffff888013ad5800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000048 FS: 0000000000000000(0000) GS:ffff88802ca00000(0063) knlGS:00000000f450bb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f6fe64c8 CR3: 00000000527dd000 CR4: 0000000000152ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f11549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f450b5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020008400 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 6481d45e33cfc478 ]--- 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:ffffc900251bf3d0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88801164e600 RCX: 0000000000000020 RDX: 0000000000000004 RSI: ffffffff88b3c577 RDI: ffff88801164e640 RBP: ffff888013ad5800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000048 FS: 0000000000000000(0000) GS:ffff88802ca00000(0063) knlGS:00000000f450bb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f6fe64c8 CR3: 00000000527dd000 CR4: 0000000000152ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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