[....] Starting enhanced syslogd: rsyslogd[ 10.328390] audit: type=1400 audit(1515932395.775:4): avc: denied { syslog } for pid=3171 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 Warning: Permanently added '10.128.0.13' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 41.071823] ================================================================== [ 41.073325] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 41.074295] Read of size 8 at addr ffff8801c8e70140 by task syzkaller350671/3347 [ 41.075300] [ 41.075535] CPU: 0 PID: 3347 Comm: syzkaller350671 Not tainted 4.9.76-gf0f6293 #12 [ 41.076590] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.077867] ffff8801c803fab0 ffffffff81d93149 ffffea0007239c00 ffff8801c8e70140 [ 41.079024] 0000000000000000 ffff8801c8e70140 ffff8801cb52a338 ffff8801c803fae8 [ 41.080182] ffffffff8153cb43 ffff8801c8e70140 0000000000000008 0000000000000000 [ 41.081355] Call Trace: [ 41.081714] [] dump_stack+0xc1/0x128 [ 41.082460] [] print_address_description+0x73/0x280 [ 41.083341] [] kasan_report+0x275/0x360 [ 41.084110] [] ? sg_remove_request+0x103/0x120 [ 41.084936] [] __asan_report_load8_noabort+0x14/0x20 [ 41.085823] [] sg_remove_request+0x103/0x120 [ 41.086659] [] sg_finish_rem_req+0x295/0x340 [ 41.087459] [] sg_read+0xa1c/0x1440 [ 41.088162] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.089045] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 41.089987] [] ? fasync_helper+0x37/0xb0 [ 41.090742] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.091625] [] __vfs_read+0x103/0x670 [ 41.095022] [] ? default_llseek+0x290/0x290 [ 41.100976] [] ? fsnotify+0x86/0xf30 [ 41.107016] [] ? fsnotify+0xf30/0xf30 [ 41.112453] [] ? avc_policy_seqno+0x9/0x20 [ 41.118308] [] ? selinux_file_permission+0x82/0x460 [ 41.124944] [] ? security_file_permission+0x89/0x1e0 [ 41.133145] [] ? rw_verify_area+0xe5/0x2b0 [ 41.139002] [] vfs_read+0x11e/0x380 [ 41.144259] [] SyS_read+0xd9/0x1b0 [ 41.149421] [] ? vfs_copy_file_range+0x740/0x740 [ 41.155796] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 41.162613] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.169163] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 41.175716] [ 41.177313] Allocated by task 0: [ 41.180651] (stack is not available) [ 41.184330] [ 41.185926] Freed by task 0: [ 41.188910] (stack is not available) [ 41.192589] [ 41.194184] The buggy address belongs to the object at ffff8801c8e70100 [ 41.194184] which belongs to the cache fasync_cache of size 96 [ 41.206818] The buggy address is located 64 bytes inside of [ 41.206818] 96-byte region [ffff8801c8e70100, ffff8801c8e70160) [ 41.218485] The buggy address belongs to the page: [ 41.223383] page:ffffea0007239c00 count:1 mapcount:0 mapping: (null) index:0x0 [ 41.232915] flags: 0x8000000000000080(slab) [ 41.237201] page dumped because: kasan: bad access detected [ 41.242879] [ 41.244472] Memory state around the buggy address: [ 41.249369] ffff8801c8e70000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 41.256869] ffff8801c8e70080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.264215] >ffff8801c8e70100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.271545] ^ [ 41.277656] ffff8801c8e70180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.286726] ffff8801c8e70200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.294056] ================================================================== [ 41.301382] Disabling lock debugging due to kernel taint [ 41.307953] Kernel panic - not syncing: panic_on_warn set ... [ 41.307953] [ 41.316600] CPU: 0 PID: 3347 Comm: syzkaller350671 Tainted: G B 4.9.76-gf0f6293 #12 [ 41.329585] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.339261] ffff8801c803fa08 ffffffff81d93149 ffffffff84195c17 ffff8801c803fae0 [ 41.347322] 0000000000000000 ffff8801c8e70140 ffff8801cb52a338 ffff8801c803fad0 [ 41.355322] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 41.363300] Call Trace: [ 41.365860] [] dump_stack+0xc1/0x128 [ 41.371196] [] panic+0x1bc/0x3a8 [ 41.376183] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 41.384387] [] ? preempt_schedule+0x25/0x30 [ 41.390329] [] ? ___preempt_schedule+0x16/0x18 [ 41.396532] [] kasan_end_report+0x50/0x50 [ 41.402301] [] kasan_report+0x167/0x360 [ 41.408072] [] ? sg_remove_request+0x103/0x120 [ 41.414288] [] __asan_report_load8_noabort+0x14/0x20 [ 41.421022] [] sg_remove_request+0x103/0x120 [ 41.427052] [] sg_finish_rem_req+0x295/0x340 [ 41.433080] [] sg_read+0xa1c/0x1440 [ 41.438327] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.444962] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 41.451947] [] ? fasync_helper+0x37/0xb0 [ 41.457627] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.464264] [] __vfs_read+0x103/0x670 [ 41.469706] [] ? default_llseek+0x290/0x290 [ 41.475644] [] ? fsnotify+0x86/0xf30 [ 41.481411] [] ? fsnotify+0xf30/0xf30 [ 41.486849] [] ? avc_policy_seqno+0x9/0x20 [ 41.492732] [] ? selinux_file_permission+0x82/0x460 [ 41.499392] [] ? security_file_permission+0x89/0x1e0 [ 41.507609] [] ? rw_verify_area+0xe5/0x2b0 [ 41.515374] [] vfs_read+0x11e/0x380 [ 41.520622] [] SyS_read+0xd9/0x1b0 [ 41.525781] [] ? vfs_copy_file_range+0x740/0x740 [ 41.532156] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 41.538975] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.545524] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 41.552602] Dumping ftrace buffer: [ 41.556114] (ftrace buffer empty) [ 41.559794] Kernel Offset: disabled [ 41.563388] Rebooting in 86400 seconds..