[....] Starting enhanced syslogd: rsyslogd[ 10.970349] audit: type=1400 audit(1515997690.732:4): avc: denied { syslog } for pid=3178 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.15.213' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 31.736462] ================================================================== [ 31.737618] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 31.738652] Read of size 8 at addr ffff8801caae1140 by task syzkaller579947/3344 [ 31.739676] [ 31.739996] CPU: 1 PID: 3344 Comm: syzkaller579947 Not tainted 4.9.76-gf0f6293 #12 [ 31.741089] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.742392] ffff8801cb567ab0 ffffffff81d93149 ffffea00072ab840 ffff8801caae1140 [ 31.743764] 0000000000000000 ffff8801caae1140 ffff8801c832a338 ffff8801cb567ae8 [ 31.745147] ffffffff8153cb43 ffff8801caae1140 0000000000000008 0000000000000000 [ 31.746472] Call Trace: [ 31.747021] [] dump_stack+0xc1/0x128 [ 31.747823] [] print_address_description+0x73/0x280 [ 31.748940] [] kasan_report+0x275/0x360 [ 31.749766] [] ? sg_remove_request+0x103/0x120 [ 31.750765] [] __asan_report_load8_noabort+0x14/0x20 [ 31.751812] [] sg_remove_request+0x103/0x120 [ 31.752715] [] sg_finish_rem_req+0x295/0x340 [ 31.753632] [] sg_read+0xa1c/0x1440 [ 31.754412] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.755392] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 31.756439] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.762365] [] __vfs_read+0x103/0x670 [ 31.767792] [] ? default_llseek+0x290/0x290 [ 31.773750] [] ? fsnotify+0x86/0xf30 [ 31.779084] [] ? fsnotify+0xf30/0xf30 [ 31.784517] [] ? avc_policy_seqno+0x9/0x20 [ 31.790376] [] ? selinux_file_permission+0x82/0x460 [ 31.797011] [] ? security_file_permission+0x89/0x1e0 [ 31.803744] [] ? rw_verify_area+0xe5/0x2b0 [ 31.809600] [] vfs_read+0x11e/0x380 [ 31.814849] [] SyS_read+0xd9/0x1b0 [ 31.820011] [] ? vfs_copy_file_range+0x740/0x740 [ 31.826387] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.833197] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.839772] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.846492] [ 31.848092] Allocated by task 0: [ 31.851427] (stack is not available) [ 31.855106] [ 31.856702] Freed by task 0: [ 31.859696] (stack is not available) [ 31.863375] [ 31.864975] The buggy address belongs to the object at ffff8801caae1100 [ 31.864975] which belongs to the cache fasync_cache of size 96 [ 31.877689] The buggy address is located 64 bytes inside of [ 31.877689] 96-byte region [ffff8801caae1100, ffff8801caae1160) [ 31.889357] The buggy address belongs to the page: [ 31.894258] page:ffffea00072ab840 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.902500] flags: 0x8000000000000080(slab) [ 31.906790] page dumped because: kasan: bad access detected [ 31.912468] [ 31.914067] Memory state around the buggy address: [ 31.918966] ffff8801caae1000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.926318] ffff8801caae1080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.933655] >ffff8801caae1100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.941537] ^ [ 31.946983] ffff8801caae1180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.954333] ffff8801caae1200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.961662] ================================================================== [ 31.968990] Disabling lock debugging due to kernel taint [ 31.976047] Kernel panic - not syncing: panic_on_warn set ... [ 31.976047] [ 31.983406] CPU: 1 PID: 3344 Comm: syzkaller579947 Tainted: G B 4.9.76-gf0f6293 #12 [ 31.992300] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.001627] ffff8801cb567a08 ffffffff81d93149 ffffffff84195c17 ffff8801cb567ae0 [ 32.009610] 0000000000000000 ffff8801caae1140 ffff8801c832a338 ffff8801cb567ad0 [ 32.017591] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 32.025572] Call Trace: [ 32.028131] [] dump_stack+0xc1/0x128 [ 32.033473] [] panic+0x1bc/0x3a8 [ 32.038462] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 32.046663] [] ? preempt_schedule+0x25/0x30 [ 32.052608] [] ? ___preempt_schedule+0x16/0x18 [ 32.058812] [] kasan_end_report+0x50/0x50 [ 32.064578] [] kasan_report+0x167/0x360 [ 32.070183] [] ? sg_remove_request+0x103/0x120 [ 32.076386] [] __asan_report_load8_noabort+0x14/0x20 [ 32.083113] [] sg_remove_request+0x103/0x120 [ 32.089145] [] sg_finish_rem_req+0x295/0x340 [ 32.095172] [] sg_read+0xa1c/0x1440 [ 32.100420] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.107060] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 32.114047] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.120702] [] __vfs_read+0x103/0x670 [ 32.126122] [] ? default_llseek+0x290/0x290 [ 32.132066] [] ? fsnotify+0x86/0xf30 [ 32.137407] [] ? fsnotify+0xf30/0xf30 [ 32.142828] [] ? avc_policy_seqno+0x9/0x20 [ 32.148680] [] ? selinux_file_permission+0x82/0x460 [ 32.155317] [] ? security_file_permission+0x89/0x1e0 [ 32.162040] [] ? rw_verify_area+0xe5/0x2b0 [ 32.167910] [] vfs_read+0x11e/0x380 [ 32.173174] [] SyS_read+0xd9/0x1b0 [ 32.178430] [] ? vfs_copy_file_range+0x740/0x740 [ 32.184807] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 32.191616] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.198164] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 32.205137] Dumping ftrace buffer: [ 32.208665] (ftrace buffer empty) [ 32.212355] Kernel Offset: disabled [ 32.215959] Rebooting in 86400 seconds..