[....] Starting enhanced syslogd: rsyslogd[ 12.480700] audit: type=1400 audit(1516091858.228:4): avc: denied { syslog } for pid=3173 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.0.19' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 32.019660] ================================================================== [ 32.027067] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 32.034146] Read of size 8 at addr ffff8801c9d08140 by task syzkaller566346/3331 [ 32.041646] [ 32.043245] CPU: 0 PID: 3331 Comm: syzkaller566346 Not tainted 4.9.76-g8dec074 #13 [ 32.050926] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.060254] ffff8801c9edfab0 ffffffff81d93169 ffffea0007274200 ffff8801c9d08140 [ 32.068237] 0000000000000000 ffff8801c9d08140 ffff8801c9b82338 ffff8801c9edfae8 [ 32.076221] ffffffff8153cb43 ffff8801c9d08140 0000000000000008 0000000000000000 [ 32.084193] Call Trace: [ 32.086752] [] dump_stack+0xc1/0x128 [ 32.092088] [] print_address_description+0x73/0x280 [ 32.098724] [] kasan_report+0x275/0x360 [ 32.104321] [] ? sg_remove_request+0x103/0x120 [ 32.110531] [] __asan_report_load8_noabort+0x14/0x20 [ 32.117259] [] sg_remove_request+0x103/0x120 [ 32.123289] [] sg_finish_rem_req+0x295/0x340 [ 32.129329] [] sg_read+0xa1c/0x1440 [ 32.134573] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.141210] [] ? fasync_insert_entry+0x147/0x2e0 [ 32.147588] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.154226] [] __vfs_read+0x103/0x670 [ 32.159649] [] ? default_llseek+0x290/0x290 [ 32.165588] [] ? fsnotify+0x86/0xf30 [ 32.170919] [] ? fsnotify+0xf30/0xf30 [ 32.176337] [] ? avc_policy_seqno+0x9/0x20 [ 32.182195] [] ? selinux_file_permission+0x82/0x460 [ 32.188840] [] ? security_file_permission+0x89/0x1e0 [ 32.195564] [] ? rw_verify_area+0xe5/0x2b0 [ 32.201419] [] vfs_read+0x11e/0x380 [ 32.206685] [] SyS_read+0xd9/0x1b0 [ 32.211864] [] ? vfs_copy_file_range+0x740/0x740 [ 32.218244] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 32.225053] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.231604] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 32.238159] [ 32.239758] Allocated by task 0: [ 32.243089] (stack is not available) [ 32.246769] [ 32.248364] Freed by task 0: [ 32.251349] (stack is not available) [ 32.255027] [ 32.256626] The buggy address belongs to the object at ffff8801c9d08100 [ 32.256626] which belongs to the cache fasync_cache of size 96 [ 32.269250] The buggy address is located 64 bytes inside of [ 32.269250] 96-byte region [ffff8801c9d08100, ffff8801c9d08160) [ 32.280919] The buggy address belongs to the page: [ 32.285823] page:ffffea0007274200 count:1 mapcount:0 mapping: (null) index:0x0 [ 32.294046] flags: 0x8000000000000080(slab) [ 32.298337] page dumped because: kasan: bad access detected [ 32.304018] [ 32.305613] Memory state around the buggy address: [ 32.310510] ffff8801c9d08000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 32.317840] ffff8801c9d08080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.325166] >ffff8801c9d08100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.332495] ^ [ 32.337913] ffff8801c9d08180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.345239] ffff8801c9d08200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.352563] ================================================================== [ 32.359890] Disabling lock debugging due to kernel taint [ 32.365576] Kernel panic - not syncing: panic_on_warn set ... [ 32.365576] [ 32.372921] CPU: 0 PID: 3331 Comm: syzkaller566346 Tainted: G B 4.9.76-g8dec074 #13 [ 32.381822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.391154] ffff8801c9edfa08 ffffffff81d93169 ffffffff84195c2f ffff8801c9edfae0 [ 32.399123] 0000000000000000 ffff8801c9d08140 ffff8801c9b82338 ffff8801c9edfad0 [ 32.407121] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 32.415095] Call Trace: [ 32.417654] [] dump_stack+0xc1/0x128 [ 32.422986] [] panic+0x1bc/0x3a8 [ 32.427974] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 32.436172] [] ? preempt_schedule+0x25/0x30 [ 32.442114] [] ? ___preempt_schedule+0x16/0x18 [ 32.448315] [] kasan_end_report+0x50/0x50 [ 32.454169] [] kasan_report+0x167/0x360 [ 32.459764] [] ? sg_remove_request+0x103/0x120 [ 32.465966] [] __asan_report_load8_noabort+0x14/0x20 [ 32.472695] [] sg_remove_request+0x103/0x120 [ 32.478738] [] sg_finish_rem_req+0x295/0x340 [ 32.484770] [] sg_read+0xa1c/0x1440 [ 32.490021] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.496656] [] ? fasync_insert_entry+0x147/0x2e0 [ 32.503030] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.509666] [] __vfs_read+0x103/0x670 [ 32.515087] [] ? default_llseek+0x290/0x290 [ 32.521030] [] ? fsnotify+0x86/0xf30 [ 32.526362] [] ? fsnotify+0xf30/0xf30 [ 32.531783] [] ? avc_policy_seqno+0x9/0x20 [ 32.537655] [] ? selinux_file_permission+0x82/0x460 [ 32.544306] [] ? security_file_permission+0x89/0x1e0 [ 32.551037] [] ? rw_verify_area+0xe5/0x2b0 [ 32.556903] [] vfs_read+0x11e/0x380 [ 32.562153] [] SyS_read+0xd9/0x1b0 [ 32.567320] [] ? vfs_copy_file_range+0x740/0x740 [ 32.573709] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 32.580522] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.587073] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 32.594028] Dumping ftrace buffer: [ 32.597540] (ftrace buffer empty) [ 32.601218] Kernel Offset: disabled [ 32.604815] Rebooting in 86400 seconds..