[....] Starting enhanced syslogd: rsyslogd[ 13.264358] audit: type=1400 audit(1517469792.631:4): avc: denied { syslog } for pid=3794 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.4' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.273591] ================================================================== [ 27.281005] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.288076] Read of size 8 at addr ffff8801c4e78140 by task syzkaller464415/3952 [ 27.295578] [ 27.297180] CPU: 0 PID: 3952 Comm: syzkaller464415 Not tainted 4.9.79-g71f1469 #25 [ 27.304855] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.314194] ffff8801d4f07ab0 ffffffff81d94829 ffffea0007139e00 ffff8801c4e78140 [ 27.322169] 0000000000000000 ffff8801c4e78140 ffff8801d6f3c438 ffff8801d4f07ae8 [ 27.330141] ffffffff8153e083 ffff8801c4e78140 0000000000000008 0000000000000000 [ 27.338109] Call Trace: [ 27.340682] [] dump_stack+0xc1/0x128 [ 27.346028] [] print_address_description+0x73/0x280 [ 27.352667] [] kasan_report+0x275/0x360 [ 27.358260] [] ? sg_remove_request+0x103/0x120 [ 27.364463] [] __asan_report_load8_noabort+0x14/0x20 [ 27.371187] [] sg_remove_request+0x103/0x120 [ 27.377215] [] sg_finish_rem_req+0x295/0x340 [ 27.383242] [] sg_read+0xa16/0x1440 [ 27.388489] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.395126] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.402110] [] ? fasync_helper+0x37/0xb0 [ 27.407793] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.414447] [] __vfs_read+0x103/0x670 [ 27.419870] [] ? default_llseek+0x290/0x290 [ 27.425811] [] ? fsnotify+0x86/0xf30 [ 27.431149] [] ? fsnotify+0xf30/0xf30 [ 27.436571] [] ? avc_policy_seqno+0x9/0x20 [ 27.442426] [] ? selinux_file_permission+0x82/0x460 [ 27.449065] [] ? security_file_permission+0x89/0x1e0 [ 27.456313] [] ? rw_verify_area+0xe5/0x2b0 [ 27.462168] [] vfs_read+0x11e/0x380 [ 27.467413] [] SyS_read+0xd9/0x1b0 [ 27.472571] [] ? vfs_copy_file_range+0x740/0x740 [ 27.478947] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.485755] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.492311] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.498872] [ 27.500473] Allocated by task 0: [ 27.503805] (stack is not available) [ 27.507485] [ 27.509080] Freed by task 0: [ 27.512064] (stack is not available) [ 27.515752] [ 27.517352] The buggy address belongs to the object at ffff8801c4e78100 [ 27.517352] which belongs to the cache fasync_cache of size 96 [ 27.529977] The buggy address is located 64 bytes inside of [ 27.529977] 96-byte region [ffff8801c4e78100, ffff8801c4e78160) [ 27.541646] The buggy address belongs to the page: [ 27.546545] page:ffffea0007139e00 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.554787] flags: 0x8000000000000080(slab) [ 27.559078] page dumped because: kasan: bad access detected [ 27.564754] [ 27.566350] Memory state around the buggy address: [ 27.571262] ffff8801c4e78000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.578591] ffff8801c4e78080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.585922] >ffff8801c4e78100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.593250] ^ [ 27.598669] ffff8801c4e78180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.605997] ffff8801c4e78200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.613326] ================================================================== [ 27.620653] Disabling lock debugging due to kernel taint [ 27.626297] Kernel panic - not syncing: panic_on_warn set ... [ 27.626297] [ 27.633640] CPU: 0 PID: 3952 Comm: syzkaller464415 Tainted: G B 4.9.79-g71f1469 #25 [ 27.642965] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.652294] ffff8801d4f07a08 ffffffff81d94829 ffffffff8419709f ffff8801d4f07ae0 [ 27.660273] 0000000000000000 ffff8801c4e78140 ffff8801d6f3c438 ffff8801d4f07ad0 [ 27.668246] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 27.676221] Call Trace: [ 27.678783] [] dump_stack+0xc1/0x128 [ 27.684119] [] panic+0x1bc/0x3a8 [ 27.689103] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.697301] [] ? preempt_schedule+0x25/0x30 [ 27.703243] [] ? ___preempt_schedule+0x16/0x18 [ 27.709458] [] kasan_end_report+0x50/0x50 [ 27.715223] [] kasan_report+0x167/0x360 [ 27.720826] [] ? sg_remove_request+0x103/0x120 [ 27.727027] [] __asan_report_load8_noabort+0x14/0x20 [ 27.733750] [] sg_remove_request+0x103/0x120 [ 27.739802] [] sg_finish_rem_req+0x295/0x340 [ 27.745849] [] sg_read+0xa16/0x1440 [ 27.751306] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.757946] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.764941] [] ? fasync_helper+0x37/0xb0 [ 27.770635] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.777272] [] __vfs_read+0x103/0x670 [ 27.782694] [] ? default_llseek+0x290/0x290 [ 27.788651] [] ? fsnotify+0x86/0xf30 [ 27.793982] [] ? fsnotify+0xf30/0xf30 [ 27.799403] [] ? avc_policy_seqno+0x9/0x20 [ 27.805255] [] ? selinux_file_permission+0x82/0x460 [ 27.811889] [] ? security_file_permission+0x89/0x1e0 [ 27.818612] [] ? rw_verify_area+0xe5/0x2b0 [ 27.824464] [] vfs_read+0x11e/0x380 [ 27.829712] [] SyS_read+0xd9/0x1b0 [ 27.834873] [] ? vfs_copy_file_range+0x740/0x740 [ 27.841252] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.848064] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.854616] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.861568] Dumping ftrace buffer: [ 27.865079] (ftrace buffer empty) [ 27.868761] Kernel Offset: disabled [ 27.872359] Rebooting in 86400 seconds..