[....] Starting enhanced syslogd: rsyslogd[ 13.819903] audit: type=1400 audit(1515590997.466:4): avc: denied { syslog } for pid=3175 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.197' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.433675] ================================================================== [ 27.441076] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.448152] Read of size 8 at addr ffff8801c94ea140 by task syzkaller337006/3331 [ 27.455652] [ 27.457248] CPU: 0 PID: 3331 Comm: syzkaller337006 Not tainted 4.9.76-g9154940 #20 [ 27.464927] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.474248] ffff8801c8567a50 ffffffff81d93149 ffffea0007253a80 ffff8801c94ea140 [ 27.482202] 0000000000000000 ffff8801c94ea140 ffff8801c930c438 ffff8801c8567a88 [ 27.490158] ffffffff8153cb43 ffff8801c94ea140 0000000000000008 0000000000000000 [ 27.498127] Call Trace: [ 27.500683] [] dump_stack+0xc1/0x128 [ 27.506023] [] print_address_description+0x73/0x280 [ 27.512654] [] kasan_report+0x275/0x360 [ 27.518251] [] ? sg_remove_request+0x103/0x120 [ 27.524450] [] __asan_report_load8_noabort+0x14/0x20 [ 27.531174] [] sg_remove_request+0x103/0x120 [ 27.537202] [] sg_finish_rem_req+0x295/0x340 [ 27.543257] [] sg_read+0xa1c/0x1440 [ 27.548509] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.554881] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.561513] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.567453] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.573824] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.580455] [] __vfs_read+0x103/0x670 [ 27.586280] [] ? default_llseek+0x290/0x290 [ 27.592246] [] ? fsnotify+0x86/0xf30 [ 27.597576] [] ? fsnotify+0xf30/0xf30 [ 27.602991] [] ? avc_policy_seqno+0x9/0x20 [ 27.608862] [] ? selinux_file_permission+0x82/0x460 [ 27.616101] [] ? security_file_permission+0x89/0x1e0 [ 27.622831] [] ? rw_verify_area+0xe5/0x2b0 [ 27.628681] [] vfs_read+0x11e/0x380 [ 27.633934] [] SyS_read+0xd9/0x1b0 [ 27.639101] [] ? vfs_copy_file_range+0x740/0x740 [ 27.645492] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 27.651611] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.657820] [] ? vfs_copy_file_range+0x740/0x740 [ 27.664191] [] do_fast_syscall_32+0x2f7/0x890 [ 27.670302] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.676936] [] entry_SYSENTER_compat+0x74/0x83 [ 27.683143] [ 27.684738] Allocated by task 0: [ 27.688074] (stack is not available) [ 27.691750] [ 27.693349] Freed by task 0: [ 27.696329] (stack is not available) [ 27.700004] [ 27.701595] The buggy address belongs to the object at ffff8801c94ea100 [ 27.701595] which belongs to the cache fasync_cache of size 96 [ 27.714215] The buggy address is located 64 bytes inside of [ 27.714215] 96-byte region [ffff8801c94ea100, ffff8801c94ea160) [ 27.725894] The buggy address belongs to the page: [ 27.730807] page:ffffea0007253a80 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.739031] flags: 0x8000000000000080(slab) [ 27.743320] page dumped because: kasan: bad access detected [ 27.749003] [ 27.750602] Memory state around the buggy address: [ 27.755497] ffff8801c94ea000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.762828] ffff8801c94ea080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.770153] >ffff8801c94ea100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.777487] ^ [ 27.782910] ffff8801c94ea180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.790234] ffff8801c94ea200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.797562] ================================================================== [ 27.804900] Disabling lock debugging due to kernel taint [ 27.811826] Kernel panic - not syncing: panic_on_warn set ... [ 27.811826] [ 27.819201] CPU: 1 PID: 3331 Comm: syzkaller337006 Tainted: G B 4.9.76-g9154940 #20 [ 27.828098] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.837534] ffff8801c85679a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8567a80 [ 27.845500] 0000000000000000 ffff8801c94ea140 ffff8801c930c438 ffff8801c8567a70 [ 27.853460] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.861416] Call Trace: [ 27.863976] [] dump_stack+0xc1/0x128 [ 27.869331] [] panic+0x1bc/0x3a8 [ 27.874327] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.882526] [] ? preempt_schedule+0x25/0x30 [ 27.888464] [] ? ___preempt_schedule+0x16/0x18 [ 27.894668] [] kasan_end_report+0x50/0x50 [ 27.900432] [] kasan_report+0x167/0x360 [ 27.906026] [] ? sg_remove_request+0x103/0x120 [ 27.912233] [] __asan_report_load8_noabort+0x14/0x20 [ 27.918963] [] sg_remove_request+0x103/0x120 [ 27.924995] [] sg_finish_rem_req+0x295/0x340 [ 27.931029] [] sg_read+0xa1c/0x1440 [ 27.936274] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.942648] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.949282] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.955223] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.961611] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.968249] [] __vfs_read+0x103/0x670 [ 27.973668] [] ? default_llseek+0x290/0x290 [ 27.979617] [] ? fsnotify+0x86/0xf30 [ 27.984949] [] ? fsnotify+0xf30/0xf30 [ 27.990368] [] ? avc_policy_seqno+0x9/0x20 [ 27.996223] [] ? selinux_file_permission+0x82/0x460 [ 28.002866] [] ? security_file_permission+0x89/0x1e0 [ 28.009589] [] ? rw_verify_area+0xe5/0x2b0 [ 28.015442] [] vfs_read+0x11e/0x380 [ 28.020686] [] SyS_read+0xd9/0x1b0 [ 28.025856] [] ? vfs_copy_file_range+0x740/0x740 [ 28.032235] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.038347] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.044558] [] ? vfs_copy_file_range+0x740/0x740 [ 28.050933] [] do_fast_syscall_32+0x2f7/0x890 [ 28.057058] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.063695] [] entry_SYSENTER_compat+0x74/0x83 [ 28.069941] Dumping ftrace buffer: [ 28.073449] (ftrace buffer empty) [ 28.077125] Kernel Offset: disabled [ 28.080718] Rebooting in 86400 seconds..