[....] Starting enhanced syslogd: rsyslogd[ 10.664331] audit: type=1400 audit(1516098183.534: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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.4' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 32.314279] ================================================================== [ 32.315474] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 32.316505] Read of size 8 at addr ffff8801cca14540 by task syzkaller307545/3336 [ 32.317561] [ 32.317891] CPU: 0 PID: 3336 Comm: syzkaller307545 Not tainted 4.9.76-g8dec074 #23 [ 32.318913] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.320283] ffff8801cd5ef940 ffffffff81d93169 ffffea0007328500 ffff8801cca14540 [ 32.321597] 0000000000000000 ffff8801cca14540 ffff8801c927c438 ffff8801cd5ef978 [ 32.322924] ffffffff8153cb43 ffff8801cca14540 0000000000000008 0000000000000000 [ 32.324216] Call Trace: [ 32.324599] [] dump_stack+0xc1/0x128 [ 32.325342] [] print_address_description+0x73/0x280 [ 32.326293] [] kasan_report+0x275/0x360 [ 32.327071] [] ? sg_remove_request+0x103/0x120 [ 32.327918] [] __asan_report_load8_noabort+0x14/0x20 [ 32.328903] [] sg_remove_request+0x103/0x120 [ 32.329727] [] sg_finish_rem_req+0x295/0x340 [ 32.330547] [] sg_read+0xa1c/0x1440 [ 32.331295] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.332176] [] ? fsnotify+0xf30/0xf30 [ 32.332920] [] ? avc_policy_seqno+0x9/0x20 [ 32.333717] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 32.336461] [] ? security_file_permission+0x89/0x1e0 [ 32.343183] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.349832] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.356471] [] compat_do_readv_writev+0x522/0x760 [ 32.362936] [] ? do_pwritev+0x1a0/0x1a0 [ 32.368535] [] ? _raw_spin_unlock+0x2c/0x50 [ 32.374477] [] ? __fget+0x201/0x3a0 [ 32.379720] [] ? __fget+0x228/0x3a0 [ 32.384964] [] ? __fget+0x47/0x3a0 [ 32.390124] [] compat_readv+0xe3/0x150 [ 32.395630] [] do_compat_readv+0xf4/0x1d0 [ 32.401397] [] ? compat_readv+0x150/0x150 [ 32.407164] [] compat_SyS_readv+0x26/0x30 [ 32.412932] [] ? SyS_pwritev2+0x80/0x80 [ 32.418525] [] do_fast_syscall_32+0x2f7/0x890 [ 32.424640] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.431278] [] entry_SYSENTER_compat+0x74/0x83 [ 32.437489] [ 32.439088] Allocated by task 0: [ 32.442420] (stack is not available) [ 32.446098] [ 32.447708] Freed by task 0: [ 32.450694] (stack is not available) [ 32.454371] [ 32.455968] The buggy address belongs to the object at ffff8801cca14500 [ 32.455968] which belongs to the cache fasync_cache of size 96 [ 32.468593] The buggy address is located 64 bytes inside of [ 32.468593] 96-byte region [ffff8801cca14500, ffff8801cca14560) [ 32.480261] The buggy address belongs to the page: [ 32.485179] page:ffffea0007328500 count:1 mapcount:0 mapping: (null) index:0x0 [ 32.493411] flags: 0x8000000000000080(slab) [ 32.497700] page dumped because: kasan: bad access detected [ 32.503377] [ 32.504971] Memory state around the buggy address: executing program [ 32.509868] ffff8801cca14400: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 32.517200] ffff8801cca14480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.524543] >ffff8801cca14500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.531874] ^ [ 32.537291] ffff8801cca14580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.544620] ffff8801cca14600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.551947] ================================================================== [ 32.559274] Disabling lock debugging due to kernel taint [ 32.565964] Kernel panic - not syncing: panic_on_warn set ... [ 32.565964] [ 32.573323] CPU: 0 PID: 3336 Comm: syzkaller307545 Tainted: G B 4.9.76-g8dec074 #23 [ 32.582217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.591545] ffff8801cd5ef898 ffffffff81d93169 ffffffff84195c2f ffff8801cd5ef970 [ 32.599513] 0000000000000000 ffff8801cca14540 ffff8801c927c438 ffff8801cd5ef960 [ 32.607502] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 32.615467] Call Trace: [ 32.618026] [] dump_stack+0xc1/0x128 [ 32.623362] [] panic+0x1bc/0x3a8 [ 32.628357] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 32.636588] [] ? preempt_schedule+0x25/0x30 [ 32.642542] [] ? ___preempt_schedule+0x16/0x18 [ 32.648747] [] kasan_end_report+0x50/0x50 [ 32.654513] [] kasan_report+0x167/0x360 [ 32.660107] [] ? sg_remove_request+0x103/0x120 [ 32.666310] [] __asan_report_load8_noabort+0x14/0x20 [ 32.673044] [] sg_remove_request+0x103/0x120 [ 32.679071] [] sg_finish_rem_req+0x295/0x340 [ 32.685098] [] sg_read+0xa1c/0x1440 [ 32.690342] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.696979] [] ? fsnotify+0xf30/0xf30 [ 32.702400] [] ? avc_policy_seqno+0x9/0x20 [ 32.708256] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 32.715241] [] ? security_file_permission+0x89/0x1e0 [ 32.721965] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.728600] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 32.735236] [] compat_do_readv_writev+0x522/0x760 [ 32.741698] [] ? do_pwritev+0x1a0/0x1a0 [ 32.747294] [] ? _raw_spin_unlock+0x2c/0x50 [ 32.753236] [] ? __fget+0x201/0x3a0 [ 32.758481] [] ? __fget+0x228/0x3a0 [ 32.763726] [] ? __fget+0x47/0x3a0 [ 32.768889] [] compat_readv+0xe3/0x150 [ 32.774394] [] do_compat_readv+0xf4/0x1d0 [ 32.780162] [] ? compat_readv+0x150/0x150 [ 32.785927] [] compat_SyS_readv+0x26/0x30 [ 32.791698] [] ? SyS_pwritev2+0x80/0x80 [ 32.797293] [] do_fast_syscall_32+0x2f7/0x890 [ 32.803405] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.810042] [] entry_SYSENTER_compat+0x74/0x83 [ 33.904592] Shutting down cpus with NMI [ 33.908980] Dumping ftrace buffer: [ 33.912492] (ftrace buffer empty) [ 33.916174] Kernel Offset: disabled [ 33.919770] Rebooting in 86400 seconds..