[....] Starting enhanced syslogd: rsyslogd[ 12.525815] audit: type=1400 audit(1515710866.414: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.15.224' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.309119] ================================================================== [ 27.316551] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.323622] Read of size 8 at addr ffff8801c9ac0140 by task syzkaller905602/3330 [ 27.331120] [ 27.332721] CPU: 1 PID: 3330 Comm: syzkaller905602 Not tainted 4.9.76-g9154940 #10 [ 27.340393] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.349731] ffff8801c802fab0 ffffffff81d93149 ffffea000726b000 ffff8801c9ac0140 [ 27.357684] 0000000000000000 ffff8801c9ac0140 ffff8801c97e0238 ffff8801c802fae8 [ 27.365634] ffffffff8153cb43 ffff8801c9ac0140 0000000000000008 0000000000000000 [ 27.373620] Call Trace: [ 27.376173] [] dump_stack+0xc1/0x128 [ 27.381514] [] print_address_description+0x73/0x280 [ 27.388147] [] kasan_report+0x275/0x360 [ 27.394108] [] ? sg_remove_request+0x103/0x120 [ 27.400313] [] __asan_report_load8_noabort+0x14/0x20 [ 27.407155] [] sg_remove_request+0x103/0x120 [ 27.413199] [] sg_finish_rem_req+0x295/0x340 [ 27.419233] [] sg_read+0xa1c/0x1440 [ 27.424480] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.431138] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.437516] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.444150] [] __vfs_read+0x103/0x670 [ 27.449567] [] ? default_llseek+0x290/0x290 [ 27.455595] [] ? fsnotify+0x86/0xf30 [ 27.460933] [] ? fsnotify+0xf30/0xf30 [ 27.466360] [] ? avc_policy_seqno+0x9/0x20 [ 27.472214] [] ? selinux_file_permission+0x82/0x460 [ 27.478846] [] ? security_file_permission+0x89/0x1e0 [ 27.485565] [] ? rw_verify_area+0xe5/0x2b0 [ 27.491424] [] vfs_read+0x11e/0x380 [ 27.496674] [] SyS_read+0xd9/0x1b0 [ 27.501838] [] ? vfs_copy_file_range+0x740/0x740 [ 27.508226] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.515035] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.521594] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.528147] [ 27.529742] Allocated by task 0: [ 27.533071] (stack is not available) [ 27.536836] [ 27.538431] Freed by task 0: [ 27.541411] (stack is not available) [ 27.545085] [ 27.546679] The buggy address belongs to the object at ffff8801c9ac0100 [ 27.546679] which belongs to the cache fasync_cache of size 96 [ 27.559307] The buggy address is located 64 bytes inside of [ 27.559307] 96-byte region [ffff8801c9ac0100, ffff8801c9ac0160) [ 27.570972] The buggy address belongs to the page: [ 27.575898] page:ffffea000726b000 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.584124] flags: 0x8000000000000080(slab) [ 27.588410] page dumped because: kasan: bad access detected [ 27.594083] [ 27.595674] Memory state around the buggy address: [ 27.600568] ffff8801c9ac0000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.607894] ffff8801c9ac0080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.615217] >ffff8801c9ac0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.622543] ^ [ 27.627961] ffff8801c9ac0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.635297] ffff8801c9ac0200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.642619] ================================================================== [ 27.649950] Disabling lock debugging due to kernel taint [ 27.655479] Kernel panic - not syncing: panic_on_warn set ... [ 27.655479] [ 27.662834] CPU: 1 PID: 3330 Comm: syzkaller905602 Tainted: G B 4.9.76-g9154940 #10 [ 27.671751] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.681077] ffff8801c802fa08 ffffffff81d93149 ffffffff84195c17 ffff8801c802fae0 [ 27.689030] 0000000000000000 ffff8801c9ac0140 ffff8801c97e0238 ffff8801c802fad0 [ 27.696981] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.704927] Call Trace: [ 27.707495] [] dump_stack+0xc1/0x128 [ 27.712828] [] panic+0x1bc/0x3a8 [ 27.717814] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.726020] [] ? preempt_schedule+0x25/0x30 [ 27.731972] [] ? ___preempt_schedule+0x16/0x18 [ 27.738174] [] kasan_end_report+0x50/0x50 [ 27.743941] [] kasan_report+0x167/0x360 [ 27.749543] [] ? sg_remove_request+0x103/0x120 [ 27.755742] [] __asan_report_load8_noabort+0x14/0x20 [ 27.762639] [] sg_remove_request+0x103/0x120 [ 27.768673] [] sg_finish_rem_req+0x295/0x340 [ 27.774696] [] sg_read+0xa1c/0x1440 [ 27.779939] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.786582] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.792957] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.799597] [] __vfs_read+0x103/0x670 [ 27.805014] [] ? default_llseek+0x290/0x290 [ 27.810956] [] ? fsnotify+0x86/0xf30 [ 27.816283] [] ? fsnotify+0xf30/0xf30 [ 27.821700] [] ? avc_policy_seqno+0x9/0x20 [ 27.827555] [] ? selinux_file_permission+0x82/0x460 [ 27.834191] [] ? security_file_permission+0x89/0x1e0 [ 27.840923] [] ? rw_verify_area+0xe5/0x2b0 [ 27.846775] [] vfs_read+0x11e/0x380 [ 27.852020] [] SyS_read+0xd9/0x1b0 [ 27.857178] [] ? vfs_copy_file_range+0x740/0x740 [ 27.863550] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.870358] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.876913] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 27.883982] Dumping ftrace buffer: [ 27.887491] (ftrace buffer empty) [ 27.891168] Kernel Offset: disabled [ 27.894759] Rebooting in 86400 seconds..