[....] Starting enhanced syslogd: rsyslogd[ 13.079703] audit: type=1400 audit(1515270095.595:4): avc: denied { syslog } for pid=3179 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.43' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.924759] ================================================================== [ 24.932143] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.939209] Read of size 8 at addr ffff8801cbc2c140 by task syzkaller074884/3335 [ 24.946703] [ 24.948297] CPU: 0 PID: 3335 Comm: syzkaller074884 Not tainted 4.9.75-g06fe41f #16 [ 24.955969] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.965289] ffff8801cd5dfa50 ffffffff81d93049 ffffea00072f0b00 ffff8801cbc2c140 [ 24.973233] 0000000000000000 ffff8801cbc2c140 ffff8801c80c8238 ffff8801cd5dfa88 [ 24.981443] ffffffff8153ca53 ffff8801cbc2c140 0000000000000008 0000000000000000 [ 24.989904] Call Trace: [ 24.992461] [] dump_stack+0xc1/0x128 [ 24.998487] [] print_address_description+0x73/0x280 [ 25.007287] [] kasan_report+0x275/0x360 [ 25.012876] [] ? sg_remove_request+0x103/0x120 [ 25.019072] [] __asan_report_load8_noabort+0x14/0x20 [ 25.025787] [] sg_remove_request+0x103/0x120 [ 25.031808] [] sg_finish_rem_req+0x295/0x340 [ 25.037832] [] sg_read+0xa1c/0x1440 [ 25.043074] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.049705] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.056076] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.062880] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.069510] [] __vfs_read+0x103/0x670 [ 25.075186] [] ? default_llseek+0x290/0x290 [ 25.082165] [] ? fsnotify+0x86/0xf30 [ 25.087493] [] ? fsnotify+0xf30/0xf30 [ 25.092911] [] ? avc_policy_seqno+0x9/0x20 [ 25.099020] [] ? selinux_file_permission+0x82/0x460 [ 25.105649] [] ? security_file_permission+0x89/0x1e0 [ 25.112366] [] ? rw_verify_area+0xe5/0x2b0 [ 25.118217] [] vfs_read+0x11e/0x380 [ 25.123457] [] SyS_read+0xd9/0x1b0 [ 25.128610] [] ? vfs_copy_file_range+0x740/0x740 [ 25.134988] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.141184] [] ? vfs_copy_file_range+0x740/0x740 [ 25.147728] [] do_fast_syscall_32+0x2f7/0x890 [ 25.153838] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.160467] [] entry_SYSENTER_compat+0x74/0x83 [ 25.166665] [ 25.168260] Allocated by task 0: [ 25.171592] (stack is not available) [ 25.175267] [ 25.176858] Freed by task 0: [ 25.179837] (stack is not available) [ 25.183512] [ 25.185119] The buggy address belongs to the object at ffff8801cbc2c100 [ 25.185119] which belongs to the cache fasync_cache of size 96 [ 25.197737] The buggy address is located 64 bytes inside of [ 25.197737] 96-byte region [ffff8801cbc2c100, ffff8801cbc2c160) [ 25.210700] The buggy address belongs to the page: [ 25.217070] page:ffffea00072f0b00 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.225288] flags: 0x8000000000000080(slab) [ 25.229920] page dumped because: kasan: bad access detected [ 25.235599] [ 25.237190] Memory state around the buggy address: [ 25.242083] ffff8801cbc2c000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.250013] ffff8801cbc2c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.257335] >ffff8801cbc2c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.264660] ^ [ 25.270077] ffff8801cbc2c180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.277400] ffff8801cbc2c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.284722] ================================================================== [ 25.292304] Disabling lock debugging due to kernel taint [ 25.297918] Kernel panic - not syncing: panic_on_warn set ... [ 25.297918] [ 25.305255] CPU: 0 PID: 3335 Comm: syzkaller074884 Tainted: G B 4.9.75-g06fe41f #16 [ 25.314142] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.323466] ffff8801cd5df9a8 ffffffff81d93049 ffffffff84195be7 ffff8801cd5dfa80 [ 25.332975] 0000000000000000 ffff8801cbc2c140 ffff8801c80c8238 ffff8801cd5dfa70 [ 25.340935] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 25.348888] Call Trace: [ 25.351446] [] dump_stack+0xc1/0x128 [ 25.356777] [] panic+0x1bc/0x3a8 [ 25.362106] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.370304] [] ? preempt_schedule+0x25/0x30 [ 25.376242] [] ? ___preempt_schedule+0x16/0x18 [ 25.382449] [] kasan_end_report+0x50/0x50 [ 25.388212] [] kasan_report+0x167/0x360 [ 25.393808] [] ? sg_remove_request+0x103/0x120 [ 25.400350] [] __asan_report_load8_noabort+0x14/0x20 [ 25.407329] [] sg_remove_request+0x103/0x120 [ 25.413351] [] sg_finish_rem_req+0x295/0x340 [ 25.419384] [] sg_read+0xa1c/0x1440 [ 25.426463] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.433094] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.439463] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.446266] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.452898] [] __vfs_read+0x103/0x670 [ 25.458313] [] ? default_llseek+0x290/0x290 [ 25.464247] [] ? fsnotify+0x86/0xf30 [ 25.469577] [] ? fsnotify+0xf30/0xf30 [ 25.474993] [] ? avc_policy_seqno+0x9/0x20 [ 25.480844] [] ? selinux_file_permission+0x82/0x460 [ 25.487648] [] ? security_file_permission+0x89/0x1e0 [ 25.494373] [] ? rw_verify_area+0xe5/0x2b0 [ 25.500227] [] vfs_read+0x11e/0x380 [ 25.505467] [] SyS_read+0xd9/0x1b0 [ 25.510621] [] ? vfs_copy_file_range+0x740/0x740 [ 25.516991] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.523188] [] ? vfs_copy_file_range+0x740/0x740 [ 25.529556] [] do_fast_syscall_32+0x2f7/0x890 [ 25.535665] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.542294] [] entry_SYSENTER_compat+0x74/0x83 [ 25.549259] Dumping ftrace buffer: [ 25.552765] (ftrace buffer empty) [ 25.556442] Kernel Offset: disabled [ 25.560041] Rebooting in 86400 seconds..