[....] Starting enhanced syslogd: rsyslogd[ 13.364295] audit: type=1400 audit(1516121875.812: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.45' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 24.177988] ================================================================== [ 24.185368] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 24.192437] Read of size 8 at addr ffff8801cc6c3140 by task syzkaller714554/3328 [ 24.199940] [ 24.201541] CPU: 0 PID: 3328 Comm: syzkaller714554 Not tainted 4.9.76-g8dec074 #23 [ 24.209214] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.218536] ffff8801c8fb7940 ffffffff81d93169 ffffea000731b0c0 ffff8801cc6c3140 [ 24.226525] 0000000000000000 ffff8801cc6c3140 ffff8801c8fa2338 ffff8801c8fb7978 [ 24.234490] ffffffff8153cb43 ffff8801cc6c3140 0000000000000008 0000000000000000 [ 24.242452] Call Trace: [ 24.245007] [] dump_stack+0xc1/0x128 [ 24.250349] [] print_address_description+0x73/0x280 [ 24.256982] [] kasan_report+0x275/0x360 [ 24.262574] [] ? sg_remove_request+0x103/0x120 [ 24.268774] [] __asan_report_load8_noabort+0x14/0x20 [ 24.275496] [] sg_remove_request+0x103/0x120 [ 24.281523] [] sg_finish_rem_req+0x295/0x340 [ 24.287549] [] sg_read+0xa1c/0x1440 [ 24.292796] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.299429] [] ? fsnotify+0xf30/0xf30 [ 24.304852] [] ? avc_policy_seqno+0x9/0x20 [ 24.310708] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.317700] [] ? security_file_permission+0x89/0x1e0 [ 24.324433] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.331068] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.337703] [] compat_do_readv_writev+0x522/0x760 [ 24.344170] [] ? do_pwritev+0x1a0/0x1a0 [ 24.349777] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.355715] [] ? __fget+0x201/0x3a0 [ 24.360960] [] ? __fget+0x228/0x3a0 [ 24.366203] [] ? __fget+0x47/0x3a0 [ 24.371361] [] compat_readv+0xe3/0x150 [ 24.376867] [] do_compat_readv+0xf4/0x1d0 [ 24.382633] [] ? compat_readv+0x150/0x150 [ 24.388406] [] compat_SyS_readv+0x26/0x30 [ 24.394171] [] ? SyS_pwritev2+0x80/0x80 [ 24.399765] [] do_fast_syscall_32+0x2f7/0x890 [ 24.405877] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.412510] [] entry_SYSENTER_compat+0x74/0x83 [ 24.418706] [ 24.420303] Allocated by task 0: [ 24.423633] (stack is not available) [ 24.427311] [ 24.428906] Freed by task 0: [ 24.431891] (stack is not available) [ 24.435567] [ 24.437162] The buggy address belongs to the object at ffff8801cc6c3100 [ 24.437162] which belongs to the cache fasync_cache of size 96 [ 24.449787] The buggy address is located 64 bytes inside of [ 24.449787] 96-byte region [ffff8801cc6c3100, ffff8801cc6c3160) [ 24.461452] The buggy address belongs to the page: [ 24.466348] page:ffffea000731b0c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 24.474573] flags: 0x8000000000000080(slab) [ 24.478861] page dumped because: kasan: bad access detected [ 24.484535] [ 24.486129] Memory state around the buggy address: [ 24.491026] ffff8801cc6c3000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 24.498352] ffff8801cc6c3080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.505677] >ffff8801cc6c3100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.513001] ^ [ 24.518420] ffff8801cc6c3180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.525743] ffff8801cc6c3200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.533067] ================================================================== [ 24.540394] Disabling lock debugging due to kernel taint [ 24.546142] Kernel panic - not syncing: panic_on_warn set ... [ 24.546142] [ 24.553509] CPU: 0 PID: 3328 Comm: syzkaller714554 Tainted: G B 4.9.76-g8dec074 #23 [ 24.562399] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.571723] ffff8801c8fb7898 ffffffff81d93169 ffffffff84195c2f ffff8801c8fb7970 [ 24.579699] 0000000000000000 ffff8801cc6c3140 ffff8801c8fa2338 ffff8801c8fb7960 [ 24.587681] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 24.595650] Call Trace: [ 24.598209] [] dump_stack+0xc1/0x128 [ 24.603542] [] panic+0x1bc/0x3a8 [ 24.608535] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 24.616742] [] ? preempt_schedule+0x25/0x30 [ 24.622685] [] ? ___preempt_schedule+0x16/0x18 [ 24.628887] [] kasan_end_report+0x50/0x50 [ 24.634655] [] kasan_report+0x167/0x360 [ 24.640250] [] ? sg_remove_request+0x103/0x120 [ 24.646453] [] __asan_report_load8_noabort+0x14/0x20 [ 24.653172] [] sg_remove_request+0x103/0x120 [ 24.659206] [] sg_finish_rem_req+0x295/0x340 [ 24.665233] [] sg_read+0xa1c/0x1440 [ 24.670479] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.677116] [] ? fsnotify+0xf30/0xf30 [ 24.682536] [] ? avc_policy_seqno+0x9/0x20 [ 24.688391] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 24.695376] [] ? security_file_permission+0x89/0x1e0 [ 24.702109] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.708752] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 24.715387] [] compat_do_readv_writev+0x522/0x760 [ 24.721848] [] ? do_pwritev+0x1a0/0x1a0 [ 24.727456] [] ? _raw_spin_unlock+0x2c/0x50 [ 24.733399] [] ? __fget+0x201/0x3a0 [ 24.738644] [] ? __fget+0x228/0x3a0 [ 24.743888] [] ? __fget+0x47/0x3a0 [ 24.749046] [] compat_readv+0xe3/0x150 [ 24.754552] [] do_compat_readv+0xf4/0x1d0 [ 24.760322] [] ? compat_readv+0x150/0x150 [ 24.766089] [] compat_SyS_readv+0x26/0x30 [ 24.771855] [] ? SyS_pwritev2+0x80/0x80 [ 24.777457] [] do_fast_syscall_32+0x2f7/0x890 [ 24.783569] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.790207] [] entry_SYSENTER_compat+0x74/0x83 [ 24.796904] Dumping ftrace buffer: [ 24.800430] (ftrace buffer empty) [ 24.804113] Kernel Offset: disabled [ 24.807712] Rebooting in 86400 seconds..