[....] Starting enhanced syslogd: rsyslogd[ 12.374541] audit: type=1400 audit(1515931819.984:4): avc: denied { syslog } for pid=3167 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.21' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.923358] ================================================================== [ 19.930739] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.937822] Read of size 8 at addr ffff8801c3302140 by task syzkaller678025/3317 [ 19.945321] [ 19.946920] CPU: 1 PID: 3317 Comm: syzkaller678025 Not tainted 4.9.76-gf0f6293 #12 [ 19.954602] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.963927] ffff8801c9c17ab0 ffffffff81d93149 ffffea00070cc080 ffff8801c3302140 [ 19.971905] 0000000000000000 ffff8801c3302140 ffff8801c968a338 ffff8801c9c17ae8 [ 19.979869] ffffffff8153cb43 ffff8801c3302140 0000000000000008 0000000000000000 [ 19.987836] Call Trace: [ 19.990397] [] dump_stack+0xc1/0x128 [ 19.995731] [] print_address_description+0x73/0x280 [ 20.002365] [] kasan_report+0x275/0x360 [ 20.007971] [] ? sg_remove_request+0x103/0x120 [ 20.014176] [] __asan_report_load8_noabort+0x14/0x20 [ 20.020898] [] sg_remove_request+0x103/0x120 [ 20.026924] [] sg_finish_rem_req+0x295/0x340 [ 20.032950] [] sg_read+0xa1c/0x1440 [ 20.038199] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.044847] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.051838] [] ? fasync_helper+0x37/0xb0 [ 20.057520] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.064156] [] __vfs_read+0x103/0x670 [ 20.069586] [] ? default_llseek+0x290/0x290 [ 20.075529] [] ? fsnotify+0x86/0xf30 [ 20.080862] [] ? fsnotify+0xf30/0xf30 [ 20.086285] [] ? avc_policy_seqno+0x9/0x20 [ 20.092143] [] ? selinux_file_permission+0x82/0x460 [ 20.098780] [] ? security_file_permission+0x89/0x1e0 [ 20.105512] [] ? rw_verify_area+0xe5/0x2b0 [ 20.111363] [] vfs_read+0x11e/0x380 [ 20.116610] [] SyS_read+0xd9/0x1b0 [ 20.121769] [] ? vfs_copy_file_range+0x740/0x740 [ 20.128146] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.134957] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.141511] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.148055] [ 20.149653] Allocated by task 0: [ 20.152982] (stack is not available) [ 20.156660] [ 20.158254] Freed by task 0: [ 20.161238] (stack is not available) [ 20.164919] [ 20.166521] The buggy address belongs to the object at ffff8801c3302100 [ 20.166521] which belongs to the cache fasync_cache of size 96 [ 20.179146] The buggy address is located 64 bytes inside of [ 20.179146] 96-byte region [ffff8801c3302100, ffff8801c3302160) [ 20.190815] The buggy address belongs to the page: [ 20.195714] page:ffffea00070cc080 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.203937] flags: 0x8000000000000080(slab) [ 20.208229] page dumped because: kasan: bad access detected [ 20.213907] [ 20.215509] Memory state around the buggy address: [ 20.220406] ffff8801c3302000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.227733] ffff8801c3302080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.235068] >ffff8801c3302100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.242401] ^ [ 20.247820] ffff8801c3302180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.255147] ffff8801c3302200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.262475] ================================================================== [ 20.269803] Disabling lock debugging due to kernel taint [ 20.275490] Kernel panic - not syncing: panic_on_warn set ... [ 20.275490] [ 20.282846] CPU: 1 PID: 3317 Comm: syzkaller678025 Tainted: G B 4.9.76-gf0f6293 #12 [ 20.291740] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.301079] ffff8801c9c17a08 ffffffff81d93149 ffffffff84195c17 ffff8801c9c17ae0 [ 20.309833] 0000000000000000 ffff8801c3302140 ffff8801c968a338 ffff8801c9c17ad0 [ 20.317801] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 20.325761] Call Trace: [ 20.328329] [] dump_stack+0xc1/0x128 [ 20.333663] [] panic+0x1bc/0x3a8 [ 20.338655] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.346855] [] ? preempt_schedule+0x25/0x30 [ 20.352804] [] ? ___preempt_schedule+0x16/0x18 [ 20.359006] [] kasan_end_report+0x50/0x50 [ 20.364774] [] kasan_report+0x167/0x360 [ 20.370368] [] ? sg_remove_request+0x103/0x120 [ 20.376573] [] __asan_report_load8_noabort+0x14/0x20 [ 20.383297] [] sg_remove_request+0x103/0x120 [ 20.389327] [] sg_finish_rem_req+0x295/0x340 [ 20.395355] [] sg_read+0xa1c/0x1440 [ 20.400602] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.407239] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.414221] [] ? fasync_helper+0x37/0xb0 [ 20.419908] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.426546] [] __vfs_read+0x103/0x670 [ 20.431966] [] ? default_llseek+0x290/0x290 [ 20.437908] [] ? fsnotify+0x86/0xf30 [ 20.443238] [] ? fsnotify+0xf30/0xf30 [ 20.448659] [] ? avc_policy_seqno+0x9/0x20 [ 20.454512] [] ? selinux_file_permission+0x82/0x460 [ 20.461146] [] ? security_file_permission+0x89/0x1e0 [ 20.467877] [] ? rw_verify_area+0xe5/0x2b0 [ 20.473743] [] vfs_read+0x11e/0x380 [ 20.478989] [] SyS_read+0xd9/0x1b0 [ 20.484154] [] ? vfs_copy_file_range+0x740/0x740 [ 20.490531] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.497342] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.503901] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.510917] Dumping ftrace buffer: [ 20.514429] (ftrace buffer empty) [ 20.518109] Kernel Offset: disabled [ 20.521705] Rebooting in 86400 seconds..