kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 26998 Comm: syz-executor.5 Not tainted 4.19.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_len include/net/netlink.h:706 [inline] RIP: 0010:nla_parse_nested include/net/netlink.h:765 [inline] RIP: 0010:nl802154_add_llsec_key+0x1fa/0x580 net/ieee802154/nl802154.c:1565 Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3f 03 00 00 48 8b 93 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 0c 01 48 89 d0 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 cf RSP: 0018:ffff88821be1f558 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880b2bf1a40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff87c5afa5 RDI: ffff8880b2bf1b68 RBP: 1ffff110437c3ead R08: 0000000000000000 R09: ffff88821be1f920 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8882387181c0 R13: ffff88809ee28ed0 R14: ffff8880b2bf1a40 R15: ffffffff89cf67c0 FS: 00007f94f02bc700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a53ad CR3: 00000002301fa000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 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:00007f94f02bc188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000024000100 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe2377b53f R14: 00007f94f02bc300 R15: 0000000000022000 Modules linked in: ---[ end trace a61d89935a2f6241 ]--- RIP: 0010:nla_len include/net/netlink.h:706 [inline] RIP: 0010:nla_parse_nested include/net/netlink.h:765 [inline] RIP: 0010:nl802154_add_llsec_key+0x1fa/0x580 net/ieee802154/nl802154.c:1565 Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3f 03 00 00 48 8b 93 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 0c 01 48 89 d0 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 cf RSP: 0018:ffff88821be1f558 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880b2bf1a40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff87c5afa5 RDI: ffff8880b2bf1b68 RBP: 1ffff110437c3ead R08: 0000000000000000 R09: ffff88821be1f920 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8882387181c0 R13: ffff88809ee28ed0 R14: ffff8880b2bf1a40 R15: ffffffff89cf67c0 FS: 00007f94f02bc700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000a41 CR3: 00000002301fa000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400