------------[ cut here ]------------ kernel BUG at lib/assoc_array.c:652! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8181 Comm: kworker/0:5 Not tainted 5.9.0-rc5-next-20200921-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: afs afs_manage_cell RIP: 0010:assoc_array_insert_into_terminal_node lib/assoc_array.c:652 [inline] RIP: 0010:assoc_array_insert+0x1e53/0x2e70 lib/assoc_array.c:1001 Code: 0f 84 c4 fe ff ff e8 5c 4a f7 fd e9 ba fe ff ff e8 02 e5 b5 fd 0f 0b e8 fb e4 b5 fd 0f 0b e8 f4 e4 b5 fd 0f 0b e8 ed e4 b5 fd <0f> 0b 48 8b 04 24 4c 89 7c 24 50 48 b9 00 00 00 00 00 fc ff df 41 RSP: 0018:ffffc900159c77a8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: ffffffff83bf3bd5 RDX: ffff88809056e3c0 RSI: ffffffff83bf4343 RDI: ffff88809777a058 RBP: ffff888085b52590 R08: 0000000000000dc0 R09: ffffffff8c19f8b4 R10: 0000000000000010 R11: 000000000000015e R12: ffff88809777a090 R13: 000000000000000f R14: ffff888045e33380 R15: ffff8880a70fc000 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d0150 CR3: 000000005aeb4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __key_link_begin+0xec/0x250 security/keys/keyring.c:1314 construct_alloc_key security/keys/request_key.c:404 [inline] construct_key_and_link security/keys/request_key.c:499 [inline] request_key_and_link+0x7ac/0x1270 security/keys/request_key.c:637 request_key_tag+0x4e/0xb0 security/keys/request_key.c:701 dns_query+0x257/0x6d0 net/dns_resolver/dns_query.c:128 afs_dns_query+0x122/0x390 fs/afs/addr_list.c:249 afs_update_cell fs/afs/cell.c:403 [inline] afs_manage_cell+0x8c5/0x11c0 fs/afs/cell.c:708 process_one_work+0x933/0x15a0 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3af/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace db12eb5f1cd15382 ]--- RIP: 0010:assoc_array_insert_into_terminal_node lib/assoc_array.c:652 [inline] RIP: 0010:assoc_array_insert+0x1e53/0x2e70 lib/assoc_array.c:1001 Code: 0f 84 c4 fe ff ff e8 5c 4a f7 fd e9 ba fe ff ff e8 02 e5 b5 fd 0f 0b e8 fb e4 b5 fd 0f 0b e8 f4 e4 b5 fd 0f 0b e8 ed e4 b5 fd <0f> 0b 48 8b 04 24 4c 89 7c 24 50 48 b9 00 00 00 00 00 fc ff df 41 RSP: 0018:ffffc900159c77a8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: ffffffff83bf3bd5 RDX: ffff88809056e3c0 RSI: ffffffff83bf4343 RDI: ffff88809777a058 RBP: ffff888085b52590 R08: 0000000000000dc0 R09: ffffffff8c19f8b4 R10: 0000000000000010 R11: 000000000000015e R12: ffff88809777a090 R13: 000000000000000f R14: ffff888045e33380 R15: ffff8880a70fc000 FS: 0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30e23000 CR3: 000000005aeb4000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400