general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 16543 Comm: syz-executor.5 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:crypto_destroy_tfm+0x38/0x210 crypto/api.c:568 Code: f5 53 e8 9b 41 d7 fd 4d 85 ed 0f 84 a2 00 00 00 e8 8d 41 d7 fd 4c 8d 75 10 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 8c 01 00 00 4c 8d 7d 08 4c 8b 65 10 48 b8 00 00 RSP: 0018:ffffc9000ad77360 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90013f2f000 RDX: 0000000000000002 RSI: ffffffff839caf83 RDI: fffffffffffffffc RBP: 0000000000000004 R08: fffffffffffff000 R09: ffff8880230c9037 R10: ffffffff88941f6e R11: 0000000000000000 R12: ffff888012070400 R13: fffffffffffffffc R14: 0000000000000014 R15: fffffffffffffffc FS: 00007fb9363c6700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffec872cfc CR3: 0000000068ba5000 CR4: 0000000000350ee0 Call Trace: crypto_free_aead include/crypto/aead.h:191 [inline] llsec_key_alloc net/mac802154/llsec.c:156 [inline] mac802154_llsec_key_add+0x9e0/0xcc0 net/mac802154/llsec.c:249 ieee802154_add_llsec_key+0x56/0x80 net/mac802154/cfg.c:338 rdev_add_llsec_key net/ieee802154/rdev-ops.h:260 [inline] nl802154_add_llsec_key+0x3d3/0x560 net/ieee802154/nl802154.c:1584 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae 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:00007fb9363c6188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000000000006 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffffd59feaf R14: 00007fb9363c6300 R15: 0000000000022000 Modules linked in: ---[ end trace 18067179b2483f60 ]--- RIP: 0010:crypto_destroy_tfm+0x38/0x210 crypto/api.c:568 Code: f5 53 e8 9b 41 d7 fd 4d 85 ed 0f 84 a2 00 00 00 e8 8d 41 d7 fd 4c 8d 75 10 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 8c 01 00 00 4c 8d 7d 08 4c 8b 65 10 48 b8 00 00 RSP: 0018:ffffc9000ad77360 EFLAGS: 00010213 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90013f2f000 RDX: 0000000000000002 RSI: ffffffff839caf83 RDI: fffffffffffffffc RBP: 0000000000000004 R08: fffffffffffff000 R09: ffff8880230c9037 R10: ffffffff88941f6e R11: 0000000000000000 R12: ffff888012070400 R13: fffffffffffffffc R14: 0000000000000014 R15: fffffffffffffffc FS: 00007fb9363c6700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3133a000 CR3: 0000000068ba5000 CR4: 0000000000350ee0