[....] Starting enhanced syslogd: rsyslogd[ 10.162355] audit: type=1400 audit(1516278799.598:4): avc: denied { syslog } for pid=3175 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.206' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 46.385489] ================================================================== [ 46.386612] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 46.387558] Read of size 8 at addr ffff8801c8695140 by task syzkaller419201/3361 [ 46.388555] [ 46.388792] CPU: 1 PID: 3361 Comm: syzkaller419201 Not tainted 4.9.77-g033d019 #14 [ 46.389933] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.391216] ffff8801c68af9b0 ffffffff81d941c9 ffffea000721a540 ffff8801c8695140 [ 46.392524] 0000000000000000 ffff8801c8695140 ffff8801c719a338 ffff8801c68af9e8 [ 46.393718] ffffffff8153db93 ffff8801c8695140 0000000000000008 0000000000000000 [ 46.395024] Call Trace: [ 46.395496] [] dump_stack+0xc1/0x128 [ 46.396229] [] print_address_description+0x73/0x280 [ 46.397115] [] kasan_report+0x275/0x360 [ 46.397901] [] ? sg_remove_request+0x103/0x120 [ 46.398735] [] __asan_report_load8_noabort+0x14/0x20 [ 46.399638] [] sg_remove_request+0x103/0x120 [ 46.400457] [] sg_finish_rem_req+0x295/0x340 [ 46.401257] [] sg_read+0xa1c/0x1440 [ 46.401961] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.402841] [] ? fsnotify+0xf30/0xf30 [ 46.403565] [] ? avc_policy_seqno+0x9/0x20 [ 46.404398] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 46.405340] [] ? security_file_permission+0x89/0x1e0 [ 46.406241] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.412877] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.419518] [] do_readv_writev+0x520/0x750 [ 46.425377] [] ? vfs_write+0x530/0x530 [ 46.430887] [] ? _raw_spin_unlock+0x2c/0x50 [ 46.436830] [] ? __pmd_alloc+0x410/0x410 [ 46.442517] [] ? __do_page_fault+0x5ec/0xd40 [ 46.448561] [] vfs_readv+0x84/0xc0 [ 46.453725] [] do_readv+0xe6/0x250 [ 46.458887] [] ? vfs_readv+0xc0/0xc0 [ 46.464237] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 46.470964] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 46.477864] [] SyS_readv+0x27/0x30 [ 46.483028] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 46.489573] [ 46.491172] Allocated by task 0: [ 46.494507] (stack is not available) [ 46.498187] [ 46.499784] Freed by task 0: [ 46.502769] (stack is not available) [ 46.506448] [ 46.508048] The buggy address belongs to the object at ffff8801c8695100 [ 46.508048] which belongs to the cache fasync_cache of size 96 [ 46.520684] The buggy address is located 64 bytes inside of [ 46.520684] 96-byte region [ffff8801c8695100, ffff8801c8695160) [ 46.532357] The buggy address belongs to the page: [ 46.537259] page:ffffea000721a540 count:1 mapcount:0 mapping: (null) index:0x0 [ 46.545495] flags: 0x8000000000000080(slab) [ 46.549782] page dumped because: kasan: bad access detected [ 46.555462] [ 46.557056] Memory state around the buggy address: [ 46.561954] ffff8801c8695000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 46.569284] ffff8801c8695080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.576613] >ffff8801c8695100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.583942] ^ [ 46.589374] ffff8801c8695180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.596712] ffff8801c8695200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.604045] ================================================================== [ 46.611376] Disabling lock debugging due to kernel taint [ 46.617152] Kernel panic - not syncing: panic_on_warn set ... [ 46.617152] [ 46.624505] CPU: 1 PID: 3361 Comm: syzkaller419201 Tainted: G B 4.9.77-g033d019 #14 [ 46.633398] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.642727] ffff8801c68af908 ffffffff81d941c9 ffffffff841970ff ffff8801c68af9e0 [ 46.650712] 0000000000000000 ffff8801c8695140 ffff8801c719a338 ffff8801c68af9d0 [ 46.659301] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 46.667292] Call Trace: [ 46.669855] [] dump_stack+0xc1/0x128 [ 46.675201] [] panic+0x1bc/0x3a8 [ 46.680189] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 46.688392] [] ? preempt_schedule+0x25/0x30 [ 46.694339] [] ? ___preempt_schedule+0x16/0x18 [ 46.700543] [] kasan_end_report+0x50/0x50 [ 46.706317] [] kasan_report+0x167/0x360 [ 46.711921] [] ? sg_remove_request+0x103/0x120 [ 46.718126] [] __asan_report_load8_noabort+0x14/0x20 [ 46.724850] [] sg_remove_request+0x103/0x120 [ 46.730878] [] sg_finish_rem_req+0x295/0x340 [ 46.736924] [] sg_read+0xa1c/0x1440 [ 46.742173] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.748810] [] ? fsnotify+0xf30/0xf30 [ 46.754237] [] ? avc_policy_seqno+0x9/0x20 [ 46.760109] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 46.767115] [] ? security_file_permission+0x89/0x1e0 [ 46.773841] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.780482] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 46.787135] [] do_readv_writev+0x520/0x750 [ 46.793004] [] ? vfs_write+0x530/0x530 [ 46.798514] [] ? _raw_spin_unlock+0x2c/0x50 [ 46.804459] [] ? __pmd_alloc+0x410/0x410 [ 46.810146] [] ? __do_page_fault+0x5ec/0xd40 [ 46.816183] [] vfs_readv+0x84/0xc0 [ 46.821350] [] do_readv+0xe6/0x250 [ 46.826512] [] ? vfs_readv+0xc0/0xc0 [ 46.831852] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 46.838493] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 46.845308] [] SyS_readv+0x27/0x30 [ 46.850472] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 46.857432] Dumping ftrace buffer: [ 46.860952] (ftrace buffer empty) [ 46.864634] Kernel Offset: disabled [ 46.868231] Rebooting in 86400 seconds..