[....] Starting enhanced syslogd: rsyslogd[ 10.010155] audit: type=1400 audit(1515463465.373:4): avc: denied { syslog } for pid=3164 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.55' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 21.610695] ================================================================== [ 21.611816] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 21.612758] Read of size 8 at addr ffff8801cba20140 by task syzkaller126142/3326 [ 21.613752] [ 21.613985] CPU: 0 PID: 3326 Comm: syzkaller126142 Not tainted 4.9.75-gb54d99a #8 [ 21.614980] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.616214] ffff8801c0d37ab0 ffffffff81d93049 ffffea00072e8800 ffff8801cba20140 [ 21.617354] 0000000000000000 ffff8801cba20140 ffff8801c8d54438 ffff8801c0d37ae8 [ 21.618499] ffffffff8153ca53 ffff8801cba20140 0000000000000008 0000000000000000 [ 21.619641] Call Trace: [ 21.619999] [] dump_stack+0xc1/0x128 [ 21.620710] [] print_address_description+0x73/0x280 [ 21.621597] [] kasan_report+0x275/0x360 [ 21.622338] [] ? sg_remove_request+0x103/0x120 [ 21.623161] [] __asan_report_load8_noabort+0x14/0x20 [ 21.624048] [] sg_remove_request+0x103/0x120 [ 21.624845] [] sg_finish_rem_req+0x295/0x340 [ 21.625645] [] sg_read+0xa1c/0x1440 [ 21.626342] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.627222] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 21.628142] [] ? fasync_helper+0x37/0xb0 [ 21.628913] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.629792] [] __vfs_read+0x103/0x670 [ 21.630512] [] ? default_llseek+0x290/0x290 [ 21.634504] [] ? fsnotify+0x86/0xf30 [ 21.639843] [] ? fsnotify+0xf30/0xf30 [ 21.645261] [] ? avc_policy_seqno+0x9/0x20 [ 21.651112] [] ? selinux_file_permission+0x82/0x460 [ 21.657746] [] ? security_file_permission+0x89/0x1e0 [ 21.664465] [] ? rw_verify_area+0xe5/0x2b0 [ 21.670315] [] vfs_read+0x11e/0x380 [ 21.675556] [] SyS_read+0xd9/0x1b0 [ 21.680711] [] ? vfs_copy_file_range+0x740/0x740 [ 21.687097] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.693902] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 21.700452] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.706993] [ 21.708595] Allocated by task 0: [ 21.711924] (stack is not available) [ 21.715600] [ 21.717191] Freed by task 0: [ 21.720171] (stack is not available) [ 21.723845] [ 21.725437] The buggy address belongs to the object at ffff8801cba20100 [ 21.725437] which belongs to the cache fasync_cache of size 96 [ 21.738057] The buggy address is located 64 bytes inside of [ 21.738057] 96-byte region [ffff8801cba20100, ffff8801cba20160) [ 21.749720] The buggy address belongs to the page: [ 21.754625] page:ffffea00072e8800 count:1 mapcount:0 mapping: (null) index:0x0 [ 21.762855] flags: 0x8000000000000080(slab) [ 21.767138] page dumped because: kasan: bad access detected [ 21.772820] [ 21.774413] Memory state around the buggy address: [ 21.779305] ffff8801cba20000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 21.786629] ffff8801cba20080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.793961] >ffff8801cba20100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.801283] ^ [ 21.806697] ffff8801cba20180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.814019] ffff8801cba20200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.821342] ================================================================== [ 21.828662] Disabling lock debugging due to kernel taint [ 21.834388] Kernel panic - not syncing: panic_on_warn set ... [ 21.834388] [ 21.841725] CPU: 0 PID: 3326 Comm: syzkaller126142 Tainted: G B 4.9.75-gb54d99a #8 [ 21.850531] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 21.859865] ffff8801c0d37a08 ffffffff81d93049 ffffffff84195be7 ffff8801c0d37ae0 [ 21.867813] 0000000000000000 ffff8801cba20140 ffff8801c8d54438 ffff8801c0d37ad0 [ 21.875765] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 21.883715] Call Trace: [ 21.886274] [] dump_stack+0xc1/0x128 [ 21.891602] [] panic+0x1bc/0x3a8 [ 21.896594] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 21.904796] [] ? preempt_schedule+0x25/0x30 [ 21.910734] [] ? ___preempt_schedule+0x16/0x18 [ 21.916941] [] kasan_end_report+0x50/0x50 [ 21.922711] [] kasan_report+0x167/0x360 [ 21.928300] [] ? sg_remove_request+0x103/0x120 [ 21.934498] [] __asan_report_load8_noabort+0x14/0x20 [ 21.941214] [] sg_remove_request+0x103/0x120 [ 21.947236] [] sg_finish_rem_req+0x295/0x340 [ 21.953258] [] sg_read+0xa1c/0x1440 [ 21.958499] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.965141] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 21.972121] [] ? fasync_helper+0x37/0xb0 [ 21.977803] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 21.984444] [] __vfs_read+0x103/0x670 [ 21.989870] [] ? default_llseek+0x290/0x290 [ 21.995816] [] ? fsnotify+0x86/0xf30 [ 22.001146] [] ? fsnotify+0xf30/0xf30 [ 22.006562] [] ? avc_policy_seqno+0x9/0x20 [ 22.012411] [] ? selinux_file_permission+0x82/0x460 [ 22.019041] [] ? security_file_permission+0x89/0x1e0 [ 22.025757] [] ? rw_verify_area+0xe5/0x2b0 [ 22.031608] [] vfs_read+0x11e/0x380 [ 22.036849] [] SyS_read+0xd9/0x1b0 [ 22.042003] [] ? vfs_copy_file_range+0x740/0x740 [ 22.048376] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 22.055180] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.061727] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 22.068311] Dumping ftrace buffer: [ 22.071827] (ftrace buffer empty) [ 22.075511] Kernel Offset: disabled [ 22.079104] Rebooting in 86400 seconds..