[....] Starting enhanced syslogd: rsyslogd[ 12.730225] audit: type=1400 audit(1512823713.343:5): avc: denied { syslog } for pid=2993 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: [ 20.328339] audit: type=1400 audit(1512823720.941:6): avc: denied { map } for pid=3135 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-mmots-kasan-gce-0,10.128.0.38' (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 [ 26.634998] audit: type=1400 audit(1512823727.247:7): avc: denied { map } for pid=3149 comm="syzkaller434239" path="/root/syzkaller434239894" 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 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 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 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 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 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 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 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 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 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 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 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 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 [ 28.393621] ================================================================== [ 28.401072] BUG: KASAN: use-after-free in aead_recvmsg+0x1827/0x1bc0 [ 28.407564] Write of size 4 at addr ffff8801c69050b4 by task syzkaller434239/3152 [ 28.415180] [ 28.416809] CPU: 0 PID: 3152 Comm: syzkaller434239 Not tainted 4.15.0-rc2-mm1+ #39 [ 28.424503] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.433853] Call Trace: [ 28.436443] dump_stack+0x194/0x257 [ 28.440073] ? arch_local_irq_restore+0x53/0x53 [ 28.444742] ? show_regs_print_info+0x18/0x18 [ 28.449243] ? pcrypt_aead_enc+0x100/0x100 [ 28.454179] ? aead_recvmsg+0x1827/0x1bc0 [ 28.458335] print_address_description+0x73/0x250 [ 28.463179] ? aead_recvmsg+0x1827/0x1bc0 [ 28.467328] kasan_report+0x25b/0x340 [ 28.471160] __asan_report_store4_noabort+0x17/0x20 [ 28.476887] aead_recvmsg+0x1827/0x1bc0 [ 28.480907] ? aead_release+0x50/0x50 [ 28.484716] ? selinux_socket_recvmsg+0x36/0x40 [ 28.489399] ? security_socket_recvmsg+0x91/0xc0 [ 28.495014] ? aead_release+0x50/0x50 [ 28.498813] sock_recvmsg+0xc9/0x110 [ 28.502535] sock_read_iter+0x361/0x560 [ 28.506514] ? sock_recvmsg+0x110/0x110 [ 28.510491] ? selinux_file_permission+0x82/0x460 [ 28.515344] ? rw_verify_area+0xe5/0x2b0 [ 28.519428] aio_read+0x2b0/0x3a0 [ 28.522893] ? aio_write+0x5a0/0x5a0 [ 28.526606] ? lock_downgrade+0x980/0x980 [ 28.530768] ? lock_release+0xda0/0xda0 [ 28.534756] ? __might_sleep+0x95/0x190 [ 28.538737] do_io_submit+0xf99/0x14f0 [ 28.542620] ? do_io_submit+0xf99/0x14f0 [ 28.546700] ? aio_read+0x3a0/0x3a0 [ 28.550331] ? mm_fault_error+0x2c0/0x2c0 [ 28.554477] ? lock_downgrade+0x980/0x980 [ 28.558624] ? SyS_io_setup+0x10e/0x390 [ 28.562608] ? do_page_fault+0xee/0x720 [ 28.566585] ? __do_page_fault+0xc90/0xc90 [ 28.570846] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.576297] SyS_io_submit+0x27/0x30 [ 28.581223] ? SyS_io_submit+0x27/0x30 [ 28.585116] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 28.589866] RIP: 0033:0x4403f9 [ 28.593050] RSP: 002b:00007ffe9aa4f518 EFLAGS: 00000213 ORIG_RAX: 00000000000000d1 [ 28.600763] RAX: ffffffffffffffda RBX: 00000000006ce6a0 RCX: 00000000004403f9 [ 28.608026] RDX: 0000000020738000 RSI: 0000000000000001 RDI: 00007f5fed366000 [ 28.615291] RBP: f052e4886cb58016 R08: 0000000000000000 R09: 0000000000000006 [ 28.622555] R10: 0000000000000000 R11: 0000000000000213 R12: b6db745ced0cb6b3 [ 28.629820] R13: e583e3ccb075070a R14: 0000000000000000 R15: 0000000000000000 [ 28.637108] [ 28.638729] Allocated by task 3152: [ 28.642353] save_stack+0x43/0xd0 [ 28.645808] kasan_kmalloc+0xad/0xe0 [ 28.649521] __kmalloc+0x162/0x760 [ 28.653063] sock_kmalloc+0x112/0x190 [ 28.656862] af_alg_alloc_areq+0x74/0x2f0 [ 28.661007] aead_recvmsg+0x443/0x1bc0 [ 28.665670] sock_recvmsg+0xc9/0x110 [ 28.669561] sock_read_iter+0x361/0x560 [ 28.673534] aio_read+0x2b0/0x3a0 [ 28.676995] do_io_submit+0xf99/0x14f0 [ 28.680877] SyS_io_submit+0x27/0x30 [ 28.684590] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 28.689330] [ 28.690951] Freed by task 1483: [ 28.694227] save_stack+0x43/0xd0 [ 28.697676] kasan_slab_free+0x71/0xc0 [ 28.701556] kfree+0xca/0x250 [ 28.704660] sock_kfree_s+0x29/0x60 [ 28.708288] af_alg_free_resources+0x6b/0x80 [ 28.712694] af_alg_async_cb+0xbc/0x160 [ 28.716669] pcrypt_aead_serial+0x75/0xa0 [ 28.720820] padata_serial_worker+0x476/0x750 [ 28.725321] process_one_work+0xbfd/0x1bc0 [ 28.729559] worker_thread+0x223/0x1990 [ 28.733528] kthread+0x37a/0x440 [ 28.736889] ret_from_fork+0x24/0x30 [ 28.740916] [ 28.742539] The buggy address belongs to the object at ffff8801c6904dc0 [ 28.742539] which belongs to the cache kmalloc-2048 of size 2048 [ 28.755370] The buggy address is located 756 bytes inside of [ 28.755370] 2048-byte region [ffff8801c6904dc0, ffff8801c69055c0) [ 28.767324] The buggy address belongs to the page: [ 28.772265] page:00000000110377e7 count:1 mapcount:0 mapping:00000000c1f8b946 index:0x0 compound_mapcount: 0 [ 28.782243] flags: 0x2fffc0000008100(slab|head) [ 28.786904] raw: 02fffc0000008100 ffff8801c6904540 0000000000000000 0000000100000003 [ 28.794778] raw: ffffea00071a40a0 ffffea0006ec0120 ffff8801dac00c40 0000000000000000 [ 28.802645] page dumped because: kasan: bad access detected [ 28.808352] [ 28.809967] Memory state around the buggy address: [ 28.814887] ffff8801c6904f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.822238] ffff8801c6905000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.830194] >ffff8801c6905080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.839191] ^ 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 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 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 [ 28.844110] ffff8801c6905100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.851457] ffff8801c6905180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.858803] ================================================================== [ 28.866149] Disabling lock debugging due to kernel taint [ 28.871656] Kernel panic - not syncing: panic_on_warn set ... [ 28.871656] [ 28.879009] CPU: 0 PID: 3152 Comm: syzkaller434239 Tainted: G B 4.15.0-rc2-mm1+ #39 [ 28.887998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.897330] Call Trace: [ 28.899917] dump_stack+0x194/0x257 [ 28.903536] ? arch_local_irq_restore+0x53/0x53 [ 28.908207] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.912959] ? vsnprintf+0x1ed/0x1900 [ 28.916755] ? aead_recvmsg+0x1760/0x1bc0 [ 28.920892] panic+0x1e4/0x41c [ 28.924072] ? refcount_error_report+0x214/0x214 [ 28.928819] ? add_taint+0x1c/0x50 [ 28.932346] ? add_taint+0x1c/0x50 [ 28.935876] ? aead_recvmsg+0x1827/0x1bc0 [ 28.940023] kasan_end_report+0x50/0x50 [ 28.943998] kasan_report+0x144/0x340 [ 28.947799] __asan_report_store4_noabort+0x17/0x20 [ 28.952800] aead_recvmsg+0x1827/0x1bc0 [ 28.956773] ? aead_release+0x50/0x50 [ 28.960572] ? selinux_socket_recvmsg+0x36/0x40 [ 28.965225] ? security_socket_recvmsg+0x91/0xc0 [ 28.969975] ? aead_release+0x50/0x50 [ 28.973760] sock_recvmsg+0xc9/0x110 [ 28.977465] sock_read_iter+0x361/0x560 [ 28.981429] ? sock_recvmsg+0x110/0x110 [ 28.985395] ? selinux_file_permission+0x82/0x460 [ 28.990244] ? rw_verify_area+0xe5/0x2b0 [ 28.994287] aio_read+0x2b0/0x3a0 [ 28.997726] ? aio_write+0x5a0/0x5a0 [ 29.001432] ? lock_downgrade+0x980/0x980 [ 29.005572] ? lock_release+0xda0/0xda0 [ 29.009542] ? __might_sleep+0x95/0x190 [ 29.013516] do_io_submit+0xf99/0x14f0 [ 29.017390] ? do_io_submit+0xf99/0x14f0 [ 29.021442] ? aio_read+0x3a0/0x3a0 [ 29.025060] ? mm_fault_error+0x2c0/0x2c0 [ 29.029194] ? lock_downgrade+0x980/0x980 [ 29.033328] ? SyS_io_setup+0x10e/0x390 [ 29.037295] ? do_page_fault+0xee/0x720 [ 29.041262] ? __do_page_fault+0xc90/0xc90 [ 29.045496] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.050513] SyS_io_submit+0x27/0x30 [ 29.054227] ? SyS_io_submit+0x27/0x30 [ 29.058115] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 29.062860] RIP: 0033:0x4403f9 [ 29.066037] RSP: 002b:00007ffe9aa4f518 EFLAGS: 00000213 ORIG_RAX: 00000000000000d1 [ 29.074434] RAX: ffffffffffffffda RBX: 00000000006ce6a0 RCX: 00000000004403f9 [ 29.082209] RDX: 0000000020738000 RSI: 0000000000000001 RDI: 00007f5fed366000 [ 29.089466] RBP: f052e4886cb58016 R08: 0000000000000000 R09: 0000000000000006 [ 29.096722] R10: 0000000000000000 R11: 0000000000000213 R12: b6db745ced0cb6b3 [ 29.103980] R13: e583e3ccb075070a R14: 0000000000000000 R15: 0000000000000000 [ 29.111667] Dumping ftrace buffer: [ 29.115179] (ftrace buffer empty) [ 29.118856] Kernel Offset: disabled [ 29.122448] Rebooting in 86400 seconds..