[....] Starting enhanced syslogd: rsyslogd[ 11.526090] audit: type=1400 audit(1515691330.694:4): avc: denied { syslog } for pid=3174 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.0.12' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.486542] ================================================================== [ 19.487632] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.488564] Read of size 8 at addr ffff8801cd294140 by task syzkaller775880/3322 [ 19.489545] [ 19.489777] CPU: 1 PID: 3322 Comm: syzkaller775880 Not tainted 4.9.76-g9154940 #10 [ 19.490808] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.492123] ffff8801c8af7ab0 ffffffff81d93149 ffffea000734a500 ffff8801cd294140 [ 19.493253] 0000000000000000 ffff8801cd294140 ffff8801c9302338 ffff8801c8af7ae8 [ 19.494385] ffffffff8153cb43 ffff8801cd294140 0000000000000008 0000000000000000 [ 19.495507] Call Trace: [ 19.495867] [] dump_stack+0xc1/0x128 [ 19.496594] [] print_address_description+0x73/0x280 [ 19.497471] [] kasan_report+0x275/0x360 [ 19.498212] [] ? sg_remove_request+0x103/0x120 [ 19.499034] [] __asan_report_load8_noabort+0x14/0x20 [ 19.499922] [] sg_remove_request+0x103/0x120 [ 19.500743] [] sg_finish_rem_req+0x295/0x340 [ 19.501550] [] sg_read+0xa1c/0x1440 [ 19.502247] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.503236] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.504171] [] ? fasync_helper+0x37/0xb0 [ 19.504923] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.505798] [] __vfs_read+0x103/0x670 [ 19.506516] [] ? default_llseek+0x290/0x290 [ 19.511649] [] ? fsnotify+0x86/0xf30 [ 19.516975] [] ? fsnotify+0xf30/0xf30 [ 19.522395] [] ? avc_policy_seqno+0x9/0x20 [ 19.528247] [] ? selinux_file_permission+0x82/0x460 [ 19.534881] [] ? security_file_permission+0x89/0x1e0 [ 19.541607] [] ? rw_verify_area+0xe5/0x2b0 [ 19.547466] [] vfs_read+0x11e/0x380 [ 19.552708] [] SyS_read+0xd9/0x1b0 [ 19.557867] [] ? vfs_copy_file_range+0x740/0x740 [ 19.564240] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.571050] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.577599] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.584147] [ 19.585740] Allocated by task 0: [ 19.589069] (stack is not available) [ 19.592743] [ 19.594334] Freed by task 0: [ 19.597314] (stack is not available) [ 19.600988] [ 19.602581] The buggy address belongs to the object at ffff8801cd294100 [ 19.602581] which belongs to the cache fasync_cache of size 96 [ 19.615200] The buggy address is located 64 bytes inside of [ 19.615200] 96-byte region [ffff8801cd294100, ffff8801cd294160) [ 19.626867] The buggy address belongs to the page: [ 19.631768] page:ffffea000734a500 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.640002] flags: 0x8000000000000080(slab) [ 19.644301] page dumped because: kasan: bad access detected [ 19.649979] [ 19.651570] Memory state around the buggy address: [ 19.656472] ffff8801cd294000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.663796] ffff8801cd294080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.671122] >ffff8801cd294100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.678446] ^ [ 19.683871] ffff8801cd294180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.691196] ffff8801cd294200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.698519] ================================================================== [ 19.705846] Disabling lock debugging due to kernel taint [ 19.711937] Kernel panic - not syncing: panic_on_warn set ... [ 19.711937] [ 19.719297] CPU: 1 PID: 3322 Comm: syzkaller775880 Tainted: G B 4.9.76-g9154940 #10 [ 19.728190] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.737517] ffff8801c8af7a08 ffffffff81d93149 ffffffff84195c17 ffff8801c8af7ae0 [ 19.745483] 0000000000000000 ffff8801cd294140 ffff8801c9302338 ffff8801c8af7ad0 [ 19.753436] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 19.761383] Call Trace: [ 19.763941] [] dump_stack+0xc1/0x128 [ 19.769295] [] panic+0x1bc/0x3a8 [ 19.774280] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.782478] [] ? preempt_schedule+0x25/0x30 [ 19.788415] [] ? ___preempt_schedule+0x16/0x18 [ 19.794619] [] kasan_end_report+0x50/0x50 [ 19.800384] [] kasan_report+0x167/0x360 [ 19.805987] [] ? sg_remove_request+0x103/0x120 [ 19.812187] [] __asan_report_load8_noabort+0x14/0x20 [ 19.818905] [] sg_remove_request+0x103/0x120 [ 19.824930] [] sg_finish_rem_req+0x295/0x340 [ 19.830957] [] sg_read+0xa1c/0x1440 [ 19.836204] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.842841] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.849823] [] ? fasync_helper+0x37/0xb0 [ 19.855501] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.862139] [] __vfs_read+0x103/0x670 [ 19.867556] [] ? default_llseek+0x290/0x290 [ 19.873493] [] ? fsnotify+0x86/0xf30 [ 19.878820] [] ? fsnotify+0xf30/0xf30 [ 19.884238] [] ? avc_policy_seqno+0x9/0x20 [ 19.890090] [] ? selinux_file_permission+0x82/0x460 [ 19.896727] [] ? security_file_permission+0x89/0x1e0 [ 19.903447] [] ? rw_verify_area+0xe5/0x2b0 [ 19.909295] [] vfs_read+0x11e/0x380 [ 19.914537] [] SyS_read+0xd9/0x1b0 [ 19.919694] [] ? vfs_copy_file_range+0x740/0x740 [ 19.926080] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.932890] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.939435] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.946443] Dumping ftrace buffer: [ 19.949956] (ftrace buffer empty) [ 19.953634] Kernel Offset: disabled [ 19.957234] Rebooting in 86400 seconds..