[....] Starting enhanced syslogd: rsyslogd[ 13.217376] audit: type=1400 audit(1515614725.327:4): avc: denied { syslog } for pid=3178 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.15' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.801494] ================================================================== [ 27.808870] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.815940] Read of size 8 at addr ffff8801c8fd7140 by task syzkaller241258/3334 [ 27.823438] [ 27.825036] CPU: 1 PID: 3334 Comm: syzkaller241258 Not tainted 4.9.76-g9154940 #20 [ 27.832709] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.842029] ffff8801c8edfa50 ffffffff81d93149 ffffea000723f5c0 ffff8801c8fd7140 [ 27.849984] 0000000000000000 ffff8801c8fd7140 ffff8801c9acc438 ffff8801c8edfa88 [ 27.857928] ffffffff8153cb43 ffff8801c8fd7140 0000000000000008 0000000000000000 [ 27.865903] Call Trace: [ 27.868460] [] dump_stack+0xc1/0x128 [ 27.873803] [] print_address_description+0x73/0x280 [ 27.880439] [] kasan_report+0x275/0x360 [ 27.886037] [] ? sg_remove_request+0x103/0x120 [ 27.892235] [] __asan_report_load8_noabort+0x14/0x20 [ 27.898950] [] sg_remove_request+0x103/0x120 [ 27.904970] [] sg_finish_rem_req+0x295/0x340 [ 27.910993] [] sg_read+0xa1c/0x1440 [ 27.916232] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.922601] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.929231] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.935167] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.941533] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.948163] [] __vfs_read+0x103/0x670 [ 27.953578] [] ? default_llseek+0x290/0x290 [ 27.959513] [] ? fsnotify+0x86/0xf30 [ 27.964842] [] ? fsnotify+0xf30/0xf30 [ 27.970258] [] ? avc_policy_seqno+0x9/0x20 [ 27.976104] [] ? selinux_file_permission+0x82/0x460 [ 27.982735] [] ? security_file_permission+0x89/0x1e0 [ 27.989456] [] ? rw_verify_area+0xe5/0x2b0 [ 27.995303] [] vfs_read+0x11e/0x380 [ 28.000544] [] SyS_read+0xd9/0x1b0 [ 28.005700] [] ? vfs_copy_file_range+0x740/0x740 [ 28.012070] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.018178] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.024376] [] ? vfs_copy_file_range+0x740/0x740 [ 28.030749] [] do_fast_syscall_32+0x2f7/0x890 [ 28.036857] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.043488] [] entry_SYSENTER_compat+0x74/0x83 [ 28.049682] [ 28.051282] Allocated by task 0: [ 28.054610] (stack is not available) [ 28.058283] [ 28.059876] Freed by task 0: [ 28.062857] (stack is not available) [ 28.066532] [ 28.068124] The buggy address belongs to the object at ffff8801c8fd7100 [ 28.068124] which belongs to the cache fasync_cache of size 96 [ 28.080747] The buggy address is located 64 bytes inside of [ 28.080747] 96-byte region [ffff8801c8fd7100, ffff8801c8fd7160) [ 28.092582] The buggy address belongs to the page: [ 28.097476] page:ffffea000723f5c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.105695] flags: 0x8000000000000080(slab) [ 28.109990] page dumped because: kasan: bad access detected [ 28.115669] [ 28.117259] Memory state around the buggy address: [ 28.122152] ffff8801c8fd7000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.129475] ffff8801c8fd7080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.136796] >ffff8801c8fd7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.144132] ^ [ 28.149547] ffff8801c8fd7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.156868] ffff8801c8fd7200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.164195] ================================================================== [ 28.171514] Disabling lock debugging due to kernel taint [ 28.177097] Kernel panic - not syncing: panic_on_warn set ... [ 28.177097] [ 28.184431] CPU: 1 PID: 3334 Comm: syzkaller241258 Tainted: G B 4.9.76-g9154940 #20 [ 28.193322] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.202642] ffff8801c8edf9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8edfa80 [ 28.210599] 0000000000000000 ffff8801c8fd7140 ffff8801c9acc438 ffff8801c8edfa70 [ 28.218545] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.226503] Call Trace: [ 28.229058] [] dump_stack+0xc1/0x128 [ 28.234388] [] panic+0x1bc/0x3a8 [ 28.239371] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.247574] [] ? preempt_schedule+0x25/0x30 [ 28.253510] [] ? ___preempt_schedule+0x16/0x18 [ 28.259706] [] kasan_end_report+0x50/0x50 [ 28.265470] [] kasan_report+0x167/0x360 [ 28.271058] [] ? sg_remove_request+0x103/0x120 [ 28.277255] [] __asan_report_load8_noabort+0x14/0x20 [ 28.283971] [] sg_remove_request+0x103/0x120 [ 28.289993] [] sg_finish_rem_req+0x295/0x340 [ 28.296014] [] sg_read+0xa1c/0x1440 [ 28.301256] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.307625] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.314257] [] ? _raw_spin_unlock+0x2c/0x50 [ 28.320193] [] ? fasync_insert_entry+0x147/0x2e0 [ 28.326564] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.333195] [] __vfs_read+0x103/0x670 [ 28.338613] [] ? default_llseek+0x290/0x290 [ 28.344549] [] ? fsnotify+0x86/0xf30 [ 28.349876] [] ? fsnotify+0xf30/0xf30 [ 28.355299] [] ? avc_policy_seqno+0x9/0x20 [ 28.361148] [] ? selinux_file_permission+0x82/0x460 [ 28.367776] [] ? security_file_permission+0x89/0x1e0 [ 28.374495] [] ? rw_verify_area+0xe5/0x2b0 [ 28.380346] [] vfs_read+0x11e/0x380 [ 28.385585] [] SyS_read+0xd9/0x1b0 [ 28.390828] [] ? vfs_copy_file_range+0x740/0x740 [ 28.397197] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 28.403307] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.409501] [] ? vfs_copy_file_range+0x740/0x740 [ 28.415868] [] do_fast_syscall_32+0x2f7/0x890 [ 28.421976] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.428608] [] entry_SYSENTER_compat+0x74/0x83 [ 28.434848] Dumping ftrace buffer: [ 28.438352] (ftrace buffer empty) [ 28.442027] Kernel Offset: disabled [ 28.445618] Rebooting in 86400 seconds..