[....] Starting enhanced syslogd: rsyslogd[ 11.323581] audit: type=1400 audit(1515938564.409:4): avc: denied { syslog } for pid=3173 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.16' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.614853] ================================================================== [ 18.615941] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.616887] Read of size 8 at addr ffff8801c8de7140 by task syzkaller258463/3321 [ 18.617949] [ 18.618185] CPU: 0 PID: 3321 Comm: syzkaller258463 Not tainted 4.9.76-gf0f6293 #12 [ 18.619228] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.620629] ffff8801c82079b0 ffffffff81d93149 ffffea00072379c0 ffff8801c8de7140 [ 18.621777] 0000000000000000 ffff8801c8de7140 ffff8801c8328238 ffff8801c82079e8 [ 18.622926] ffffffff8153cb43 ffff8801c8de7140 0000000000000008 0000000000000000 [ 18.624180] Call Trace: [ 18.624565] [] dump_stack+0xc1/0x128 [ 18.625291] [] print_address_description+0x73/0x280 [ 18.626257] [] kasan_report+0x275/0x360 [ 18.627026] [] ? sg_remove_request+0x103/0x120 [ 18.627899] [] __asan_report_load8_noabort+0x14/0x20 [ 18.628849] [] sg_remove_request+0x103/0x120 [ 18.629649] [] sg_finish_rem_req+0x295/0x340 [ 18.630461] [] sg_read+0xa1c/0x1440 [ 18.631160] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.632062] [] ? fsnotify+0xf30/0xf30 [ 18.632784] [] ? avc_policy_seqno+0x9/0x20 [ 18.633575] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 18.634533] [] ? security_file_permission+0x89/0x1e0 [ 18.638567] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.645200] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.651839] [] do_readv_writev+0x520/0x750 [ 18.657700] [] ? vfs_write+0x530/0x530 [ 18.663208] [] ? __pmd_alloc+0x410/0x410 [ 18.668891] [] ? dev_seq_stop+0x50/0x50 [ 18.674490] [] ? __do_page_fault+0x5ec/0xd40 [ 18.680519] [] vfs_readv+0x84/0xc0 [ 18.685675] [] do_readv+0xe6/0x250 [ 18.690833] [] ? vfs_readv+0xc0/0xc0 [ 18.696169] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 18.702812] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.709634] [] SyS_readv+0x27/0x30 [ 18.714796] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 18.721338] [ 18.722934] Allocated by task 0: [ 18.726268] (stack is not available) [ 18.729945] [ 18.731540] Freed by task 0: [ 18.734524] (stack is not available) [ 18.738201] [ 18.739797] The buggy address belongs to the object at ffff8801c8de7100 [ 18.739797] which belongs to the cache fasync_cache of size 96 [ 18.752435] The buggy address is located 64 bytes inside of [ 18.752435] 96-byte region [ffff8801c8de7100, ffff8801c8de7160) [ 18.764100] The buggy address belongs to the page: [ 18.769001] page:ffffea00072379c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 18.777228] flags: 0x8000000000000080(slab) [ 18.781515] page dumped because: kasan: bad access detected [ 18.787192] [ 18.788788] Memory state around the buggy address: [ 18.793694] ffff8801c8de7000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 18.801026] ffff8801c8de7080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.808351] >ffff8801c8de7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.815676] ^ [ 18.821091] ffff8801c8de7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.828422] ffff8801c8de7200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.835748] ================================================================== [ 18.843071] Disabling lock debugging due to kernel taint [ 18.848802] Kernel panic - not syncing: panic_on_warn set ... [ 18.848802] [ 18.856150] CPU: 0 PID: 3321 Comm: syzkaller258463 Tainted: G B 4.9.76-gf0f6293 #12 [ 18.865044] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.874373] ffff8801c8207908 ffffffff81d93149 ffffffff84195c17 ffff8801c82079e0 [ 18.882342] 0000000000000000 ffff8801c8de7140 ffff8801c8328238 ffff8801c82079d0 [ 18.890310] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 18.898291] Call Trace: [ 18.900868] [] dump_stack+0xc1/0x128 [ 18.906207] [] panic+0x1bc/0x3a8 [ 18.911199] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 18.919401] [] ? preempt_schedule+0x25/0x30 [ 18.925355] [] ? ___preempt_schedule+0x16/0x18 [ 18.931559] [] kasan_end_report+0x50/0x50 [ 18.937326] [] kasan_report+0x167/0x360 [ 18.942923] [] ? sg_remove_request+0x103/0x120 [ 18.949125] [] __asan_report_load8_noabort+0x14/0x20 [ 18.955845] [] sg_remove_request+0x103/0x120 [ 18.961875] [] sg_finish_rem_req+0x295/0x340 [ 18.967899] [] sg_read+0xa1c/0x1440 [ 18.973143] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.979779] [] ? fsnotify+0xf30/0xf30 [ 18.985197] [] ? avc_policy_seqno+0x9/0x20 [ 18.991053] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 18.998036] [] ? security_file_permission+0x89/0x1e0 [ 19.004766] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.011399] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.018036] [] do_readv_writev+0x520/0x750 [ 19.023887] [] ? vfs_write+0x530/0x530 [ 19.029393] [] ? __pmd_alloc+0x410/0x410 [ 19.035079] [] ? dev_seq_stop+0x50/0x50 [ 19.040673] [] ? __do_page_fault+0x5ec/0xd40 [ 19.046699] [] vfs_readv+0x84/0xc0 [ 19.051855] [] do_readv+0xe6/0x250 [ 19.057012] [] ? vfs_readv+0xc0/0xc0 [ 19.062348] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 19.068986] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.075795] [] SyS_readv+0x27/0x30 [ 19.080952] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.087972] Dumping ftrace buffer: [ 19.091485] (ftrace buffer empty) [ 19.095165] Kernel Offset: disabled [ 19.098775] Rebooting in 86400 seconds..