[....] Starting enhanced syslogd: rsyslogd[ 11.278902] audit: type=1400 audit(1516111247.977: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: [ 20.380979] ================================================================== [ 20.382269] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.383387] Read of size 8 at addr ffff8801c94cc140 by task syzkaller999932/3322 [ 20.384399] [ 20.384633] CPU: 0 PID: 3322 Comm: syzkaller999932 Not tainted 4.9.76-g8dec074 #13 [ 20.385643] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.386904] ffff8801c91ef9b0 ffffffff81d93169 ffffea0007253300 ffff8801c94cc140 [ 20.388044] 0000000000000000 ffff8801c94cc140 ffff8801c922c438 ffff8801c91ef9e8 [ 20.389190] ffffffff8153cb43 ffff8801c94cc140 0000000000000008 0000000000000000 [ 20.390428] Call Trace: [ 20.390849] [] dump_stack+0xc1/0x128 [ 20.391605] [] print_address_description+0x73/0x280 [ 20.392514] [] kasan_report+0x275/0x360 [ 20.393269] [] ? sg_remove_request+0x103/0x120 [ 20.394111] [] __asan_report_load8_noabort+0x14/0x20 [ 20.394997] [] sg_remove_request+0x103/0x120 [ 20.395795] [] sg_finish_rem_req+0x295/0x340 [ 20.396592] [] sg_read+0xa1c/0x1440 [ 20.397330] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.398262] [] ? fsnotify+0xf30/0xf30 [ 20.399019] [] ? avc_policy_seqno+0x9/0x20 [ 20.399844] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.400800] [] ? security_file_permission+0x89/0x1e0 [ 20.406332] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.412971] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.419604] [] do_readv_writev+0x520/0x750 [ 20.425457] [] ? vfs_write+0x530/0x530 [ 20.430969] [] ? __fget+0x201/0x3a0 [ 20.436212] [] ? __fget+0x228/0x3a0 [ 20.441458] [] ? __fget+0x47/0x3a0 [ 20.446626] [] vfs_readv+0x84/0xc0 [ 20.451786] [] do_readv+0xe6/0x250 [ 20.456943] [] ? vfs_readv+0xc0/0xc0 [ 20.462273] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 20.468922] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.475731] [] SyS_readv+0x27/0x30 [ 20.480889] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.487434] [ 20.489031] Allocated by task 0: [ 20.492362] (stack is not available) [ 20.496037] [ 20.497631] Freed by task 0: [ 20.500615] (stack is not available) [ 20.504292] [ 20.505892] The buggy address belongs to the object at ffff8801c94cc100 [ 20.505892] which belongs to the cache fasync_cache of size 96 [ 20.518517] The buggy address is located 64 bytes inside of [ 20.518517] 96-byte region [ffff8801c94cc100, ffff8801c94cc160) [ 20.530196] The buggy address belongs to the page: [ 20.535091] page:ffffea0007253300 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.543325] flags: 0x8000000000000080(slab) [ 20.547611] page dumped because: kasan: bad access detected [ 20.553284] [ 20.554875] Memory state around the buggy address: [ 20.559771] ffff8801c94cc000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.567096] ffff8801c94cc080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.574422] >ffff8801c94cc100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.581747] ^ [ 20.587180] ffff8801c94cc180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.594516] ffff8801c94cc200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.601840] ================================================================== [ 20.609166] Disabling lock debugging due to kernel taint [ 20.614876] Kernel panic - not syncing: panic_on_warn set ... [ 20.614876] [ 20.622224] CPU: 0 PID: 3322 Comm: syzkaller999932 Tainted: G B 4.9.76-g8dec074 #13 [ 20.631128] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.640713] ffff8801c91ef908 ffffffff81d93169 ffffffff84195c2f ffff8801c91ef9e0 [ 20.648663] 0000000000000000 ffff8801c94cc140 ffff8801c922c438 ffff8801c91ef9d0 [ 20.656632] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 20.664585] Call Trace: [ 20.667146] [] dump_stack+0xc1/0x128 [ 20.672480] [] panic+0x1bc/0x3a8 [ 20.677474] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.685672] [] ? preempt_schedule+0x25/0x30 [ 20.691611] [] ? ___preempt_schedule+0x16/0x18 [ 20.697817] [] kasan_end_report+0x50/0x50 [ 20.703580] [] kasan_report+0x167/0x360 [ 20.709173] [] ? sg_remove_request+0x103/0x120 [ 20.715372] [] __asan_report_load8_noabort+0x14/0x20 [ 20.722093] [] sg_remove_request+0x103/0x120 [ 20.728117] [] sg_finish_rem_req+0x295/0x340 [ 20.734140] [] sg_read+0xa1c/0x1440 [ 20.739382] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.746015] [] ? fsnotify+0xf30/0xf30 [ 20.751435] [] ? avc_policy_seqno+0x9/0x20 [ 20.757290] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.764270] [] ? security_file_permission+0x89/0x1e0 [ 20.770991] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.777626] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.784261] [] do_readv_writev+0x520/0x750 [ 20.790116] [] ? vfs_write+0x530/0x530 [ 20.795623] [] ? __fget+0x201/0x3a0 [ 20.800864] [] ? __fget+0x228/0x3a0 [ 20.806113] [] ? __fget+0x47/0x3a0 [ 20.811283] [] vfs_readv+0x84/0xc0 [ 20.816439] [] do_readv+0xe6/0x250 [ 20.821617] [] ? vfs_readv+0xc0/0xc0 [ 20.826965] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 20.833606] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.840504] [] SyS_readv+0x27/0x30 [ 20.845663] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.852861] Dumping ftrace buffer: [ 20.856370] (ftrace buffer empty) [ 20.860049] Kernel Offset: disabled [ 20.863655] Rebooting in 86400 seconds..