[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 35.414219] audit: type=1800 audit(1538732424.836:25): pid=5655 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 35.433566] audit: type=1800 audit(1538732424.836:26): pid=5655 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 35.455673] audit: type=1800 audit(1538732424.836:27): pid=5655 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 47.567662] ------------[ cut here ]------------ [ 47.572429] kernel BUG at security/keys/keyring.c:1214! [ 47.577844] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 47.583221] CPU: 0 PID: 5807 Comm: syz-executor226 Not tainted 4.19.0-rc6+ #268 [ 47.590648] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.600042] RIP: 0010:__key_link_begin+0x23a/0x300 [ 47.605038] Code: fe 48 c7 c7 20 ae 67 89 e8 b3 36 23 fe eb ac e8 ec 64 42 fe 48 c7 c7 20 ae 67 89 e8 30 73 73 04 e9 e3 fe ff ff e8 d6 64 42 fe <0f> 0b e8 cf 64 42 fe 48 8d bb ce 00 00 00 48 b8 00 00 00 00 00 fc [ 47.623929] RSP: 0018:ffff8801bbdc7b10 EFLAGS: 00010293 [ 47.629274] RAX: ffff8801d924e2c0 RBX: ffff8801d4e7e080 RCX: ffffffff833c4ebf [ 47.636634] RDX: 0000000000000000 RSI: ffffffff833c50aa RDI: 0000000000000007 [ 47.643892] RBP: ffff8801bbdc7b40 R08: ffff8801d924e2c0 R09: fffffbfff12cf4a4 [ 47.651142] R10: fffffbfff12cf4a4 R11: ffffffff8967a523 R12: ffff8801bbdc7c48 [ 47.658392] R13: 0000000000000000 R14: ffff8801d4e7e200 R15: ffff8801d4e7e080 [ 47.665645] FS: 0000000001ce9880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 47.673855] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.679717] CR2: 0000000020cab000 CR3: 00000001d829a000 CR4: 00000000001406f0 [ 47.686972] Call Trace: [ 47.689685] request_key_and_link+0x737/0x17a0 [ 47.694254] ? key_task_permission+0x1ba/0x390 [ 47.698826] ? call_sbin_request_key+0xf80/0xf80 [ 47.703565] ? keyring_alloc+0xc0/0xc0 [ 47.707449] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.712980] ? _copy_from_user+0xdf/0x150 [ 47.717114] __x64_sys_request_key+0x305/0x400 [ 47.721677] ? __ia32_sys_add_key+0x4f0/0x4f0 [ 47.726155] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.731502] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 47.736936] ? __sys_setresuid+0x6f3/0x820 [ 47.741156] do_syscall_64+0x1b9/0x820 [ 47.745024] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.750379] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.755288] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.760113] ? trace_hardirqs_on_caller+0x310/0x310 [ 47.765111] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.770115] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.775162] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.779996] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.785165] RIP: 0033:0x440169 [ 47.788347] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 47.807244] RSP: 002b:00007ffd70324808 EFLAGS: 00000217 ORIG_RAX: 00000000000000f9 [ 47.814992] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440169 [ 47.822248] RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 00000000200000c0 [ 47.829496] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 47.836745] R10: 00000000111522d3 R11: 0000000000000217 R12: 00000000004019f0 [ 47.843997] R13: 0000000000401a80 R14: 0000000000000000 R15: 0000000000000000 [ 47.851249] Modules linked in: [ 47.854496] ---[ end trace 40815c4a8f1e2472 ]--- [ 47.859265] RIP: 0010:__key_link_begin+0x23a/0x300 [ 47.864239] Code: fe 48 c7 c7 20 ae 67 89 e8 b3 36 23 fe eb ac e8 ec 64 42 fe 48 c7 c7 20 ae 67 89 e8 30 73 73 04 e9 e3 fe ff ff e8 d6 64 42 fe <0f> 0b e8 cf 64 42 fe 48 8d bb ce 00 00 00 48 b8 00 00 00 00 00 fc [ 47.883418] RSP: 0018:ffff8801bbdc7b10 EFLAGS: 00010293 [ 47.888905] RAX: ffff8801d924e2c0 RBX: ffff8801d4e7e080 RCX: ffffffff833c4ebf [ 47.896293] RDX: 0000000000000000 RSI: ffffffff833c50aa RDI: 0000000000000007 [ 47.903545] RBP: ffff8801bbdc7b40 R08: ffff8801d924e2c0 R09: fffffbfff12cf4a4 [ 47.910987] R10: fffffbfff12cf4a4 R11: ffffffff8967a523 R12: ffff8801bbdc7c48 [ 47.918330] R13: 0000000000000000 R14: ffff8801d4e7e200 R15: ffff8801d4e7e080 [ 47.925632] FS: 0000000001ce9880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 47.933876] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.939743] CR2: 0000000020cab000 CR3: 00000001d829a000 CR4: 00000000001406f0 [ 47.947059] Kernel panic - not syncing: Fatal exception [ 47.953329] Kernel Offset: disabled [ 47.956949] Rebooting in 86400 seconds..