[....] Starting enhanced syslogd: rsyslogd[ 15.072920] audit: type=1400 audit(1517548619.489:4): avc: denied { syslog } for pid=3898 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.8' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.847672] ================================================================== [ 26.855058] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.862129] Read of size 8 at addr ffff8801cac11140 by task syzkaller818751/4056 [ 26.869625] [ 26.871223] CPU: 0 PID: 4056 Comm: syzkaller818751 Not tainted 4.9.79-g71f1469 #25 [ 26.878894] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.888222] ffff8801d50d7ab0 ffffffff81d94829 ffffea00072b0440 ffff8801cac11140 [ 26.896228] 0000000000000000 ffff8801cac11140 ffff8801d436a338 ffff8801d50d7ae8 [ 26.904207] ffffffff8153e083 ffff8801cac11140 0000000000000008 0000000000000000 [ 26.912175] Call Trace: [ 26.914738] [] dump_stack+0xc1/0x128 [ 26.920075] [] print_address_description+0x73/0x280 [ 26.926707] [] kasan_report+0x275/0x360 [ 26.932300] [] ? sg_remove_request+0x103/0x120 [ 26.938500] [] __asan_report_load8_noabort+0x14/0x20 [ 26.945218] [] sg_remove_request+0x103/0x120 [ 26.951240] [] sg_finish_rem_req+0x295/0x340 [ 26.957264] [] sg_read+0xa16/0x1440 [ 26.962509] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.969146] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 26.976128] [] ? fasync_helper+0x37/0xb0 [ 26.981806] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.988438] [] __vfs_read+0x103/0x670 [ 26.993855] [] ? default_llseek+0x290/0x290 [ 26.999792] [] ? fsnotify+0x86/0xf30 [ 27.005121] [] ? fsnotify+0xf30/0xf30 [ 27.010538] [] ? avc_policy_seqno+0x9/0x20 [ 27.016389] [] ? selinux_file_permission+0x82/0x460 [ 27.023024] [] ? security_file_permission+0x89/0x1e0 [ 27.029743] [] ? rw_verify_area+0xe5/0x2b0 [ 27.035599] [] vfs_read+0x11e/0x380 [ 27.040845] [] SyS_read+0xd9/0x1b0 [ 27.046000] [] ? vfs_copy_file_range+0x740/0x740 [ 27.052374] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.059190] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.065739] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.072281] [ 27.073878] Allocated by task 0: [ 27.077210] (stack is not available) [ 27.080887] [ 27.082481] Freed by task 0: [ 27.085463] (stack is not available) [ 27.089142] [ 27.090740] The buggy address belongs to the object at ffff8801cac11100 [ 27.090740] which belongs to the cache fasync_cache of size 96 [ 27.103361] The buggy address is located 64 bytes inside of [ 27.103361] 96-byte region [ffff8801cac11100, ffff8801cac11160) [ 27.115027] The buggy address belongs to the page: [ 27.119925] page:ffffea00072b0440 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.128150] flags: 0x8000000000000080(slab) [ 27.132440] page dumped because: kasan: bad access detected [ 27.138120] [ 27.139714] Memory state around the buggy address: [ 27.144609] ffff8801cac11000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.151934] ffff8801cac11080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.159260] >ffff8801cac11100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.166584] ^ [ 27.172000] ffff8801cac11180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.179325] ffff8801cac11200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.186648] ================================================================== [ 27.193970] Disabling lock debugging due to kernel taint [ 27.199451] Kernel panic - not syncing: panic_on_warn set ... [ 27.199451] [ 27.206796] CPU: 0 PID: 4056 Comm: syzkaller818751 Tainted: G B 4.9.79-g71f1469 #25 [ 27.215685] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.225016] ffff8801d50d7a08 ffffffff81d94829 ffffffff8419709f ffff8801d50d7ae0 [ 27.232986] 0000000000000000 ffff8801cac11140 ffff8801d436a338 ffff8801d50d7ad0 [ 27.240951] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 27.248912] Call Trace: [ 27.251470] [] dump_stack+0xc1/0x128 [ 27.256801] [] panic+0x1bc/0x3a8 [ 27.261785] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.269989] [] ? preempt_schedule+0x25/0x30 [ 27.275928] [] ? ___preempt_schedule+0x16/0x18 [ 27.282128] [] kasan_end_report+0x50/0x50 [ 27.287892] [] kasan_report+0x167/0x360 [ 27.293487] [] ? sg_remove_request+0x103/0x120 [ 27.299692] [] __asan_report_load8_noabort+0x14/0x20 [ 27.306413] [] sg_remove_request+0x103/0x120 [ 27.312441] [] sg_finish_rem_req+0x295/0x340 [ 27.318466] [] sg_read+0xa16/0x1440 [ 27.323710] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.330343] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.337807] [] ? fasync_helper+0x37/0xb0 [ 27.343487] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.350120] [] __vfs_read+0x103/0x670 [ 27.355538] [] ? default_llseek+0x290/0x290 [ 27.361481] [] ? fsnotify+0x86/0xf30 [ 27.366810] [] ? fsnotify+0xf30/0xf30 [ 27.372235] [] ? avc_policy_seqno+0x9/0x20 [ 27.378089] [] ? selinux_file_permission+0x82/0x460 [ 27.384724] [] ? security_file_permission+0x89/0x1e0 [ 27.391443] [] ? rw_verify_area+0xe5/0x2b0 [ 27.397295] [] vfs_read+0x11e/0x380 [ 27.402538] [] SyS_read+0xd9/0x1b0 [ 27.407695] [] ? vfs_copy_file_range+0x740/0x740 [ 27.414070] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.420879] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.427427] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.434407] Dumping ftrace buffer: [ 27.437918] (ftrace buffer empty) [ 27.441595] Kernel Offset: disabled [ 27.445190] Rebooting in 86400 seconds..