[....] Starting enhanced syslogd: rsyslogd[ 10.731586] audit: type=1400 audit(1515305339.402:4): avc: denied { syslog } for pid=3177 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.56' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.854770] ================================================================== [ 30.855786] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 30.856734] Read of size 8 at addr ffff8801cc487140 by task syzkaller946116/3335 [ 30.857818] [ 30.858049] CPU: 0 PID: 3335 Comm: syzkaller946116 Not tainted 4.9.75-g5f5e5d4 #7 [ 30.859045] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.860324] ffff8801c7c6f9b0 ffffffff81d93049 ffffea00073121c0 ffff8801cc487140 [ 30.861540] 0000000000000000 ffff8801cc487140 ffff8801c9a58238 ffff8801c7c6f9e8 [ 30.862686] ffffffff8153ca53 ffff8801cc487140 0000000000000008 0000000000000000 [ 30.863815] Call Trace: [ 30.864189] [] dump_stack+0xc1/0x128 [ 30.864900] [] print_address_description+0x73/0x280 [ 30.865777] [] kasan_report+0x275/0x360 [ 30.866522] [] ? sg_remove_request+0x103/0x120 [ 30.867340] [] __asan_report_load8_noabort+0x14/0x20 [ 30.868224] [] sg_remove_request+0x103/0x120 [ 30.869020] [] sg_finish_rem_req+0x295/0x340 [ 30.869831] [] sg_read+0xa1c/0x1440 [ 30.870527] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.871402] [] ? fsnotify+0xf30/0xf30 [ 30.872122] [] ? avc_policy_seqno+0x9/0x20 [ 30.872896] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.873858] [] ? security_file_permission+0x89/0x1e0 [ 30.874774] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.880975] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.887605] [] do_readv_writev+0x520/0x750 [ 30.893452] [] ? vfs_write+0x530/0x530 [ 30.898952] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.904885] [] ? __pmd_alloc+0x410/0x410 [ 30.910563] [] ? __do_page_fault+0x5ec/0xd40 [ 30.916583] [] vfs_readv+0x84/0xc0 [ 30.921735] [] do_readv+0xe6/0x250 [ 30.926887] [] ? vfs_readv+0xc0/0xc0 [ 30.932211] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 30.938840] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 30.945642] [] SyS_readv+0x27/0x30 [ 30.950794] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 30.957335] [ 30.958927] Allocated by task 0: [ 30.962257] (stack is not available) [ 30.965929] [ 30.967519] Freed by task 0: [ 30.970500] (stack is not available) [ 30.974172] [ 30.975765] The buggy address belongs to the object at ffff8801cc487100 [ 30.975765] which belongs to the cache fasync_cache of size 96 [ 30.988384] The buggy address is located 64 bytes inside of [ 30.988384] 96-byte region [ffff8801cc487100, ffff8801cc487160) [ 31.000044] The buggy address belongs to the page: [ 31.004935] page:ffffea00073121c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 31.013149] flags: 0x8000000000000080(slab) [ 31.017440] page dumped because: kasan: bad access detected [ 31.023108] [ 31.024697] Memory state around the buggy address: [ 31.029587] ffff8801cc487000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 31.036910] ffff8801cc487080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.044229] >ffff8801cc487100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.051550] ^ [ 31.056961] ffff8801cc487180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.064281] ffff8801cc487200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.071611] ================================================================== [ 31.078930] Disabling lock debugging due to kernel taint [ 31.084406] Kernel panic - not syncing: panic_on_warn set ... [ 31.084406] [ 31.091739] CPU: 0 PID: 3335 Comm: syzkaller946116 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 31.100538] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.109861] ffff8801c7c6f908 ffffffff81d93049 ffffffff84195be7 ffff8801c7c6f9e0 [ 31.117815] 0000000000000000 ffff8801cc487140 ffff8801c9a58238 ffff8801c7c6f9d0 [ 31.125762] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 31.133705] Call Trace: [ 31.136260] [] dump_stack+0xc1/0x128 [ 31.141603] [] panic+0x1bc/0x3a8 [ 31.146583] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 31.154780] [] ? preempt_schedule+0x25/0x30 [ 31.160713] [] ? ___preempt_schedule+0x16/0x18 [ 31.166910] [] kasan_end_report+0x50/0x50 [ 31.172677] [] kasan_report+0x167/0x360 [ 31.178264] [] ? sg_remove_request+0x103/0x120 [ 31.184457] [] __asan_report_load8_noabort+0x14/0x20 [ 31.191174] [] sg_remove_request+0x103/0x120 [ 31.197194] [] sg_finish_rem_req+0x295/0x340 [ 31.203215] [] sg_read+0xa1c/0x1440 [ 31.208457] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.215087] [] ? fsnotify+0xf30/0xf30 [ 31.220503] [] ? avc_policy_seqno+0x9/0x20 [ 31.226367] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 31.233340] [] ? security_file_permission+0x89/0x1e0 [ 31.240056] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.246684] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 31.253314] [] do_readv_writev+0x520/0x750 [ 31.259162] [] ? vfs_write+0x530/0x530 [ 31.264663] [] ? _raw_spin_unlock+0x2c/0x50 [ 31.270596] [] ? __pmd_alloc+0x410/0x410 [ 31.276271] [] ? __do_page_fault+0x5ec/0xd40 [ 31.282298] [] vfs_readv+0x84/0xc0 [ 31.287459] [] do_readv+0xe6/0x250 [ 31.292612] [] ? vfs_readv+0xc0/0xc0 [ 31.297940] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 31.304570] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 31.311375] [] SyS_readv+0x27/0x30 [ 31.316675] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.323250] Dumping ftrace buffer: [ 31.326754] (ftrace buffer empty) [ 31.330433] Kernel Offset: disabled [ 31.334025] Rebooting in 86400 seconds..