[....] Starting enhanced syslogd: rsyslogd[ 11.125038] audit: type=1400 audit(1515738470.398:4): avc: denied { syslog } for pid=3197 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.2' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 26.673468] ================================================================== [ 26.674559] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.675501] Read of size 8 at addr ffff8801cce93140 by task syzkaller438199/3356 [ 26.676532] [ 26.676763] CPU: 0 PID: 3356 Comm: syzkaller438199 Not tainted 4.9.76-g9154940 #10 [ 26.677808] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.679057] ffff8801cbcafab0 ffffffff81d93149 ffffea000733a4c0 ffff8801cce93140 [ 26.680201] 0000000000000000 ffff8801cce93140 ffff8801ccd70238 ffff8801cbcafae8 [ 26.681394] ffffffff8153cb43 ffff8801cce93140 0000000000000008 0000000000000000 [ 26.682533] Call Trace: [ 26.682890] [] dump_stack+0xc1/0x128 [ 26.683617] [] print_address_description+0x73/0x280 [ 26.684505] [] kasan_report+0x275/0x360 [ 26.685246] [] ? sg_remove_request+0x103/0x120 [ 26.686080] [] __asan_report_load8_noabort+0x14/0x20 [ 26.686966] [] sg_remove_request+0x103/0x120 [ 26.687764] [] sg_finish_rem_req+0x295/0x340 [ 26.688559] [] sg_read+0xa1c/0x1440 [ 26.689258] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.690135] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 26.691068] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.691991] [] __vfs_read+0x103/0x670 [ 26.692713] [] ? default_llseek+0x290/0x290 [ 26.693497] [] ? fsnotify+0x86/0xf30 [ 26.698664] [] ? fsnotify+0xf30/0xf30 [ 26.704083] [] ? avc_policy_seqno+0x9/0x20 [ 26.709954] [] ? selinux_file_permission+0x82/0x460 [ 26.716587] [] ? security_file_permission+0x89/0x1e0 [ 26.723314] [] ? rw_verify_area+0xe5/0x2b0 [ 26.729165] [] vfs_read+0x11e/0x380 [ 26.734414] [] SyS_read+0xd9/0x1b0 [ 26.739572] [] ? vfs_copy_file_range+0x740/0x740 [ 26.746814] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.753632] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.760185] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 26.766728] [ 26.768322] Allocated by task 0: [ 26.771659] (stack is not available) [ 26.775333] [ 26.776926] Freed by task 0: [ 26.779907] (stack is not available) [ 26.783583] [ 26.785177] The buggy address belongs to the object at ffff8801cce93100 [ 26.785177] which belongs to the cache fasync_cache of size 96 [ 26.798406] The buggy address is located 64 bytes inside of [ 26.798406] 96-byte region [ffff8801cce93100, ffff8801cce93160) [ 26.810075] The buggy address belongs to the page: [ 26.815493] page:ffffea000733a4c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.824576] flags: 0x8000000000000080(slab) [ 26.828861] page dumped because: kasan: bad access detected [ 26.834543] [ 26.836150] Memory state around the buggy address: [ 26.841479] ffff8801cce93000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.848982] ffff8801cce93080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.856307] >ffff8801cce93100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.863630] ^ [ 26.869322] ffff8801cce93180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.876662] ffff8801cce93200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.883986] ================================================================== [ 26.891315] Disabling lock debugging due to kernel taint [ 26.898489] Kernel panic - not syncing: panic_on_warn set ... [ 26.898489] [ 26.906712] CPU: 0 PID: 3356 Comm: syzkaller438199 Tainted: G B 4.9.76-g9154940 #10 [ 26.915858] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.925179] ffff8801cbcafa08 ffffffff81d93149 ffffffff84195c17 ffff8801cbcafae0 [ 26.933582] 0000000000000000 ffff8801cce93140 ffff8801ccd70238 ffff8801cbcafad0 [ 26.941804] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 26.950201] Call Trace: [ 26.952767] [] dump_stack+0xc1/0x128 [ 26.958275] [] panic+0x1bc/0x3a8 [ 26.963272] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 26.971468] [] ? preempt_schedule+0x25/0x30 [ 26.977406] [] ? ___preempt_schedule+0x16/0x18 [ 26.983605] [] kasan_end_report+0x50/0x50 [ 26.990497] [] kasan_report+0x167/0x360 [ 26.996089] [] ? sg_remove_request+0x103/0x120 [ 27.002290] [] __asan_report_load8_noabort+0x14/0x20 [ 27.009009] [] sg_remove_request+0x103/0x120 [ 27.015038] [] sg_finish_rem_req+0x295/0x340 [ 27.021065] [] sg_read+0xa1c/0x1440 [ 27.026315] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.032956] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.040545] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.047179] [] __vfs_read+0x103/0x670 [ 27.052605] [] ? default_llseek+0x290/0x290 [ 27.058541] [] ? fsnotify+0x86/0xf30 [ 27.063879] [] ? fsnotify+0xf30/0xf30 [ 27.070116] [] ? avc_policy_seqno+0x9/0x20 [ 27.076402] [] ? selinux_file_permission+0x82/0x460 [ 27.083038] [] ? security_file_permission+0x89/0x1e0 [ 27.089758] [] ? rw_verify_area+0xe5/0x2b0 [ 27.095616] [] vfs_read+0x11e/0x380 [ 27.100861] [] SyS_read+0xd9/0x1b0 [ 27.106366] [] ? vfs_copy_file_range+0x740/0x740 [ 27.112741] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.119561] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.126454] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.133538] Dumping ftrace buffer: [ 27.137052] (ftrace buffer empty) [ 27.140734] Kernel Offset: disabled [ 27.144327] Rebooting in 86400 seconds..