kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10665 Comm: syz-executor.4 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_u16 include/net/netlink.h:1501 [inline] RIP: 0010:nla_get_shortaddr net/ieee802154/nl-mac.c:48 [inline] RIP: 0010:ieee802154_llsec_parse_key_id+0x117/0x7b0 net/ieee802154/nl-mac.c:559 Code: 00 0f 85 ca 05 00 00 4d 8b 65 30 4d 85 e4 0f 84 f5 03 00 00 49 8d 7c 24 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 84 RSP: 0018:ffff888089967600 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888089967650 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: ffff8880899677b8 R08: ffffed101132cecd R09: ffff888089967650 R10: ffffed101132cecc R11: ffff888089967667 R12: 0000000000000000 R13: ffff8880b2028000 R14: ffff8880899677b8 R15: ffff8880b2028000 FS: 00007fbd76287700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e1a40 CR3: 0000000089938000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: llsec_remove_key+0x8d/0x130 net/ieee802154/nl-mac.c:896 ieee802154_nl_llsec_change.isra.0+0x7a/0xe0 net/ieee802154/nl-mac.c:824 genl_family_rcv_msg+0x5ff/0xf40 net/netlink/genetlink.c:629 genl_rcv_msg+0xb3/0x160 net/netlink/genetlink.c:654 netlink_rcv_skb+0x119/0x340 net/netlink/af_netlink.c:2477 genl_rcv+0x1f/0x30 net/netlink/genetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x3fc/0x5c0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x71e/0xb70 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:657 ___sys_sendmsg+0x653/0x950 net/socket.c:2311 __sys_sendmsg+0xce/0x170 net/socket.c:2356 do_syscall_64+0x8e/0x4e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466019 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:00007fbd76287188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466019 RDX: 0000000000004054 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00000000004bd067 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd1f0f1aef R14: 00007fbd76287300 R15: 0000000000022000 Modules linked in: ---[ end trace 3e3da113ae0aa5bc ]--- RIP: 0010:nla_get_u16 include/net/netlink.h:1501 [inline] RIP: 0010:nla_get_shortaddr net/ieee802154/nl-mac.c:48 [inline] RIP: 0010:ieee802154_llsec_parse_key_id+0x117/0x7b0 net/ieee802154/nl-mac.c:559 Code: 00 0f 85 ca 05 00 00 4d 8b 65 30 4d 85 e4 0f 84 f5 03 00 00 49 8d 7c 24 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 84 RSP: 0018:ffff888089967600 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888089967650 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: ffff8880899677b8 R08: ffffed101132cecd R09: ffff888089967650 R10: ffffed101132cecc R11: ffff888089967667 R12: 0000000000000000 R13: ffff8880b2028000 R14: ffff8880899677b8 R15: ffff8880b2028000 FS: 00007fbd76287700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa94afaf000 CR3: 0000000089938000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400