[....] Starting enhanced syslogd: rsyslogd[ 10.557651] audit: type=1400 audit(1515321407.870:4): avc: denied { syslog } for pid=3170 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.17' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.754567] ================================================================== [ 19.755657] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.756620] Read of size 8 at addr ffff8801cae7c140 by task syzkaller487095/3319 [ 19.757632] [ 19.757881] CPU: 0 PID: 3319 Comm: syzkaller487095 Not tainted 4.9.75-g5f5e5d4 #17 [ 19.759155] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.760392] ffff8801c9b27940 ffffffff81d93049 ffffea00072b9f00 ffff8801cae7c140 [ 19.761539] 0000000000000000 ffff8801cae7c140 ffff8801c8490238 ffff8801c9b27978 [ 19.762683] ffffffff8153ca53 ffff8801cae7c140 0000000000000008 0000000000000000 [ 19.763828] Call Trace: [ 19.764182] [] dump_stack+0xc1/0x128 [ 19.764892] [] print_address_description+0x73/0x280 [ 19.765768] [] kasan_report+0x275/0x360 [ 19.766516] [] ? sg_remove_request+0x103/0x120 [ 19.767385] [] __asan_report_load8_noabort+0x14/0x20 [ 19.768286] [] sg_remove_request+0x103/0x120 [ 19.769082] [] sg_finish_rem_req+0x295/0x340 [ 19.769897] [] sg_read+0xa1c/0x1440 [ 19.770593] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.771479] [] ? fsnotify+0xf30/0xf30 [ 19.772219] [] ? avc_policy_seqno+0x9/0x20 [ 19.773008] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 19.773941] [] ? security_file_permission+0x89/0x1e0 [ 19.775904] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.782793] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.789424] [] compat_do_readv_writev+0x522/0x760 [ 19.795885] [] ? do_pwritev+0x1a0/0x1a0 [ 19.801477] [] ? _raw_spin_unlock+0x2c/0x50 [ 19.807413] [] ? handle_mm_fault+0x6ee/0x2530 [ 19.813542] [] ? fasync_helper+0x7a/0xb0 [ 19.819242] [] ? __pmd_alloc+0x410/0x410 [ 19.824920] [] compat_readv+0xe3/0x150 [ 19.830421] [] do_compat_readv+0xf4/0x1d0 [ 19.836181] [] ? compat_readv+0x150/0x150 [ 19.841939] [] compat_SyS_readv+0x26/0x30 [ 19.847700] [] ? SyS_pwritev2+0x80/0x80 [ 19.853292] [] do_fast_syscall_32+0x2f7/0x890 [ 19.859397] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.866037] [] entry_SYSENTER_compat+0x74/0x83 [ 19.872229] [ 19.873819] Allocated by task 0: [ 19.877150] (stack is not available) [ 19.880823] [ 19.882415] Freed by task 0: [ 19.885391] (stack is not available) [ 19.889064] [ 19.890655] The buggy address belongs to the object at ffff8801cae7c100 [ 19.890655] which belongs to the cache fasync_cache of size 96 [ 19.903270] The buggy address is located 64 bytes inside of [ 19.903270] 96-byte region [ffff8801cae7c100, ffff8801cae7c160) [ 19.914930] The buggy address belongs to the page: [ 19.919826] page:ffffea00072b9f00 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.928049] flags: 0x8000000000000080(slab) [ 19.932331] page dumped because: kasan: bad access detected [ 19.938001] [ 19.939592] Memory state around the buggy address: [ 19.944482] ffff8801cae7c000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.951807] ffff8801cae7c080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.959132] >ffff8801cae7c100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.966454] ^ [ 19.972473] ffff8801cae7c180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.979800] ffff8801cae7c200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.987123] ================================================================== [ 19.994441] Disabling lock debugging due to kernel taint [ 19.999909] Kernel panic - not syncing: panic_on_warn set ... [ 19.999909] [ 20.007249] CPU: 0 PID: 3319 Comm: syzkaller487095 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 20.016131] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.025455] ffff8801c9b27898 ffffffff81d93049 ffffffff84195be7 ffff8801c9b27970 [ 20.033403] 0000000000000000 ffff8801cae7c140 ffff8801c8490238 ffff8801c9b27960 [ 20.041348] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 20.049293] Call Trace: [ 20.051845] [] dump_stack+0xc1/0x128 [ 20.057174] [] panic+0x1bc/0x3a8 [ 20.062155] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.070346] [] ? preempt_schedule+0x25/0x30 [ 20.076283] [] ? ___preempt_schedule+0x16/0x18 [ 20.082483] [] kasan_end_report+0x50/0x50 [ 20.088242] [] kasan_report+0x167/0x360 [ 20.093828] [] ? sg_remove_request+0x103/0x120 [ 20.100021] [] __asan_report_load8_noabort+0x14/0x20 [ 20.106737] [] sg_remove_request+0x103/0x120 [ 20.112755] [] sg_finish_rem_req+0x295/0x340 [ 20.118782] [] sg_read+0xa1c/0x1440 [ 20.124023] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.130651] [] ? fsnotify+0xf30/0xf30 [ 20.136063] [] ? avc_policy_seqno+0x9/0x20 [ 20.141913] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.148889] [] ? security_file_permission+0x89/0x1e0 [ 20.155600] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.162229] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.168860] [] compat_do_readv_writev+0x522/0x760 [ 20.175313] [] ? do_pwritev+0x1a0/0x1a0 [ 20.180903] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.188638] [] ? handle_mm_fault+0x6ee/0x2530 [ 20.194747] [] ? fasync_helper+0x7a/0xb0 [ 20.200427] [] ? __pmd_alloc+0x410/0x410 [ 20.206099] [] compat_readv+0xe3/0x150 [ 20.212103] [] do_compat_readv+0xf4/0x1d0 [ 20.217868] [] ? compat_readv+0x150/0x150 [ 20.223633] [] compat_SyS_readv+0x26/0x30 [ 20.229513] [] ? SyS_pwritev2+0x80/0x80 [ 20.235378] [] do_fast_syscall_32+0x2f7/0x890 [ 20.243226] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 20.249857] [] entry_SYSENTER_compat+0x74/0x83 [ 20.256450] Dumping ftrace buffer: [ 20.259952] (ftrace buffer empty) [ 20.263624] Kernel Offset: disabled [ 20.267213] Rebooting in 86400 seconds..