[....] Starting enhanced syslogd: rsyslogd[ 12.732992] audit: type=1400 audit(1515741690.867:4): avc: denied { syslog } for pid=3163 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.208' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.279545] ================================================================== [ 34.286937] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 34.294023] Read of size 8 at addr ffff8801c92f0140 by task syzkaller131098/3335 [ 34.301522] [ 34.303120] CPU: 0 PID: 3335 Comm: syzkaller131098 Not tainted 4.9.76-g9154940 #10 [ 34.310789] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.320118] ffff8801c8697ab0 ffffffff81d93149 ffffea000724bc00 ffff8801c92f0140 [ 34.328064] 0000000000000000 ffff8801c92f0140 ffff8801c9f74438 ffff8801c8697ae8 [ 34.336011] ffffffff8153cb43 ffff8801c92f0140 0000000000000008 0000000000000000 [ 34.343967] Call Trace: [ 34.346521] [] dump_stack+0xc1/0x128 [ 34.351855] [] print_address_description+0x73/0x280 [ 34.358487] [] kasan_report+0x275/0x360 [ 34.364077] [] ? sg_remove_request+0x103/0x120 [ 34.370273] [] __asan_report_load8_noabort+0x14/0x20 [ 34.377001] [] sg_remove_request+0x103/0x120 [ 34.383022] [] sg_finish_rem_req+0x295/0x340 [ 34.389045] [] sg_read+0xa1c/0x1440 [ 34.394287] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.400919] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.407898] [] ? fasync_helper+0x37/0xb0 [ 34.413572] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.420204] [] __vfs_read+0x103/0x670 [ 34.425628] [] ? default_llseek+0x290/0x290 [ 34.431565] [] ? fsnotify+0x86/0xf30 [ 34.437067] [] ? fsnotify+0xf30/0xf30 [ 34.442486] [] ? avc_policy_seqno+0x9/0x20 [ 34.448970] [] ? selinux_file_permission+0x82/0x460 [ 34.455605] [] ? security_file_permission+0x89/0x1e0 [ 34.462336] [] ? rw_verify_area+0xe5/0x2b0 [ 34.468185] [] vfs_read+0x11e/0x380 [ 34.473431] [] SyS_read+0xd9/0x1b0 [ 34.478596] [] ? vfs_copy_file_range+0x740/0x740 [ 34.484966] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.491774] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.498318] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.504857] [ 34.506451] Allocated by task 0: [ 34.509778] (stack is not available) [ 34.513465] [ 34.515056] Freed by task 0: [ 34.518037] (stack is not available) [ 34.521710] [ 34.523303] The buggy address belongs to the object at ffff8801c92f0100 [ 34.523303] which belongs to the cache fasync_cache of size 96 [ 34.535921] The buggy address is located 64 bytes inside of [ 34.535921] 96-byte region [ffff8801c92f0100, ffff8801c92f0160) [ 34.547582] The buggy address belongs to the page: [ 34.552474] page:ffffea000724bc00 count:1 mapcount:0 mapping: (null) index:0x0 [ 34.560691] flags: 0x8000000000000080(slab) [ 34.564972] page dumped because: kasan: bad access detected [ 34.570646] [ 34.572236] Memory state around the buggy address: [ 34.577128] ffff8801c92f0000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 34.584449] ffff8801c92f0080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.591773] >ffff8801c92f0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.599095] ^ [ 34.604519] ffff8801c92f0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.611860] ffff8801c92f0200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.619181] ================================================================== [ 34.626507] Disabling lock debugging due to kernel taint [ 34.632125] Kernel panic - not syncing: panic_on_warn set ... [ 34.632125] [ 34.639460] CPU: 0 PID: 3335 Comm: syzkaller131098 Tainted: G B 4.9.76-g9154940 #10 [ 34.648347] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.657668] ffff8801c8697a08 ffffffff81d93149 ffffffff84195c17 ffff8801c8697ae0 [ 34.665618] 0000000000000000 ffff8801c92f0140 ffff8801c9f74438 ffff8801c8697ad0 [ 34.673567] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 34.681518] Call Trace: [ 34.684080] [] dump_stack+0xc1/0x128 [ 34.689410] [] panic+0x1bc/0x3a8 [ 34.694389] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 34.702591] [] ? preempt_schedule+0x25/0x30 [ 34.708539] [] ? ___preempt_schedule+0x16/0x18 [ 34.714742] [] kasan_end_report+0x50/0x50 [ 34.720515] [] kasan_report+0x167/0x360 [ 34.726104] [] ? sg_remove_request+0x103/0x120 [ 34.732301] [] __asan_report_load8_noabort+0x14/0x20 [ 34.739017] [] sg_remove_request+0x103/0x120 [ 34.745038] [] sg_finish_rem_req+0x295/0x340 [ 34.751059] [] sg_read+0xa1c/0x1440 [ 34.756298] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.762929] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.769907] [] ? fasync_helper+0x37/0xb0 [ 34.775581] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.782210] [] __vfs_read+0x103/0x670 [ 34.787625] [] ? default_llseek+0x290/0x290 [ 34.793562] [] ? fsnotify+0x86/0xf30 [ 34.798888] [] ? fsnotify+0xf30/0xf30 [ 34.804308] [] ? avc_policy_seqno+0x9/0x20 [ 34.810169] [] ? selinux_file_permission+0x82/0x460 [ 34.816799] [] ? security_file_permission+0x89/0x1e0 [ 34.823521] [] ? rw_verify_area+0xe5/0x2b0 [ 34.829371] [] vfs_read+0x11e/0x380 [ 34.834611] [] SyS_read+0xd9/0x1b0 [ 34.839769] [] ? vfs_copy_file_range+0x740/0x740 [ 34.846140] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.852954] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.859505] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.866088] Dumping ftrace buffer: [ 34.869613] (ftrace buffer empty) [ 34.873293] Kernel Offset: disabled [ 34.876893] Rebooting in 86400 seconds..