[....] Starting enhanced syslogd: rsyslogd[ 10.990857] audit: type=1400 audit(1516103863.931:4): avc: denied { syslog } for pid=3196 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.234' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.855976] ================================================================== [ 19.857146] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.858256] Read of size 8 at addr ffff8801c66c0140 by task syzkaller050101/3345 [ 19.859273] [ 19.859573] CPU: 0 PID: 3345 Comm: syzkaller050101 Not tainted 4.9.76-g8dec074 #13 [ 19.860587] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.861899] ffff8801c95dfab0 ffffffff81d93169 ffffea000719b000 ffff8801c66c0140 [ 19.863862] 0000000000000000 ffff8801c66c0140 ffff8801c93da338 ffff8801c95dfae8 [ 19.865160] ffffffff8153cb43 ffff8801c66c0140 0000000000000008 0000000000000000 [ 19.866430] Call Trace: [ 19.866797] [] dump_stack+0xc1/0x128 [ 19.867531] [] print_address_description+0x73/0x280 [ 19.868410] [] kasan_report+0x275/0x360 [ 19.869273] [] ? sg_remove_request+0x103/0x120 [ 19.870176] [] __asan_report_load8_noabort+0x14/0x20 [ 19.871085] [] sg_remove_request+0x103/0x120 [ 19.872010] [] sg_finish_rem_req+0x295/0x340 [ 19.872831] [] sg_read+0xa1c/0x1440 [ 19.873570] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.874464] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.875411] [] ? fasync_helper+0x37/0xb0 [ 19.877130] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.883773] [] __vfs_read+0x103/0x670 [ 19.889196] [] ? default_llseek+0x290/0x290 [ 19.895145] [] ? fsnotify+0x86/0xf30 [ 19.900498] [] ? fsnotify+0xf30/0xf30 [ 19.905928] [] ? avc_policy_seqno+0x9/0x20 [ 19.911787] [] ? selinux_file_permission+0x82/0x460 [ 19.918432] [] ? security_file_permission+0x89/0x1e0 [ 19.925166] [] ? rw_verify_area+0xe5/0x2b0 [ 19.931839] [] vfs_read+0x11e/0x380 [ 19.938837] [] SyS_read+0xd9/0x1b0 [ 19.944713] [] ? vfs_copy_file_range+0x740/0x740 [ 19.951110] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.957924] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.964482] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.971032] [ 19.972632] Allocated by task 0: [ 19.975964] (stack is not available) [ 19.979642] [ 19.981241] Freed by task 0: [ 19.984227] (stack is not available) [ 19.987906] [ 19.989505] The buggy address belongs to the object at ffff8801c66c0100 [ 19.989505] which belongs to the cache fasync_cache of size 96 [ 20.002135] The buggy address is located 64 bytes inside of [ 20.002135] 96-byte region [ffff8801c66c0100, ffff8801c66c0160) [ 20.013809] The buggy address belongs to the page: [ 20.018712] page:ffffea000719b000 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.027380] flags: 0x8000000000000080(slab) [ 20.031675] page dumped because: kasan: bad access detected [ 20.037356] [ 20.038958] Memory state around the buggy address: [ 20.045079] ffff8801c66c0000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.052850] ffff8801c66c0080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.060197] >ffff8801c66c0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.069973] ^ [ 20.077224] ffff8801c66c0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.084557] ffff8801c66c0200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.091889] ================================================================== [ 20.099223] Disabling lock debugging due to kernel taint [ 20.104958] Kernel panic - not syncing: panic_on_warn set ... [ 20.104958] [ 20.112312] CPU: 0 PID: 3345 Comm: syzkaller050101 Tainted: G B 4.9.76-g8dec074 #13 [ 20.121208] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.130550] ffff8801c95dfa08 ffffffff81d93169 ffffffff84195c2f ffff8801c95dfae0 [ 20.138537] 0000000000000000 ffff8801c66c0140 ffff8801c93da338 ffff8801c95dfad0 [ 20.146521] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 20.154495] Call Trace: [ 20.157087] [] dump_stack+0xc1/0x128 [ 20.162428] [] panic+0x1bc/0x3a8 [ 20.167423] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.175633] [] ? preempt_schedule+0x25/0x30 [ 20.181586] [] ? ___preempt_schedule+0x16/0x18 [ 20.187976] [] kasan_end_report+0x50/0x50 [ 20.193751] [] kasan_report+0x167/0x360 [ 20.199357] [] ? sg_remove_request+0x103/0x120 [ 20.205568] [] __asan_report_load8_noabort+0x14/0x20 [ 20.212296] [] sg_remove_request+0x103/0x120 [ 20.218339] [] sg_finish_rem_req+0x295/0x340 [ 20.224376] [] sg_read+0xa1c/0x1440 [ 20.229635] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.236289] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.243299] [] ? fasync_helper+0x37/0xb0 [ 20.248989] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.255638] [] __vfs_read+0x103/0x670 [ 20.261067] [] ? default_llseek+0x290/0x290 [ 20.267015] [] ? fsnotify+0x86/0xf30 [ 20.272354] [] ? fsnotify+0xf30/0xf30 [ 20.277785] [] ? avc_policy_seqno+0x9/0x20 [ 20.283649] [] ? selinux_file_permission+0x82/0x460 [ 20.290291] [] ? security_file_permission+0x89/0x1e0 [ 20.297027] [] ? rw_verify_area+0xe5/0x2b0 [ 20.303702] [] vfs_read+0x11e/0x380 [ 20.308957] [] SyS_read+0xd9/0x1b0 [ 20.314123] [] ? vfs_copy_file_range+0x740/0x740 [ 20.320512] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.327334] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.333899] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.341172] Dumping ftrace buffer: [ 20.344694] (ftrace buffer empty) [ 20.348378] Kernel Offset: disabled [ 20.351987] Rebooting in 86400 seconds..