[....] Starting enhanced syslogd: rsyslogd[ 12.229219] audit: type=1400 audit(1512770265.918:5): avc: denied { syslog } for pid=2988 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 36.213965] audit: type=1400 audit(1512770289.903: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-4,10.128.15.204' (ECDSA) to the list of known hosts. executing program [ 42.276464] audit: type=1400 audit(1512770295.966:7): avc: denied { map } for pid=3147 comm="syzkaller599557" path="/root/syzkaller599557631" 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 [ 42.280564] ================================================================== [ 42.280579] BUG: KASAN: global-out-of-bounds in show_timer+0x278/0x2b0 [ 42.280584] Read of size 8 at addr ffffffff85752fa0 by task syzkaller599557/3147 [ 42.280587] [ 42.280593] CPU: 0 PID: 3147 Comm: syzkaller599557 Not tainted 4.15.0-rc2-mm1+ #39 [ 42.280597] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.280599] Call Trace: [ 42.280609] dump_stack+0x194/0x257 [ 42.280618] ? arch_local_irq_restore+0x53/0x53 [ 42.280626] ? show_regs_print_info+0x18/0x18 [ 42.280636] ? seq_printf+0xb3/0xe0 [ 42.280644] ? show_timer+0x278/0x2b0 [ 42.280653] print_address_description+0x178/0x250 [ 42.280659] ? show_timer+0x278/0x2b0 [ 42.280666] kasan_report+0x25b/0x340 [ 42.280677] __asan_report_load8_noabort+0x14/0x20 [ 42.280683] show_timer+0x278/0x2b0 [ 42.280688] ? timers_start+0x14c/0x1c0 [ 42.280697] traverse+0x248/0xa00 [ 42.280712] ? seq_hlist_next+0xc0/0xc0 [ 42.280728] seq_read+0x96a/0x13d0 [ 42.280749] ? seq_lseek+0x3c0/0x3c0 [ 42.280756] ? selinux_file_permission+0x82/0x460 [ 42.280767] ? security_file_permission+0x89/0x1f0 [ 42.280778] ? rw_verify_area+0xe5/0x2b0 [ 42.280788] do_iter_read+0x3db/0x5b0 [ 42.280796] ? dup_iter+0x260/0x260 [ 42.280812] vfs_readv+0x121/0x1c0 [ 42.280818] ? may_open_dev+0xe0/0xe0 [ 42.280827] ? compat_rw_copy_check_uvector+0x2e0/0x2e0 [ 42.280837] ? mm_fault_error+0x2c0/0x2c0 [ 42.280857] ? fget_raw+0x20/0x20 [ 42.280866] ? do_page_fault+0xee/0x720 [ 42.280877] ? putname+0xf3/0x130 [ 42.280888] ? do_sys_open+0x320/0x6d0 [ 42.280902] do_preadv+0x11b/0x1a0 [ 42.280907] ? do_preadv+0x11b/0x1a0 [ 42.280918] SyS_preadv+0x30/0x40 [ 42.280930] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 42.280935] RIP: 0033:0x440159 [ 42.280939] RSP: 002b:00007ffeb817de98 EFLAGS: 00000213 ORIG_RAX: 0000000000000127 [ 42.280950] RAX: ffffffffffffffda RBX: 00007ffeb817dea0 RCX: 0000000000440159 [ 42.280954] RDX: 0000000000000001 RSI: 00000000205e2ff0 RDI: 0000000000000003 [ 42.280958] RBP: 0000000000000000 R08: 0000000000000011 R09: 65732f636f72702f [ 42.280962] R10: 0000000000000003 R11: 0000000000000213 R12: 0000000000401a20 [ 42.280965] R13: 0000000000401ab0 R14: 0000000000000000 R15: 0000000000000000 [ 42.280984] [ 42.280987] The buggy address belongs to the variable: [ 42.280994] tokens+0xd00/0xda0 [ 42.280996] [ 42.280999] Memory state around the buggy address: [ 42.281007] ffffffff85752e80: fa fa fa fa 00 00 03 fa fa fa fa fa 00 00 00 00 [ 42.281011] ffffffff85752f00: 00 05 fa fa fa fa fa fa 00 fa fa fa fa fa fa fa [ 42.281016] >ffffffff85752f80: 00 00 04 fa fa fa fa fa 00 00 02 fa fa fa fa fa [ 42.281019] ^ [ 42.281023] ffffffff85753000: 00 00 05 fa fa fa fa fa 00 06 fa fa fa fa fa fa [ 42.281028] ffffffff85753080: 00 00 05 fa fa fa fa fa 00 00 05 fa fa fa fa fa [ 42.281030] ================================================================== [ 42.281032] Disabling lock debugging due to kernel taint [ 42.281035] Kernel panic - not syncing: panic_on_warn set ... [ 42.281035] [ 42.281039] CPU: 0 PID: 3147 Comm: syzkaller599557 Tainted: G B 4.15.0-rc2-mm1+ #39 [ 42.281041] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.281042] Call Trace: [ 42.281046] dump_stack+0x194/0x257 [ 42.281052] ? arch_local_irq_restore+0x53/0x53 [ 42.281057] ? vprintk_default+0x28/0x30 [ 42.281062] ? vsnprintf+0x1ed/0x1900 [ 42.281067] ? show_timer+0x1e0/0x2b0 [ 42.281072] panic+0x1e4/0x41c [ 42.281076] ? refcount_error_report+0x214/0x214 [ 42.281082] ? add_taint+0x40/0x50 [ 42.281086] ? add_taint+0x1c/0x50 [ 42.281091] ? show_timer+0x278/0x2b0 [ 42.281095] kasan_end_report+0x50/0x50 [ 42.281099] kasan_report+0x144/0x340 [ 42.281105] __asan_report_load8_noabort+0x14/0x20 [ 42.281108] show_timer+0x278/0x2b0 [ 42.281112] ? timers_start+0x14c/0x1c0 [ 42.281117] traverse+0x248/0xa00 [ 42.281125] ? seq_hlist_next+0xc0/0xc0 [ 42.281133] seq_read+0x96a/0x13d0 [ 42.281145] ? seq_lseek+0x3c0/0x3c0 [ 42.281148] ? selinux_file_permission+0x82/0x460 [ 42.281154] ? security_file_permission+0x89/0x1f0 [ 42.281159] ? rw_verify_area+0xe5/0x2b0 [ 42.281165] do_iter_read+0x3db/0x5b0 [ 42.281169] ? dup_iter+0x260/0x260 [ 42.281178] vfs_readv+0x121/0x1c0 [ 42.281181] ? may_open_dev+0xe0/0xe0 [ 42.281186] ? compat_rw_copy_check_uvector+0x2e0/0x2e0 [ 42.281191] ? mm_fault_error+0x2c0/0x2c0 [ 42.281199] ? fget_raw+0x20/0x20 [ 42.281203] ? do_page_fault+0xee/0x720 [ 42.281210] ? putname+0xf3/0x130 [ 42.281215] ? do_sys_open+0x320/0x6d0 [ 42.281223] do_preadv+0x11b/0x1a0 [ 42.281226] ? do_preadv+0x11b/0x1a0 [ 42.281232] SyS_preadv+0x30/0x40 [ 42.281238] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 42.281240] RIP: 0033:0x440159 [ 42.281242] RSP: 002b:00007ffeb817de98 EFLAGS: 00000213 ORIG_RAX: 0000000000000127 [ 42.281246] RAX: ffffffffffffffda RBX: 00007ffeb817dea0 RCX: 0000000000440159 [ 42.281248] RDX: 0000000000000001 RSI: 00000000205e2ff0 RDI: 0000000000000003 [ 42.281250] RBP: 0000000000000000 R08: 0000000000000011 R09: 65732f636f72702f [ 42.281252] R10: 0000000000000003 R11: 0000000000000213 R12: 0000000000401a20 [ 42.281254] R13: 0000000000401ab0 R14: 0000000000000000 R15: 0000000000000000 [ 42.302346] Dumping ftrace buffer: [ 42.302350] (ftrace buffer empty) [ 42.302352] Kernel Offset: disabled [ 42.815709] Rebooting in 86400 seconds..