[....] Starting enhanced syslogd: rsyslogd[ 11.251620] audit: type=1400 audit(1513486572.468:5): avc: denied { syslog } for pid=2989 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.386423] audit: type=1400 audit(1513486578.603:6): avc: denied { map } for pid=3130 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added 'ci-upstream-net-kasan-gce-3,10.128.0.49' (ECDSA) to the list of known hosts. 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 [ 23.562433] audit: type=1400 audit(1513486584.779:7): avc: denied { map } for pid=3144 comm="syzkaller764369" path="/root/syzkaller764369153" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 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 [ 23.712530] ================================================================== [ 23.719943] BUG: KASAN: global-out-of-bounds in crypto_chacha20_crypt+0xada/0xbd0 [ 23.727534] Read of size 4 at addr ffffffff8747a184 by task kworker/1:1/24 [ 23.734510] [ 23.736114] CPU: 1 PID: 24 Comm: kworker/1:1 Not tainted 4.15.0-rc3+ #156 [ 23.743012] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.752337] Workqueue: crypto cryptd_queue_worker [ 23.757157] Call Trace: [ 23.759714] dump_stack+0x194/0x257 [ 23.763311] ? arch_local_irq_restore+0x53/0x53 [ 23.767958] ? show_regs_print_info+0x18/0x18 [ 23.772426] ? print_irqtrace_events+0x270/0x270 [ 23.777150] ? crypto_chacha20_crypt+0xada/0xbd0 [ 23.781876] print_address_description+0x178/0x250 [ 23.786772] ? crypto_chacha20_crypt+0xada/0xbd0 [ 23.791495] kasan_report+0x25b/0x340 [ 23.795268] __asan_report_load4_noabort+0x14/0x20 [ 23.800165] crypto_chacha20_crypt+0xada/0xbd0 [ 23.804717] ? __lock_acquire+0x664/0x3e00 [ 23.808932] ? crypto_chacha20_setkey+0xc0/0xc0 [ 23.813569] ? do_raw_spin_trylock+0x190/0x190 [ 23.818131] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 23.823287] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 23.828724] ? add_timer+0x5ee/0x14f0 [ 23.832510] ? find_held_lock+0x35/0x1d0 [ 23.836550] chacha20_simd+0xe4/0x410 [ 23.840322] ? chacha20_simd+0xe4/0x410 [ 23.844283] ? __lock_is_held+0xb6/0x140 [ 23.848335] ? check_noncircular+0x20/0x20 [ 23.852553] ? chacha20_dosimd+0x340/0x340 [ 23.856764] ? check_noncircular+0x20/0x20 [ 23.860968] ? print_irqtrace_events+0x270/0x270 [ 23.865694] ? print_irqtrace_events+0x270/0x270 [ 23.870420] ? check_noncircular+0x20/0x20 [ 23.874630] ? lock_acquire+0x1d5/0x580 [ 23.878578] cryptd_skcipher_decrypt+0x2de/0x5a0 [ 23.883300] ? cryptd_skcipher_decrypt+0x2de/0x5a0 [ 23.888202] ? cryptd_skcipher_decrypt+0x21/0x5a0 [ 23.893017] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.898008] ? cryptd_queue_worker+0x4f/0x1b0 [ 23.902483] cryptd_queue_worker+0xff/0x1b0 [ 23.906774] process_one_work+0xbf3/0x1bc0 [ 23.910977] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 23.916144] ? pwq_dec_nr_in_flight+0x450/0x450 [ 23.920782] ? copy_overflow+0x20/0x20 [ 23.924650] ? __schedule+0x8f3/0x2060 [ 23.928507] ? update_curr+0x2e3/0xa60 [ 23.932371] ? check_noncircular+0x20/0x20 [ 23.936580] ? __lock_is_held+0xb6/0x140 [ 23.940642] ? lock_acquire+0x1d5/0x580 [ 23.944585] ? lock_acquire+0x1d5/0x580 [ 23.948528] ? worker_thread+0x4a3/0x1990 [ 23.952645] ? lock_downgrade+0x980/0x980 [ 23.956762] ? lock_release+0xa40/0xa40 [ 23.960706] ? retint_kernel+0x10/0x10 [ 23.964567] ? do_raw_spin_trylock+0x190/0x190 [ 23.969129] worker_thread+0x223/0x1990 [ 23.973090] ? process_one_work+0x1bc0/0x1bc0 [ 23.977554] ? _raw_spin_unlock_irq+0x27/0x70 [ 23.982027] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.987020] ? trace_hardirqs_on+0xd/0x10 [ 23.991145] ? _raw_spin_unlock_irq+0x27/0x70 [ 23.995622] ? finish_task_switch+0x1d3/0x740 [ 24.000087] ? finish_task_switch+0x1aa/0x740 [ 24.004554] ? copy_overflow+0x20/0x20 [ 24.008437] ? __schedule+0x8f3/0x2060 [ 24.012306] ? find_held_lock+0x35/0x1d0 [ 24.016345] ? cache_grow_end.part.37+0x84/0x180 [ 24.021072] ? find_held_lock+0x35/0x1d0 [ 24.025108] ? complete+0x62/0x80 [ 24.028539] ? __schedule+0x2060/0x2060 [ 24.032481] ? do_wait_intr_irq+0x3e0/0x3e0 [ 24.036768] ? __lockdep_init_map+0xe4/0x650 [ 24.041144] ? do_raw_spin_trylock+0x190/0x190 [ 24.045693] ? lockdep_init_map+0x9/0x10 [ 24.049721] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 24.054792] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.059786] ? trace_hardirqs_on+0xd/0x10 [ 24.063904] ? __kthread_parkme+0x175/0x240 [ 24.068200] kthread+0x33c/0x400 [ 24.071535] ? process_one_work+0x1bc0/0x1bc0 [ 24.076007] ? kthread_stop+0x7a0/0x7a0 [ 24.079958] ret_from_fork+0x24/0x30 [ 24.083649] [ 24.085243] The buggy address belongs to the variable: [ 24.090490] oops_in_progress+0x4/0x40 [ 24.094343] [ 24.095937] Memory state around the buggy address: [ 24.100835] ffffffff8747a080: 04 fa fa fa fa fa fa fa 04 fa fa fa fa fa fa fa [ 24.108158] ffffffff8747a100: 04 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa [ 24.115483] >ffffffff8747a180: 04 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa [ 24.122818] ^ [ 24.126149] ffffffff8747a200: 00 fa fa fa fa fa fa fa 00 fa fa fa fa fa fa fa [ 24.133477] ffffffff8747a280: 00 fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 [ 24.140800] ================================================================== [ 24.148131] Disabling lock debugging due to kernel taint [ 24.153768] Kernel panic - not syncing: panic_on_warn set ... [ 24.153768] [ 24.161114] CPU: 1 PID: 24 Comm: kworker/1:1 Tainted: G B 4.15.0-rc3+ #156 [ 24.169307] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.178644] Workqueue: crypto cryptd_queue_worker [ 24.183460] Call Trace: [ 24.186025] dump_stack+0x194/0x257 [ 24.189619] ? arch_local_irq_restore+0x53/0x53 [ 24.194255] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.198977] ? vsnprintf+0x1ed/0x1900 [ 24.202744] ? crypto_chacha20_crypt+0xaa0/0xbd0 [ 24.207465] panic+0x1e4/0x41c [ 24.210625] ? refcount_error_report+0x214/0x214 [ 24.215348] ? add_taint+0x1c/0x50 [ 24.218856] ? add_taint+0x1c/0x50 [ 24.222362] ? crypto_chacha20_crypt+0xada/0xbd0 [ 24.227095] kasan_end_report+0x50/0x50 [ 24.231035] kasan_report+0x144/0x340 [ 24.234802] __asan_report_load4_noabort+0x14/0x20 [ 24.239700] crypto_chacha20_crypt+0xada/0xbd0 [ 24.244250] ? __lock_acquire+0x664/0x3e00 [ 24.248451] ? crypto_chacha20_setkey+0xc0/0xc0 [ 24.253088] ? do_raw_spin_trylock+0x190/0x190 [ 24.257640] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.262794] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 24.267863] ? add_timer+0x5ee/0x14f0 [ 24.271634] ? find_held_lock+0x35/0x1d0 [ 24.275674] chacha20_simd+0xe4/0x410 [ 24.279439] ? chacha20_simd+0xe4/0x410 [ 24.283380] ? __lock_is_held+0xb6/0x140 [ 24.287406] ? check_noncircular+0x20/0x20 [ 24.291605] ? chacha20_dosimd+0x340/0x340 [ 24.295807] ? check_noncircular+0x20/0x20 [ 24.300010] ? print_irqtrace_events+0x270/0x270 [ 24.304736] ? print_irqtrace_events+0x270/0x270 [ 24.309470] ? check_noncircular+0x20/0x20 [ 24.313676] ? lock_acquire+0x1d5/0x580 [ 24.317618] cryptd_skcipher_decrypt+0x2de/0x5a0 [ 24.322339] ? cryptd_skcipher_decrypt+0x2de/0x5a0 [ 24.327245] ? cryptd_skcipher_decrypt+0x21/0x5a0 [ 24.332052] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.337043] ? cryptd_queue_worker+0x4f/0x1b0 [ 24.341506] cryptd_queue_worker+0xff/0x1b0 [ 24.345802] process_one_work+0xbf3/0x1bc0 [ 24.350014] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.355179] ? pwq_dec_nr_in_flight+0x450/0x450 [ 24.359818] ? copy_overflow+0x20/0x20 [ 24.363679] ? __schedule+0x8f3/0x2060 [ 24.367533] ? update_curr+0x2e3/0xa60 [ 24.371389] ? check_noncircular+0x20/0x20 [ 24.375589] ? __lock_is_held+0xb6/0x140 [ 24.379629] ? lock_acquire+0x1d5/0x580 [ 24.383568] ? lock_acquire+0x1d5/0x580 [ 24.387507] ? worker_thread+0x4a3/0x1990 [ 24.391622] ? lock_downgrade+0x980/0x980 [ 24.395738] ? lock_release+0xa40/0xa40 [ 24.399677] ? retint_kernel+0x10/0x10 [ 24.403532] ? do_raw_spin_trylock+0x190/0x190 [ 24.408088] worker_thread+0x223/0x1990 [ 24.412042] ? process_one_work+0x1bc0/0x1bc0 [ 24.416503] ? _raw_spin_unlock_irq+0x27/0x70 [ 24.420973] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.425956] ? trace_hardirqs_on+0xd/0x10 [ 24.430068] ? _raw_spin_unlock_irq+0x27/0x70 [ 24.434529] ? finish_task_switch+0x1d3/0x740 [ 24.438988] ? finish_task_switch+0x1aa/0x740 [ 24.443451] ? copy_overflow+0x20/0x20 [ 24.447320] ? __schedule+0x8f3/0x2060 [ 24.451181] ? find_held_lock+0x35/0x1d0 [ 24.455213] ? cache_grow_end.part.37+0x84/0x180 [ 24.459935] ? find_held_lock+0x35/0x1d0 [ 24.463973] ? complete+0x62/0x80 [ 24.467397] ? __schedule+0x2060/0x2060 [ 24.471334] ? do_wait_intr_irq+0x3e0/0x3e0 [ 24.475619] ? __lockdep_init_map+0xe4/0x650 [ 24.480001] ? do_raw_spin_trylock+0x190/0x190 [ 24.484552] ? lockdep_init_map+0x9/0x10 [ 24.488578] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 24.493655] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.498637] ? trace_hardirqs_on+0xd/0x10 [ 24.502752] ? __kthread_parkme+0x175/0x240 [ 24.507042] kthread+0x33c/0x400 [ 24.510373] ? process_one_work+0x1bc0/0x1bc0 [ 24.514831] ? kthread_stop+0x7a0/0x7a0 [ 24.518771] ret_from_fork+0x24/0x30 [ 24.522889] Dumping ftrace buffer: [ 24.526395] (ftrace buffer empty) [ 24.530074] Kernel Offset: disabled [ 24.533667] Rebooting in 86400 seconds..