[....] Starting enhanced syslogd: rsyslogd[ 13.945097] audit: type=1400 audit(1516126462.489:4): avc: denied { syslog } for pid=3171 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.38' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.396148] ================================================================== [ 27.403526] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.410594] Read of size 8 at addr ffff8801ccc36140 by task syzkaller804259/3327 [ 27.418090] [ 27.419687] CPU: 0 PID: 3327 Comm: syzkaller804259 Not tainted 4.9.76-g8dec074 #23 [ 27.427358] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.436686] ffff8801c9ea7940 ffffffff81d93169 ffffea0007330d80 ffff8801ccc36140 [ 27.444649] 0000000000000000 ffff8801ccc36140 ffff8801c99a2338 ffff8801c9ea7978 [ 27.452612] ffffffff8153cb43 ffff8801ccc36140 0000000000000008 0000000000000000 [ 27.460569] Call Trace: [ 27.463126] [] dump_stack+0xc1/0x128 [ 27.468457] [] print_address_description+0x73/0x280 [ 27.475093] [] kasan_report+0x275/0x360 [ 27.480687] [] ? sg_remove_request+0x103/0x120 [ 27.486885] [] __asan_report_load8_noabort+0x14/0x20 [ 27.493606] [] sg_remove_request+0x103/0x120 [ 27.499637] [] sg_finish_rem_req+0x295/0x340 [ 27.505667] [] sg_read+0xa1c/0x1440 [ 27.510910] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.517542] [] ? fsnotify+0xf30/0xf30 [ 27.522962] [] ? avc_policy_seqno+0x9/0x20 [ 27.528815] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.535802] [] ? security_file_permission+0x89/0x1e0 [ 27.542521] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.549154] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.555793] [] compat_do_readv_writev+0x522/0x760 [ 27.562257] [] ? do_pwritev+0x1a0/0x1a0 [ 27.567848] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.573788] [] ? __pmd_alloc+0x410/0x410 [ 27.579467] [] compat_readv+0xe3/0x150 [ 27.584969] [] do_compat_readv+0xf4/0x1d0 [ 27.590732] [] ? compat_readv+0x150/0x150 [ 27.596495] [] compat_SyS_readv+0x26/0x30 [ 27.602261] [] ? SyS_pwritev2+0x80/0x80 [ 27.607852] [] do_fast_syscall_32+0x2f7/0x890 [ 27.613964] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.620598] [] entry_SYSENTER_compat+0x74/0x83 [ 27.626794] [ 27.628391] Allocated by task 0: [ 27.631733] (stack is not available) [ 27.635410] [ 27.637011] Freed by task 0: [ 27.639992] (stack is not available) [ 27.643672] [ 27.645267] The buggy address belongs to the object at ffff8801ccc36100 [ 27.645267] which belongs to the cache fasync_cache of size 96 [ 27.657888] The buggy address is located 64 bytes inside of [ 27.657888] 96-byte region [ffff8801ccc36100, ffff8801ccc36160) [ 27.669559] The buggy address belongs to the page: [ 27.674458] page:ffffea0007330d80 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.682679] flags: 0x8000000000000080(slab) [ 27.686964] page dumped because: kasan: bad access detected [ 27.692646] [ 27.694238] Memory state around the buggy address: [ 27.699132] ffff8801ccc36000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.706460] ffff8801ccc36080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.713787] >ffff8801ccc36100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.721111] ^ [ 27.726527] ffff8801ccc36180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.733852] ffff8801ccc36200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.741174] ================================================================== [ 27.748498] Disabling lock debugging due to kernel taint [ 27.754179] Kernel panic - not syncing: panic_on_warn set ... [ 27.754179] [ 27.761526] CPU: 0 PID: 3327 Comm: syzkaller804259 Tainted: G B 4.9.76-g8dec074 #23 [ 27.770416] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.779740] ffff8801c9ea7898 ffffffff81d93169 ffffffff84195c2f ffff8801c9ea7970 [ 27.787697] 0000000000000000 ffff8801ccc36140 ffff8801c99a2338 ffff8801c9ea7960 [ 27.795658] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 27.803620] Call Trace: [ 27.806179] [] dump_stack+0xc1/0x128 [ 27.811511] [] panic+0x1bc/0x3a8 [ 27.816514] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.824710] [] ? preempt_schedule+0x25/0x30 [ 27.830647] [] ? ___preempt_schedule+0x16/0x18 [ 27.836847] [] kasan_end_report+0x50/0x50 [ 27.842612] [] kasan_report+0x167/0x360 [ 27.848201] [] ? sg_remove_request+0x103/0x120 [ 27.854401] [] __asan_report_load8_noabort+0x14/0x20 [ 27.861123] [] sg_remove_request+0x103/0x120 [ 27.867147] [] sg_finish_rem_req+0x295/0x340 [ 27.873171] [] sg_read+0xa1c/0x1440 [ 27.878422] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.885058] [] ? fsnotify+0xf30/0xf30 [ 27.890479] [] ? avc_policy_seqno+0x9/0x20 [ 27.896331] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 27.903317] [] ? security_file_permission+0x89/0x1e0 [ 27.910044] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.916676] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.923309] [] compat_do_readv_writev+0x522/0x760 [ 27.929767] [] ? do_pwritev+0x1a0/0x1a0 [ 27.935358] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.941296] [] ? __pmd_alloc+0x410/0x410 [ 27.946978] [] compat_readv+0xe3/0x150 [ 27.952483] [] do_compat_readv+0xf4/0x1d0 [ 27.958249] [] ? compat_readv+0x150/0x150 [ 27.964016] [] compat_SyS_readv+0x26/0x30 [ 27.969779] [] ? SyS_pwritev2+0x80/0x80 [ 27.975369] [] do_fast_syscall_32+0x2f7/0x890 [ 27.981482] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.988114] [] entry_SYSENTER_compat+0x74/0x83 [ 27.994755] Dumping ftrace buffer: [ 27.998268] (ftrace buffer empty) [ 28.001944] Kernel Offset: disabled [ 28.005539] Rebooting in 86400 seconds..