------------[ cut here ]------------ kernel BUG at security/keys/keyring.c:1107! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 12803 Comm: syz-executor6 Not tainted 4.9.119-g9dc978d #23 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801a3d8b000 task.stack: ffff8801d6828000 RIP: 0010:[] [] __key_link_begin+0x20c/0x2d0 security/keys/keyring.c:1107 RSP: 0018:ffff8801d682fbe0 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff8801cb51c000 RCX: ffffc90007ae3000 RDX: 0000000000000abc RSI: ffffffff81cd7bac RDI: ffff8801d682fd68 RBP: ffff8801d682fc10 R08: ffff8801a3d8b938 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff100347b1722 R12: ffff8801d682fd58 R13: ffffffff84c37a20 R14: ffff8801d682fd58 R15: ffff8801cb51c000 FS: 00007f944f802700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3372b000 CR3: 00000001c9e24000 CR4: 00000000001606f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff8801d682fcd8 ffff8801d682fdf8 ffff8801cdfe9e00 ffffffff84c37a20 ffff8801d682fd58 ffff8801cb51c000 ffff8801d682fe20 ffffffff81ce10e5 0000000000000000 0000000000000000 ffff8801d682fc88 ffff8801d682fcd8 Call Trace: [] construct_alloc_key security/keys/request_key.c:388 [inline] [] construct_key_and_link security/keys/request_key.c:479 [inline] [] request_key_and_link+0x535/0xac0 security/keys/request_key.c:594 [] SYSC_request_key security/keys/keyctl.c:213 [inline] [] SyS_request_key+0x233/0x2f0 security/keys/keyctl.c:158 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 68 ff 48 c7 c7 20 f6 82 84 e8 41 47 55 ff eb ac e8 3a 6f 68 ff 48 c7 c7 20 f6 82 84 e8 de eb d1 01 e9 f3 fe ff ff e8 24 6f 68 ff <0f> 0b e8 1d 6f 68 ff 48 8d bb ce 00 00 00 48 b8 00 00 00 00 00 RIP [] __key_link_begin+0x20c/0x2d0 security/keys/keyring.c:1107 RSP ---[ end trace 22b114c2771e96fc ]---