[....] Starting enhanced syslogd: rsyslogd[ 11.745732] audit: type=1400 audit(1515734945.299:4): avc: denied { syslog } for pid=3176 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.60' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.471693] ================================================================== [ 20.479072] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.486135] Read of size 8 at addr ffff8801c9294140 by task syzkaller224208/3325 [ 20.493628] [ 20.495225] CPU: 0 PID: 3325 Comm: syzkaller224208 Not tainted 4.9.76-g9154940 #10 [ 20.502899] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.512220] ffff8801cb497ab0 ffffffff81d93149 ffffea000724a500 ffff8801c9294140 [ 20.520177] 0000000000000000 ffff8801c9294140 ffff8801c8e72338 ffff8801cb497ae8 [ 20.528135] ffffffff8153cb43 ffff8801c9294140 0000000000000008 0000000000000000 [ 20.536080] Call Trace: [ 20.538634] [] dump_stack+0xc1/0x128 [ 20.543963] [] print_address_description+0x73/0x280 [ 20.550593] [] kasan_report+0x275/0x360 [ 20.556182] [] ? sg_remove_request+0x103/0x120 [ 20.562379] [] __asan_report_load8_noabort+0x14/0x20 [ 20.569792] [] sg_remove_request+0x103/0x120 [ 20.575819] [] sg_finish_rem_req+0x295/0x340 [ 20.581839] [] sg_read+0xa1c/0x1440 [ 20.587088] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.593722] [] ? fasync_insert_entry+0x147/0x2e0 [ 20.600094] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.606726] [] __vfs_read+0x103/0x670 [ 20.612141] [] ? default_llseek+0x290/0x290 [ 20.618090] [] ? fsnotify+0x86/0xf30 [ 20.623414] [] ? fsnotify+0xf30/0xf30 [ 20.628831] [] ? avc_policy_seqno+0x9/0x20 [ 20.634678] [] ? selinux_file_permission+0x82/0x460 [ 20.641310] [] ? security_file_permission+0x89/0x1e0 [ 20.648026] [] ? rw_verify_area+0xe5/0x2b0 [ 20.653881] [] vfs_read+0x11e/0x380 [ 20.659123] [] SyS_read+0xd9/0x1b0 [ 20.664277] [] ? vfs_copy_file_range+0x740/0x740 [ 20.670651] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.677457] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.684000] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.690554] [ 20.692146] Allocated by task 0: [ 20.695475] (stack is not available) [ 20.699148] [ 20.700738] Freed by task 0: [ 20.703723] (stack is not available) [ 20.707399] [ 20.708989] The buggy address belongs to the object at ffff8801c9294100 [ 20.708989] which belongs to the cache fasync_cache of size 96 [ 20.721608] The buggy address is located 64 bytes inside of [ 20.721608] 96-byte region [ffff8801c9294100, ffff8801c9294160) [ 20.733271] The buggy address belongs to the page: [ 20.738166] page:ffffea000724a500 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.746384] flags: 0x8000000000000080(slab) [ 20.750666] page dumped because: kasan: bad access detected [ 20.756337] [ 20.757928] Memory state around the buggy address: [ 20.762821] ffff8801c9294000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.770150] ffff8801c9294080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.777474] >ffff8801c9294100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.784796] ^ [ 20.790210] ffff8801c9294180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.797535] ffff8801c9294200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.804856] ================================================================== [ 20.812177] Disabling lock debugging due to kernel taint [ 20.817959] Kernel panic - not syncing: panic_on_warn set ... [ 20.817959] [ 20.825309] CPU: 0 PID: 3325 Comm: syzkaller224208 Tainted: G B 4.9.76-g9154940 #10 [ 20.834201] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.843534] ffff8801cb497a08 ffffffff81d93149 ffffffff84195c17 ffff8801cb497ae0 [ 20.851477] 0000000000000000 ffff8801c9294140 ffff8801c8e72338 ffff8801cb497ad0 [ 20.859425] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 20.867370] Call Trace: [ 20.869922] [] dump_stack+0xc1/0x128 [ 20.875257] [] panic+0x1bc/0x3a8 [ 20.880238] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.888430] [] ? preempt_schedule+0x25/0x30 [ 20.894364] [] ? ___preempt_schedule+0x16/0x18 [ 20.900559] [] kasan_end_report+0x50/0x50 [ 20.906323] [] kasan_report+0x167/0x360 [ 20.911910] [] ? sg_remove_request+0x103/0x120 [ 20.918106] [] __asan_report_load8_noabort+0x14/0x20 [ 20.924826] [] sg_remove_request+0x103/0x120 [ 20.930849] [] sg_finish_rem_req+0x295/0x340 [ 20.936959] [] sg_read+0xa1c/0x1440 [ 20.942199] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.948833] [] ? fasync_insert_entry+0x147/0x2e0 [ 20.955205] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.961841] [] __vfs_read+0x103/0x670 [ 20.967260] [] ? default_llseek+0x290/0x290 [ 20.973196] [] ? fsnotify+0x86/0xf30 [ 20.978524] [] ? fsnotify+0xf30/0xf30 [ 20.983954] [] ? avc_policy_seqno+0x9/0x20 [ 20.989803] [] ? selinux_file_permission+0x82/0x460 [ 20.996434] [] ? security_file_permission+0x89/0x1e0 [ 21.003158] [] ? rw_verify_area+0xe5/0x2b0 [ 21.009016] [] vfs_read+0x11e/0x380 [ 21.014255] [] SyS_read+0xd9/0x1b0 [ 21.019410] [] ? vfs_copy_file_range+0x740/0x740 [ 21.025783] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 21.032595] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 21.039140] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 21.046112] Dumping ftrace buffer: [ 21.049617] (ftrace buffer empty) [ 21.053293] Kernel Offset: disabled [ 21.056884] Rebooting in 86400 seconds..