[....] Starting enhanced syslogd: rsyslogd[ 10.969174] audit: type=1400 audit(1515782233.261:4): avc: denied { syslog } for pid=3174 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.62' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.651426] ================================================================== [ 19.652542] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.653487] Read of size 8 at addr ffff8801cb4ef140 by task syzkaller478393/3322 [ 19.654573] [ 19.654815] CPU: 0 PID: 3322 Comm: syzkaller478393 Not tainted 4.9.76-g8e170a5 #21 [ 19.655840] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.657135] ffff8801c9317a50 ffffffff81d93149 ffffea00072d3bc0 ffff8801cb4ef140 [ 19.658391] 0000000000000000 ffff8801cb4ef140 ffff8801c90d4438 ffff8801c9317a88 [ 19.659601] ffffffff8153cb43 ffff8801cb4ef140 0000000000000008 0000000000000000 [ 19.660819] Call Trace: [ 19.661180] [] dump_stack+0xc1/0x128 [ 19.661903] [] print_address_description+0x73/0x280 [ 19.662789] [] kasan_report+0x275/0x360 [ 19.663543] [] ? sg_remove_request+0x103/0x120 [ 19.664430] [] __asan_report_load8_noabort+0x14/0x20 [ 19.665343] [] sg_remove_request+0x103/0x120 [ 19.666190] [] sg_finish_rem_req+0x295/0x340 [ 19.667027] [] sg_read+0xa1c/0x1440 [ 19.667791] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.668669] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.669580] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.670365] [] ? fasync_insert_entry+0x147/0x2e0 [ 19.671233] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.676279] [] __vfs_read+0x103/0x670 [ 19.681727] [] ? default_llseek+0x290/0x290 [ 19.687697] [] ? fsnotify+0x86/0xf30 [ 19.693029] [] ? fsnotify+0xf30/0xf30 [ 19.698448] [] ? avc_policy_seqno+0x9/0x20 [ 19.704298] [] ? selinux_file_permission+0x82/0x460 [ 19.710933] [] ? security_file_permission+0x89/0x1e0 [ 19.717657] [] ? rw_verify_area+0xe5/0x2b0 [ 19.723532] [] vfs_read+0x11e/0x380 [ 19.728779] [] SyS_read+0xd9/0x1b0 [ 19.733948] [] ? vfs_copy_file_range+0x740/0x740 [ 19.740321] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 19.746435] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.752633] [] ? vfs_copy_file_range+0x740/0x740 [ 19.759003] [] do_fast_syscall_32+0x2f7/0x890 [ 19.765128] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.771850] [] entry_SYSENTER_compat+0x74/0x83 [ 19.778052] [ 19.779648] Allocated by task 0: [ 19.782974] (stack is not available) [ 19.786656] [ 19.788252] Freed by task 0: [ 19.791233] (stack is not available) [ 19.794913] [ 19.796506] The buggy address belongs to the object at ffff8801cb4ef100 [ 19.796506] which belongs to the cache fasync_cache of size 96 [ 19.809132] The buggy address is located 64 bytes inside of [ 19.809132] 96-byte region [ffff8801cb4ef100, ffff8801cb4ef160) [ 19.820799] The buggy address belongs to the page: [ 19.825700] page:ffffea00072d3bc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.833916] flags: 0x8000000000000080(slab) [ 19.838199] page dumped because: kasan: bad access detected [ 19.843874] [ 19.845467] Memory state around the buggy address: [ 19.850378] ffff8801cb4ef000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.857716] ffff8801cb4ef080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.865043] >ffff8801cb4ef100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.872374] ^ [ 19.877791] ffff8801cb4ef180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.885119] ffff8801cb4ef200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.892441] ================================================================== [ 19.899763] Disabling lock debugging due to kernel taint [ 19.905441] Kernel panic - not syncing: panic_on_warn set ... [ 19.905441] [ 19.912796] CPU: 0 PID: 3322 Comm: syzkaller478393 Tainted: G B 4.9.76-g8e170a5 #21 [ 19.921692] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.931022] ffff8801c93179a8 ffffffff81d93149 ffffffff84195c17 ffff8801c9317a80 [ 19.938982] 0000000000000000 ffff8801cb4ef140 ffff8801c90d4438 ffff8801c9317a70 [ 19.946932] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 19.954880] Call Trace: [ 19.957440] [] dump_stack+0xc1/0x128 [ 19.962771] [] panic+0x1bc/0x3a8 [ 19.967766] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.975966] [] ? preempt_schedule+0x25/0x30 [ 19.981904] [] ? ___preempt_schedule+0x16/0x18 [ 19.988105] [] kasan_end_report+0x50/0x50 [ 19.993867] [] kasan_report+0x167/0x360 [ 19.999459] [] ? sg_remove_request+0x103/0x120 [ 20.005657] [] __asan_report_load8_noabort+0x14/0x20 [ 20.012377] [] sg_remove_request+0x103/0x120 [ 20.018400] [] sg_finish_rem_req+0x295/0x340 [ 20.024429] [] sg_read+0xa1c/0x1440 [ 20.029675] [] ? __raw_spin_lock_init+0x1c/0x100 [ 20.036048] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.042687] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.048628] [] ? fasync_insert_entry+0x147/0x2e0 [ 20.055001] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.061635] [] __vfs_read+0x103/0x670 [ 20.067052] [] ? default_llseek+0x290/0x290 [ 20.073006] [] ? fsnotify+0x86/0xf30 [ 20.078334] [] ? fsnotify+0xf30/0xf30 [ 20.083753] [] ? avc_policy_seqno+0x9/0x20 [ 20.089604] [] ? selinux_file_permission+0x82/0x460 [ 20.096236] [] ? security_file_permission+0x89/0x1e0 [ 20.102954] [] ? rw_verify_area+0xe5/0x2b0 [ 20.108804] [] vfs_read+0x11e/0x380 [ 20.114047] [] SyS_read+0xd9/0x1b0 [ 20.119203] [] ? vfs_copy_file_range+0x740/0x740 [ 20.125589] [] ? compat_SyS_ioctl+0x8c/0x2050 [ 20.131704] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.137901] [] ? vfs_copy_file_range+0x740/0x740 [ 20.144270] [] do_fast_syscall_32+0x2f7/0x890 [ 20.150380] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.157016] [] entry_SYSENTER_compat+0x74/0x83 [ 20.163689] Dumping ftrace buffer: [ 20.167201] (ftrace buffer empty) [ 20.170885] Kernel Offset: disabled [ 20.174484] Rebooting in 86400 seconds..