[....] Starting enhanced syslogd: rsyslogd[ 12.496514] audit: type=1400 audit(1516076679.718:4): avc: denied { syslog } for pid=3195 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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 Warning: Permanently added '10.128.0.34' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.882891] ================================================================== [ 23.890281] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.897346] Read of size 8 at addr ffff8801cd580140 by task syzkaller013865/3357 [ 23.904840] [ 23.906435] CPU: 0 PID: 3357 Comm: syzkaller013865 Not tainted 4.9.76-g8dec074 #13 [ 23.914107] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.923428] ffff8801c7d079b0 ffffffff81d93169 ffffea0007356000 ffff8801cd580140 [ 23.931402] 0000000000000000 ffff8801cd580140 ffff8801c8032338 ffff8801c7d079e8 [ 23.939365] ffffffff8153cb43 ffff8801cd580140 0000000000000008 0000000000000000 [ 23.947329] Call Trace: [ 23.949886] [] dump_stack+0xc1/0x128 [ 23.955225] [] print_address_description+0x73/0x280 [ 23.961856] [] kasan_report+0x275/0x360 [ 23.967447] [] ? sg_remove_request+0x103/0x120 [ 23.973648] [] __asan_report_load8_noabort+0x14/0x20 [ 23.980365] [] sg_remove_request+0x103/0x120 [ 23.986389] [] sg_finish_rem_req+0x295/0x340 [ 23.992416] [] sg_read+0xa1c/0x1440 [ 23.997662] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.004293] [] ? fsnotify+0xf30/0xf30 [ 24.009710] [] ? avc_policy_seqno+0x9/0x20 [ 24.015560] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.022539] [] ? security_file_permission+0x89/0x1e0 [ 24.029259] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.035892] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.042523] [] do_readv_writev+0x520/0x750 [ 24.048375] [] ? vfs_write+0x530/0x530 [ 24.053878] [] ? __pmd_alloc+0x410/0x410 [ 24.059556] [] ? dev_seq_stop+0x50/0x50 [ 24.065148] [] ? __do_page_fault+0x5ec/0xd40 [ 24.071174] [] vfs_readv+0x84/0xc0 [ 24.076331] [] do_readv+0xe6/0x250 [ 24.081489] [] ? vfs_readv+0xc0/0xc0 [ 24.086821] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 24.093453] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 24.100263] [] SyS_readv+0x27/0x30 [ 24.105428] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 24.111974] [ 24.113571] Allocated by task 0: [ 24.116906] (stack is not available) [ 24.120582] [ 24.122180] Freed by task 0: [ 24.125164] (stack is not available) [ 24.128840] [ 24.130437] The buggy address belongs to the object at ffff8801cd580100 [ 24.130437] which belongs to the cache fasync_cache of size 96 [ 24.143057] The buggy address is located 64 bytes inside of [ 24.143057] 96-byte region [ffff8801cd580100, ffff8801cd580160) [ 24.154724] The buggy address belongs to the page: [ 24.159626] page:ffffea0007356000 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.167850] flags: 0x8000000000000080(slab) [ 24.172143] page dumped because: kasan: bad access detected [ 24.177818] [ 24.179410] Memory state around the buggy address: [ 24.184303] ffff8801cd580000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.191634] ffff8801cd580080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.198959] >ffff8801cd580100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.206280] ^ [ 24.211706] ffff8801cd580180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.219066] ffff8801cd580200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.226397] ================================================================== [ 24.233725] Disabling lock debugging due to kernel taint [ 24.239336] Kernel panic - not syncing: panic_on_warn set ... [ 24.239336] [ 24.246673] CPU: 0 PID: 3357 Comm: syzkaller013865 Tainted: G B 4.9.76-g8dec074 #13 [ 24.255574] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.264902] ffff8801c7d07908 ffffffff81d93169 ffffffff84195c2f ffff8801c7d079e0 [ 24.272863] 0000000000000000 ffff8801cd580140 ffff8801c8032338 ffff8801c7d079d0 [ 24.280828] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 24.288794] Call Trace: [ 24.291354] [] dump_stack+0xc1/0x128 [ 24.296685] [] panic+0x1bc/0x3a8 [ 24.301670] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.309876] [] ? preempt_schedule+0x25/0x30 [ 24.315817] [] ? ___preempt_schedule+0x16/0x18 [ 24.322368] [] kasan_end_report+0x50/0x50 [ 24.328131] [] kasan_report+0x167/0x360 [ 24.333723] [] ? sg_remove_request+0x103/0x120 [ 24.339921] [] __asan_report_load8_noabort+0x14/0x20 [ 24.346640] [] sg_remove_request+0x103/0x120 [ 24.352665] [] sg_finish_rem_req+0x295/0x340 [ 24.358687] [] sg_read+0xa1c/0x1440 [ 24.363934] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.370568] [] ? fsnotify+0xf30/0xf30 [ 24.375986] [] ? avc_policy_seqno+0x9/0x20 [ 24.381839] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.388820] [] ? security_file_permission+0x89/0x1e0 [ 24.395542] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.402173] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.408807] [] do_readv_writev+0x520/0x750 [ 24.414657] [] ? vfs_write+0x530/0x530 [ 24.420159] [] ? __pmd_alloc+0x410/0x410 [ 24.425836] [] ? dev_seq_stop+0x50/0x50 [ 24.431427] [] ? __do_page_fault+0x5ec/0xd40 [ 24.437449] [] vfs_readv+0x84/0xc0 [ 24.442605] [] do_readv+0xe6/0x250 [ 24.447760] [] ? vfs_readv+0xc0/0xc0 [ 24.453092] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 24.459726] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 24.466532] [] SyS_readv+0x27/0x30 [ 24.471689] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 24.478612] Dumping ftrace buffer: [ 24.482120] (ftrace buffer empty) [ 24.485798] Kernel Offset: disabled [ 24.489396] Rebooting in 86400 seconds..