[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 41.062561] audit: type=1800 audit(1546003394.075:25): pid=7942 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 41.084218] audit: type=1800 audit(1546003394.075:26): pid=7942 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 41.104388] audit: type=1800 audit(1546003394.075:27): pid=7942 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.118' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 50.492310] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 50.518374] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. executing program executing program [ 50.539543] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 50.562443] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. executing program executing program executing program [ 50.584231] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 50.606227] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 50.628092] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. executing program executing program [ 50.648495] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. [ 50.669892] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. executing program executing program executing program [ 50.690512] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 51.519079] ================================================================== [ 51.526534] BUG: KASAN: use-after-free in generic_gcmaes_encrypt+0xc6/0x190 [ 51.533620] Read of size 12 at addr ffff88809f85d280 by task kworker/0:2/2971 [ 51.540869] [ 51.542495] CPU: 0 PID: 2971 Comm: kworker/0:2 Not tainted 4.20.0-rc7-next-20181224 #189 [ 51.550699] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.560046] Workqueue: pencrypt padata_parallel_worker [ 51.565300] Call Trace: [ 51.567876] dump_stack+0x1d3/0x2c6 [ 51.571594] ? dump_stack_print_info.cold.1+0x20/0x20 [ 51.576767] ? printk+0xa7/0xcf [ 51.580032] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 51.584778] print_address_description.cold.5+0x9/0x1ff [ 51.590128] ? generic_gcmaes_encrypt+0xc6/0x190 [ 51.594866] kasan_report.cold.6+0x1b/0x39 [ 51.599084] ? generic_gcmaes_encrypt+0xc6/0x190 [ 51.603841] ? generic_gcmaes_encrypt+0xc6/0x190 [ 51.608583] check_memory_region+0x13e/0x1b0 [ 51.612985] memcpy+0x23/0x50 [ 51.616076] generic_gcmaes_encrypt+0xc6/0x190 [ 51.620658] ? helper_rfc4106_encrypt+0x4a0/0x4a0 [ 51.625487] ? kasan_check_read+0x11/0x20 [ 51.629628] ? do_raw_spin_unlock+0xa7/0x330 [ 51.634022] gcmaes_wrapper_encrypt+0x15d/0x200 [ 51.638679] pcrypt_aead_enc+0xcb/0x190 [ 51.642641] padata_parallel_worker+0x49d/0x760 [ 51.647298] ? padata_do_parallel+0x8b0/0x8b0 [ 51.651775] ? graph_lock+0x270/0x270 [ 51.655562] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.661083] ? check_preemption_disabled+0x48/0x280 [ 51.666085] ? __lock_is_held+0xb5/0x140 [ 51.670136] process_one_work+0xc90/0x1c40 [ 51.674367] ? mark_held_locks+0x130/0x130 [ 51.678593] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 51.683245] ? __switch_to_asm+0x34/0x70 [ 51.687286] ? __switch_to_asm+0x34/0x70 [ 51.691379] ? __switch_to_asm+0x40/0x70 [ 51.695423] ? __switch_to_asm+0x34/0x70 [ 51.699470] ? __switch_to_asm+0x40/0x70 [ 51.703514] ? __switch_to_asm+0x34/0x70 [ 51.707562] ? __switch_to_asm+0x34/0x70 [ 51.711618] ? __switch_to_asm+0x34/0x70 [ 51.715659] ? __switch_to_asm+0x40/0x70 [ 51.719703] ? __switch_to_asm+0x34/0x70 [ 51.723746] ? __switch_to_asm+0x40/0x70 [ 51.727795] ? __switch_to_asm+0x34/0x70 [ 51.731843] ? set_pf_worker+0x74/0xd0 [ 51.735716] ? __sched_text_start+0x8/0x8 [ 51.739848] ? graph_lock+0x270/0x270 [ 51.743640] ? graph_lock+0x270/0x270 [ 51.747429] ? lockdep_hardirqs_on+0x421/0x5c0 [ 51.752000] ? find_held_lock+0x36/0x1c0 [ 51.756049] ? lock_acquire+0x1ed/0x520 [ 51.760009] ? worker_thread+0x3e0/0x1390 [ 51.764147] ? kasan_check_write+0x14/0x20 [ 51.768364] ? do_raw_spin_lock+0x14f/0x350 [ 51.772667] ? __schedule+0x1ed0/0x1ed0 [ 51.776624] ? rwlock_bug.part.2+0x90/0x90 [ 51.780842] ? trace_hardirqs_on+0x310/0x310 [ 51.785240] worker_thread+0x17f/0x1390 [ 51.789200] ? __bpf_trace_sched_wake_idle_without_ipi+0x10/0x10 [ 51.795334] ? process_one_work+0x1c40/0x1c40 [ 51.799814] ? __schedule+0x9e6/0x1ed0 [ 51.803687] ? __sched_text_start+0x8/0x8 [ 51.807816] ? __sched_text_start+0x8/0x8 [ 51.811960] ? __kthread_parkme+0xce/0x1a0 [ 51.816188] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 51.821273] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 51.826372] ? lockdep_hardirqs_on+0x421/0x5c0 [ 51.830973] ? trace_hardirqs_on+0xbd/0x310 [ 51.835292] ? kasan_check_read+0x11/0x20 [ 51.839438] ? __kthread_parkme+0xce/0x1a0 [ 51.843654] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 51.849091] ? __schedule+0x1ed0/0x1ed0 [ 51.853051] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 51.858135] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 51.863658] ? __kthread_parkme+0xfb/0x1a0 [ 51.867881] ? process_one_work+0x1c40/0x1c40 [ 51.872360] kthread+0x35a/0x440 [ 51.875711] ? kthread_bind+0x40/0x40 [ 51.879498] ret_from_fork+0x3a/0x50 [ 51.883199] [ 51.884822] Allocated by task 8185: [ 51.888432] save_stack+0x43/0xd0 [ 51.891869] kasan_kmalloc+0xcb/0xd0 [ 51.895587] kmem_cache_alloc_trace+0x154/0x750 [ 51.900242] tls_set_sw_offload+0xcb3/0x1390 [ 51.904647] tls_setsockopt+0x689/0x770 [ 51.908623] sock_common_setsockopt+0x9a/0xe0 [ 51.913105] __sys_setsockopt+0x1ba/0x3c0 [ 51.917238] __x64_sys_setsockopt+0xbe/0x150 [ 51.921633] do_syscall_64+0x1b9/0x820 [ 51.925517] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.930686] [ 51.932292] Freed by task 8185: [ 51.935554] save_stack+0x43/0xd0 [ 51.939002] __kasan_slab_free+0x102/0x150 [ 51.943226] kasan_slab_free+0xe/0x10 [ 51.947020] kfree+0xcf/0x230 [ 51.950112] tls_sk_proto_close+0x5fa/0x750 [ 51.954423] inet_release+0x104/0x1f0 [ 51.958219] inet6_release+0x50/0x70 [ 51.961914] __sock_release+0xd7/0x250 [ 51.965785] sock_close+0x19/0x20 [ 51.969223] __fput+0x3bc/0xa90 [ 51.972510] ____fput+0x15/0x20 [ 51.975828] task_work_run+0x1e8/0x2a0 [ 51.979698] exit_to_usermode_loop+0x318/0x380 [ 51.984262] do_syscall_64+0x6be/0x820 [ 51.988134] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.993298] [ 51.994913] The buggy address belongs to the object at ffff88809f85d280 [ 51.994913] which belongs to the cache kmalloc-32 of size 32 [ 52.007377] The buggy address is located 0 bytes inside of [ 52.007377] 32-byte region [ffff88809f85d280, ffff88809f85d2a0) [ 52.018987] The buggy address belongs to the page: [ 52.023912] page:ffffea00027e1740 count:1 mapcount:0 mapping:ffff88812c3f01c0 index:0xffff88809f85dfc1 [ 52.033338] flags: 0x1fffc0000000200(slab) [ 52.037560] raw: 01fffc0000000200 ffffea000281f088 ffffea000281ae08 ffff88812c3f01c0 [ 52.045454] raw: ffff88809f85dfc1 ffff88809f85d000 000000010000003f 0000000000000000 [ 52.053337] page dumped because: kasan: bad access detected [ 52.059031] [ 52.060661] Memory state around the buggy address: [ 52.065569] ffff88809f85d180: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 52.072909] ffff88809f85d200: 00 01 fc fc fc fc fc fc 00 01 fc fc fc fc fc fc [ 52.080251] >ffff88809f85d280: fb fb fb fb fc fc fc fc 00 01 fc fc fc fc fc fc [ 52.087587] ^ [ 52.090935] ffff88809f85d300: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 52.098294] ffff88809f85d380: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 52.105640] ================================================================== [ 52.112997] Disabling lock debugging due to kernel taint [ 52.118463] Kernel panic - not syncing: panic_on_warn set ... [ 52.124358] CPU: 0 PID: 2971 Comm: kworker/0:2 Tainted: G B 4.20.0-rc7-next-20181224 #189 [ 52.133955] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.143310] Workqueue: pencrypt padata_parallel_worker [ 52.148582] Call Trace: [ 52.151172] dump_stack+0x1d3/0x2c6 [ 52.154783] ? dump_stack_print_info.cold.1+0x20/0x20 [ 52.159962] ? helper_rfc4106_encrypt+0x470/0x4a0 [ 52.164801] panic+0x2ad/0x632 [ 52.167989] ? add_taint.cold.5+0x16/0x16 [ 52.172126] ? trace_hardirqs_on+0xb4/0x310 [ 52.176441] ? generic_gcmaes_encrypt+0xc6/0x190 [ 52.181183] end_report+0x47/0x4f [ 52.184621] kasan_report.cold.6+0xe/0x39 [ 52.188764] ? generic_gcmaes_encrypt+0xc6/0x190 [ 52.193504] ? generic_gcmaes_encrypt+0xc6/0x190 [ 52.198256] check_memory_region+0x13e/0x1b0 [ 52.202658] memcpy+0x23/0x50 [ 52.205749] generic_gcmaes_encrypt+0xc6/0x190 [ 52.210312] ? helper_rfc4106_encrypt+0x4a0/0x4a0 [ 52.215137] ? kasan_check_read+0x11/0x20 [ 52.219269] ? do_raw_spin_unlock+0xa7/0x330 [ 52.223658] gcmaes_wrapper_encrypt+0x15d/0x200 [ 52.228312] pcrypt_aead_enc+0xcb/0x190 [ 52.232273] padata_parallel_worker+0x49d/0x760 [ 52.236926] ? padata_do_parallel+0x8b0/0x8b0 [ 52.241407] ? graph_lock+0x270/0x270 [ 52.245195] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.250720] ? check_preemption_disabled+0x48/0x280 [ 52.255728] ? __lock_is_held+0xb5/0x140 [ 52.259797] process_one_work+0xc90/0x1c40 [ 52.264013] ? mark_held_locks+0x130/0x130 [ 52.268235] ? pwq_dec_nr_in_flight+0x4a0/0x4a0 [ 52.272888] ? __switch_to_asm+0x34/0x70 [ 52.276931] ? __switch_to_asm+0x34/0x70 [ 52.281018] ? __switch_to_asm+0x40/0x70 [ 52.285085] ? __switch_to_asm+0x34/0x70 [ 52.289129] ? __switch_to_asm+0x40/0x70 [ 52.293408] ? __switch_to_asm+0x34/0x70 [ 52.297452] ? __switch_to_asm+0x34/0x70 [ 52.301500] ? __switch_to_asm+0x34/0x70 [ 52.305555] ? __switch_to_asm+0x40/0x70 [ 52.309605] ? __switch_to_asm+0x34/0x70 [ 52.313681] ? __switch_to_asm+0x40/0x70 [ 52.317736] ? __switch_to_asm+0x34/0x70 [ 52.321780] ? set_pf_worker+0x74/0xd0 [ 52.325665] ? __sched_text_start+0x8/0x8 [ 52.329806] ? graph_lock+0x270/0x270 [ 52.333585] ? graph_lock+0x270/0x270 [ 52.337367] ? lockdep_hardirqs_on+0x421/0x5c0 [ 52.341958] ? find_held_lock+0x36/0x1c0 [ 52.346051] ? lock_acquire+0x1ed/0x520 [ 52.350010] ? worker_thread+0x3e0/0x1390 [ 52.354144] ? kasan_check_write+0x14/0x20 [ 52.358380] ? do_raw_spin_lock+0x14f/0x350 [ 52.362709] ? __schedule+0x1ed0/0x1ed0 [ 52.366684] ? rwlock_bug.part.2+0x90/0x90 [ 52.370898] ? trace_hardirqs_on+0x310/0x310 [ 52.375320] worker_thread+0x17f/0x1390 [ 52.379278] ? __bpf_trace_sched_wake_idle_without_ipi+0x10/0x10 [ 52.385407] ? process_one_work+0x1c40/0x1c40 [ 52.389906] ? __schedule+0x9e6/0x1ed0 [ 52.393776] ? __sched_text_start+0x8/0x8 [ 52.397909] ? __sched_text_start+0x8/0x8 [ 52.402061] ? __kthread_parkme+0xce/0x1a0 [ 52.406278] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 52.411381] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 52.416484] ? lockdep_hardirqs_on+0x421/0x5c0 [ 52.421057] ? trace_hardirqs_on+0xbd/0x310 [ 52.425386] ? kasan_check_read+0x11/0x20 [ 52.429519] ? __kthread_parkme+0xce/0x1a0 [ 52.433735] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 52.439183] ? __schedule+0x1ed0/0x1ed0 [ 52.443141] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 52.448315] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 52.453831] ? __kthread_parkme+0xfb/0x1a0 [ 52.458050] ? process_one_work+0x1c40/0x1c40 [ 52.462525] kthread+0x35a/0x440 [ 52.465875] ? kthread_bind+0x40/0x40 [ 52.469670] ret_from_fork+0x3a/0x50 [ 52.474329] Kernel Offset: disabled [ 52.477965] Rebooting in 86400 seconds..