[....] Starting enhanced syslogd: rsyslogd[ 10.707579] audit: type=1400 audit(1515368517.170:4): avc: denied { syslog } for pid=3182 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.15.192' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.182131] ================================================================== [ 20.183284] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.184244] Read of size 8 at addr ffff8801cab33140 by task syzkaller266886/3331 [ 20.185304] [ 20.185536] CPU: 0 PID: 3331 Comm: syzkaller266886 Not tainted 4.9.75-g5f5e5d4 #17 [ 20.186561] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.187807] ffff8801ca037a50 ffffffff81d93049 ffffea00072accc0 ffff8801cab33140 [ 20.188934] 0000000000000000 ffff8801cab33140 ffff8801cbb4a338 ffff8801ca037a88 [ 20.190063] ffffffff8153ca53 ffff8801cab33140 0000000000000008 0000000000000000 [ 20.191234] Call Trace: [ 20.191591] [] dump_stack+0xc1/0x128 [ 20.192304] [] print_address_description+0x73/0x280 [ 20.193191] [] kasan_report+0x275/0x360 [ 20.193933] [] ? sg_remove_request+0x103/0x120 [ 20.194763] [] __asan_report_load8_noabort+0x14/0x20 [ 20.195653] [] sg_remove_request+0x103/0x120 [ 20.196459] [] sg_finish_rem_req+0x295/0x340 [ 20.197277] [] sg_read+0xa1c/0x1440 [ 20.197975] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.198852] [] ? __raw_spin_lock_init+0x1c/0x100 [ 20.199705] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.200619] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.201495] [] __vfs_read+0x103/0x670 [ 20.202224] [] ? default_llseek+0x290/0x290 [ 20.208101] [] ? fsnotify+0x86/0xf30 [ 20.213429] [] ? fsnotify+0xf30/0xf30 [ 20.218846] [] ? avc_policy_seqno+0x9/0x20 [ 20.224717] [] ? selinux_file_permission+0x82/0x460 [ 20.231348] [] ? security_file_permission+0x89/0x1e0 [ 20.238067] [] ? rw_verify_area+0xe5/0x2b0 [ 20.243915] [] vfs_read+0x11e/0x380 [ 20.249157] [] SyS_read+0xd9/0x1b0 [ 20.254312] [] ? vfs_copy_file_range+0x740/0x740 [ 20.260706] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.266902] [] ? vfs_copy_file_range+0x740/0x740 [ 20.273272] [] do_fast_syscall_32+0x2f7/0x890 [ 20.279384] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.286017] [] entry_SYSENTER_compat+0x74/0x83 [ 20.292643] [ 20.294269] Allocated by task 0: [ 20.297605] (stack is not available) [ 20.301281] [ 20.302874] Freed by task 0: [ 20.305855] (stack is not available) [ 20.309529] [ 20.311134] The buggy address belongs to the object at ffff8801cab33100 [ 20.311134] which belongs to the cache fasync_cache of size 96 [ 20.323755] The buggy address is located 64 bytes inside of [ 20.323755] 96-byte region [ffff8801cab33100, ffff8801cab33160) [ 20.335415] The buggy address belongs to the page: [ 20.340311] page:ffffea00072accc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.348535] flags: 0x8000000000000080(slab) [ 20.352817] page dumped because: kasan: bad access detected [ 20.358499] [ 20.360092] Memory state around the buggy address: [ 20.364986] ffff8801cab33000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.372310] ffff8801cab33080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.379635] >ffff8801cab33100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.386958] ^ [ 20.392372] ffff8801cab33180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.399697] ffff8801cab33200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.407025] ================================================================== [ 20.414346] Disabling lock debugging due to kernel taint [ 20.419995] Kernel panic - not syncing: panic_on_warn set ... [ 20.419995] [ 20.427705] CPU: 0 PID: 3331 Comm: syzkaller266886 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 20.436594] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.445920] ffff8801ca0379a8 ffffffff81d93049 ffffffff84195be7 ffff8801ca037a80 [ 20.453869] 0000000000000000 ffff8801cab33140 ffff8801cbb4a338 ffff8801ca037a70 [ 20.461830] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 20.469793] Call Trace: [ 20.472358] [] dump_stack+0xc1/0x128 [ 20.477694] [] panic+0x1bc/0x3a8 [ 20.482686] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.490897] [] ? preempt_schedule+0x25/0x30 [ 20.496834] [] ? ___preempt_schedule+0x16/0x18 [ 20.503034] [] kasan_end_report+0x50/0x50 [ 20.508798] [] kasan_report+0x167/0x360 [ 20.514393] [] ? sg_remove_request+0x103/0x120 [ 20.520618] [] __asan_report_load8_noabort+0x14/0x20 [ 20.527346] [] sg_remove_request+0x103/0x120 [ 20.533369] [] sg_finish_rem_req+0x295/0x340 [ 20.539400] [] sg_read+0xa1c/0x1440 [ 20.544656] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.551293] [] ? __raw_spin_lock_init+0x1c/0x100 [ 20.557665] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.564475] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.571110] [] __vfs_read+0x103/0x670 [ 20.576536] [] ? default_llseek+0x290/0x290 [ 20.582486] [] ? fsnotify+0x86/0xf30 [ 20.587820] [] ? fsnotify+0xf30/0xf30 [ 20.593240] [] ? avc_policy_seqno+0x9/0x20 [ 20.599103] [] ? selinux_file_permission+0x82/0x460 [ 20.605737] [] ? security_file_permission+0x89/0x1e0 [ 20.612458] [] ? rw_verify_area+0xe5/0x2b0 [ 20.618313] [] vfs_read+0x11e/0x380 [ 20.623558] [] SyS_read+0xd9/0x1b0 [ 20.628716] [] ? vfs_copy_file_range+0x740/0x740 [ 20.635090] [] ? do_fast_syscall_32+0xcf/0x890 [ 20.641292] [] ? vfs_copy_file_range+0x740/0x740 [ 20.647663] [] do_fast_syscall_32+0x2f7/0x890 [ 20.653771] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.660423] [] entry_SYSENTER_compat+0x74/0x83 [ 20.666665] Dumping ftrace buffer: [ 20.670176] (ftrace buffer empty) [ 20.673865] Kernel Offset: disabled [ 20.677464] Rebooting in 86400 seconds..