[....] Starting enhanced syslogd: rsyslogd[ 11.003068] audit: type=1400 audit(1515878207.352:4): avc: denied { syslog } for pid=3172 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 Warning: Permanently added '10.128.15.202' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.703461] ================================================================== [ 31.704507] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.705435] Read of size 8 at addr ffff8801ccf92140 by task syzkaller067162/3333 [ 31.706486] [ 31.706717] CPU: 1 PID: 3333 Comm: syzkaller067162 Not tainted 4.9.76-g8e170a5 #11 [ 31.707725] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.709027] ffff8801c21b7ab0 ffffffff81d93149 ffffea000733e480 ffff8801ccf92140 [ 31.710180] 0000000000000000 ffff8801ccf92140 ffff8801ca104438 ffff8801c21b7ae8 [ 31.711338] ffffffff8153cb43 ffff8801ccf92140 0000000000000008 0000000000000000 [ 31.712502] Call Trace: [ 31.712857] [] dump_stack+0xc1/0x128 [ 31.713569] [] print_address_description+0x73/0x280 [ 31.714482] [] kasan_report+0x275/0x360 [ 31.715236] [] ? sg_remove_request+0x103/0x120 [ 31.716070] [] __asan_report_load8_noabort+0x14/0x20 [ 31.716956] [] sg_remove_request+0x103/0x120 [ 31.717755] [] sg_finish_rem_req+0x295/0x340 [ 31.718562] [] sg_read+0xa1c/0x1440 [ 31.719301] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.720202] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 31.721135] [] ? fasync_helper+0x37/0xb0 [ 31.721897] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.722798] [] __vfs_read+0x103/0x670 [ 31.723575] [] ? default_llseek+0x290/0x290 [ 31.729514] [] ? fsnotify+0x86/0xf30 [ 31.734849] [] ? fsnotify+0xf30/0xf30 [ 31.740269] [] ? avc_policy_seqno+0x9/0x20 [ 31.746119] [] ? selinux_file_permission+0x82/0x460 [ 31.752750] [] ? security_file_permission+0x89/0x1e0 [ 31.759475] [] ? rw_verify_area+0xe5/0x2b0 [ 31.765325] [] vfs_read+0x11e/0x380 [ 31.770566] [] SyS_read+0xd9/0x1b0 [ 31.775739] [] ? vfs_copy_file_range+0x740/0x740 [ 31.782112] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.788917] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.795461] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.802000] [ 31.803593] Allocated by task 0: [ 31.806929] (stack is not available) [ 31.810615] [ 31.810617] Freed by task 0: [ 31.810618] (stack is not available) [ 31.810618] [ 31.810622] The buggy address belongs to the object at ffff8801ccf92100 [ 31.810622] which belongs to the cache fasync_cache of size 96 [ 31.810625] The buggy address is located 64 bytes inside of [ 31.810625] 96-byte region [ffff8801ccf92100, ffff8801ccf92160) [ 31.810626] The buggy address belongs to the page: [ 31.810631] page:ffffea000733e480 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.810634] flags: 0x8000000000000080(slab) [ 31.810635] page dumped because: kasan: bad access detected [ 31.810640] [ 31.810642] Memory state around the buggy address: [ 31.810646] ffff8801ccf92000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.810648] ffff8801ccf92080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.810651] >ffff8801ccf92100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.810653] ^ [ 31.810655] ffff8801ccf92180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.810658] ffff8801ccf92200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.810659] ================================================================== [ 31.810660] Disabling lock debugging due to kernel taint [ 31.815818] Kernel panic - not syncing: panic_on_warn set ... [ 31.815818] [ 31.815824] CPU: 1 PID: 3333 Comm: syzkaller067162 Tainted: G B 4.9.76-g8e170a5 #11 [ 31.815827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.815835] ffff8801c21b7a08 ffffffff81d93149 ffffffff84195c17 ffff8801c21b7ae0 [ 31.815840] 0000000000000000 ffff8801ccf92140 ffff8801ca104438 ffff8801c21b7ad0 [ 31.815844] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 31.815845] Call Trace: [ 31.815854] [] dump_stack+0xc1/0x128 [ 31.815861] [] panic+0x1bc/0x3a8 [ 31.815866] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 31.815873] [] ? preempt_schedule+0x25/0x30 [ 31.815877] [] ? ___preempt_schedule+0x16/0x18 [ 31.815883] [] kasan_end_report+0x50/0x50 [ 31.815886] [] kasan_report+0x167/0x360 [ 31.815892] [] ? sg_remove_request+0x103/0x120 [ 31.815896] [] __asan_report_load8_noabort+0x14/0x20 [ 31.815900] [] sg_remove_request+0x103/0x120 [ 31.815903] [] sg_finish_rem_req+0x295/0x340 [ 31.815907] [] sg_read+0xa1c/0x1440 [ 31.815910] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.815917] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 31.815921] [] ? fasync_helper+0x37/0xb0 [ 31.815925] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.815930] [] __vfs_read+0x103/0x670 [ 31.815934] [] ? default_llseek+0x290/0x290 [ 31.815937] [] ? fsnotify+0x86/0xf30 [ 31.815940] [] ? fsnotify+0xf30/0xf30 [ 31.815946] [] ? avc_policy_seqno+0x9/0x20 [ 31.815950] [] ? selinux_file_permission+0x82/0x460 [ 31.815953] [] ? security_file_permission+0x89/0x1e0 [ 31.815957] [] ? rw_verify_area+0xe5/0x2b0 [ 31.815961] [] vfs_read+0x11e/0x380 [ 31.815965] [] SyS_read+0xd9/0x1b0 [ 31.815969] [] ? vfs_copy_file_range+0x740/0x740 [ 31.815973] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.815976] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.815981] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.816393] Dumping ftrace buffer: [ 31.816396] (ftrace buffer empty) [ 31.816398] Kernel Offset: disabled [ 32.174623] Rebooting in 86400 seconds..