[....] Starting enhanced syslogd: rsyslogd[ 13.177225] audit: type=1400 audit(1515806367.019: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 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.15.216' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.211438] ================================================================== [ 34.218840] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 34.225908] Read of size 8 at addr ffff8801c96fc140 by task syzkaller191587/3338 [ 34.233402] [ 34.234998] CPU: 1 PID: 3338 Comm: syzkaller191587 Not tainted 4.9.76-g8e170a5 #11 [ 34.242674] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.251997] ffff8801c2017ab0 ffffffff81d93149 ffffea000725bf00 ffff8801c96fc140 [ 34.259944] 0000000000000000 ffff8801c96fc140 ffff8801c842a338 ffff8801c2017ae8 [ 34.267899] ffffffff8153cb43 ffff8801c96fc140 0000000000000008 0000000000000000 [ 34.275854] Call Trace: [ 34.278423] [] dump_stack+0xc1/0x128 [ 34.283763] [] print_address_description+0x73/0x280 [ 34.290403] [] kasan_report+0x275/0x360 [ 34.296011] [] ? sg_remove_request+0x103/0x120 [ 34.302212] [] __asan_report_load8_noabort+0x14/0x20 [ 34.308933] [] sg_remove_request+0x103/0x120 [ 34.315050] [] sg_finish_rem_req+0x295/0x340 [ 34.321093] [] sg_read+0xa1c/0x1440 [ 34.326342] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.332980] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.339961] [] ? fasync_helper+0x37/0xb0 [ 34.345638] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.352284] [] __vfs_read+0x103/0x670 [ 34.357703] [] ? default_llseek+0x290/0x290 [ 34.363650] [] ? fsnotify+0x86/0xf30 [ 34.368992] [] ? fsnotify+0xf30/0xf30 [ 34.374413] [] ? avc_policy_seqno+0x9/0x20 [ 34.380280] [] ? selinux_file_permission+0x82/0x460 [ 34.386933] [] ? security_file_permission+0x89/0x1e0 [ 34.393670] [] ? rw_verify_area+0xe5/0x2b0 [ 34.399527] [] vfs_read+0x11e/0x380 [ 34.404771] [] SyS_read+0xd9/0x1b0 [ 34.409927] [] ? vfs_copy_file_range+0x740/0x740 [ 34.416304] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.423134] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.429696] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.436237] [ 34.437859] Allocated by task 0: [ 34.441194] (stack is not available) [ 34.444876] [ 34.446470] Freed by task 0: [ 34.449451] (stack is not available) [ 34.453130] [ 34.454725] The buggy address belongs to the object at ffff8801c96fc100 [ 34.454725] which belongs to the cache fasync_cache of size 96 [ 34.467350] The buggy address is located 64 bytes inside of [ 34.467350] 96-byte region [ffff8801c96fc100, ffff8801c96fc160) [ 34.479029] The buggy address belongs to the page: [ 34.483930] page:ffffea000725bf00 count:1 mapcount:0 mapping: (null) index:0x0 [ 34.492164] flags: 0x8000000000000080(slab) [ 34.496446] page dumped because: kasan: bad access detected [ 34.502117] [ 34.503707] Memory state around the buggy address: [ 34.508689] ffff8801c96fc000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 34.516012] ffff8801c96fc080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.523337] >ffff8801c96fc100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.530665] ^ [ 34.536080] ffff8801c96fc180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.543412] ffff8801c96fc200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 34.550735] ================================================================== [ 34.558060] Disabling lock debugging due to kernel taint [ 34.564041] Kernel panic - not syncing: panic_on_warn set ... [ 34.564041] [ 34.571392] CPU: 1 PID: 3338 Comm: syzkaller191587 Tainted: G B 4.9.76-g8e170a5 #11 [ 34.580303] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.589637] ffff8801c2017a08 ffffffff81d93149 ffffffff84195c17 ffff8801c2017ae0 [ 34.597582] 0000000000000000 ffff8801c96fc140 ffff8801c842a338 ffff8801c2017ad0 [ 34.605535] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 34.613487] Call Trace: [ 34.616049] [] dump_stack+0xc1/0x128 [ 34.621407] [] panic+0x1bc/0x3a8 [ 34.626651] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 34.634862] [] ? preempt_schedule+0x25/0x30 [ 34.640807] [] ? ___preempt_schedule+0x16/0x18 [ 34.647020] [] kasan_end_report+0x50/0x50 [ 34.652803] [] kasan_report+0x167/0x360 [ 34.658396] [] ? sg_remove_request+0x103/0x120 [ 34.664598] [] __asan_report_load8_noabort+0x14/0x20 [ 34.671342] [] sg_remove_request+0x103/0x120 [ 34.677384] [] sg_finish_rem_req+0x295/0x340 [ 34.683427] [] sg_read+0xa1c/0x1440 [ 34.688673] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.695310] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 34.702289] [] ? fasync_helper+0x37/0xb0 [ 34.707977] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.714608] [] __vfs_read+0x103/0x670 [ 34.720029] [] ? default_llseek+0x290/0x290 [ 34.725968] [] ? fsnotify+0x86/0xf30 [ 34.731303] [] ? fsnotify+0xf30/0xf30 [ 34.736730] [] ? avc_policy_seqno+0x9/0x20 [ 34.742589] [] ? selinux_file_permission+0x82/0x460 [ 34.749571] [] ? security_file_permission+0x89/0x1e0 [ 34.756293] [] ? rw_verify_area+0xe5/0x2b0 [ 34.762157] [] vfs_read+0x11e/0x380 [ 34.767410] [] SyS_read+0xd9/0x1b0 [ 34.773010] [] ? vfs_copy_file_range+0x740/0x740 [ 34.779395] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.786205] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.792754] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.799346] Dumping ftrace buffer: [ 34.802854] (ftrace buffer empty) [ 34.806529] Kernel Offset: disabled [ 34.810124] Rebooting in 86400 seconds..