[....] Starting enhanced syslogd: rsyslogd[ 10.628698] audit: type=1400 audit(1515321404.085:4): avc: denied { syslog } for pid=3191 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.15.224' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 22.195412] ================================================================== [ 22.196551] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 22.197482] Read of size 8 at addr ffff8801ca97f140 by task syzkaller823304/3346 [ 22.198503] [ 22.198738] CPU: 0 PID: 3346 Comm: syzkaller823304 Not tainted 4.9.75-g5f5e5d4 #7 [ 22.199751] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.200990] ffff8801c8337ab0 ffffffff81d93049 ffffea00072a5fc0 ffff8801ca97f140 [ 22.202118] 0000000000000000 ffff8801ca97f140 ffff8801c48ea338 ffff8801c8337ae8 [ 22.203259] ffffffff8153ca53 ffff8801ca97f140 0000000000000008 0000000000000000 [ 22.204391] Call Trace: [ 22.204746] [] dump_stack+0xc1/0x128 [ 22.205504] [] print_address_description+0x73/0x280 [ 22.206411] [] kasan_report+0x275/0x360 [ 22.207164] [] ? sg_remove_request+0x103/0x120 [ 22.208001] [] __asan_report_load8_noabort+0x14/0x20 [ 22.208901] [] sg_remove_request+0x103/0x120 [ 22.209697] [] sg_finish_rem_req+0x295/0x340 [ 22.210494] [] sg_read+0xa1c/0x1440 [ 22.211191] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.212067] [] ? fasync_insert_entry+0x147/0x2e0 [ 22.212919] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.213794] [] __vfs_read+0x103/0x670 [ 22.214513] [] ? default_llseek+0x290/0x290 [ 22.215312] [] ? fsnotify+0x86/0xf30 [ 22.219318] [] ? fsnotify+0xf30/0xf30 [ 22.224734] [] ? avc_policy_seqno+0x9/0x20 [ 22.230592] [] ? selinux_file_permission+0x82/0x460 [ 22.237223] [] ? security_file_permission+0x89/0x1e0 [ 22.243940] [] ? rw_verify_area+0xe5/0x2b0 [ 22.249787] [] vfs_read+0x11e/0x380 [ 22.255040] [] SyS_read+0xd9/0x1b0 [ 22.260197] [] ? vfs_copy_file_range+0x740/0x740 [ 22.266657] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 22.273464] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.280010] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 22.286552] [ 22.288146] Allocated by task 0: [ 22.291485] (stack is not available) [ 22.295168] [ 22.296760] Freed by task 0: [ 22.299741] (stack is not available) [ 22.303417] [ 22.305009] The buggy address belongs to the object at ffff8801ca97f100 [ 22.305009] which belongs to the cache fasync_cache of size 96 [ 22.317635] The buggy address is located 64 bytes inside of [ 22.317635] 96-byte region [ffff8801ca97f100, ffff8801ca97f160) [ 22.329297] The buggy address belongs to the page: [ 22.334277] page:ffffea00072a5fc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 22.342506] flags: 0x8000000000000080(slab) [ 22.346793] page dumped because: kasan: bad access detected [ 22.352466] [ 22.354059] Memory state around the buggy address: [ 22.358952] ffff8801ca97f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 22.366276] ffff8801ca97f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.373601] >ffff8801ca97f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.380925] ^ [ 22.386346] ffff8801ca97f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.393669] ffff8801ca97f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 22.400991] ================================================================== [ 22.408312] Disabling lock debugging due to kernel taint [ 22.413930] Kernel panic - not syncing: panic_on_warn set ... [ 22.413930] [ 22.421261] CPU: 0 PID: 3346 Comm: syzkaller823304 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 22.430069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.439390] ffff8801c8337a08 ffffffff81d93049 ffffffff84195be7 ffff8801c8337ae0 [ 22.447368] 0000000000000000 ffff8801ca97f140 ffff8801c48ea338 ffff8801c8337ad0 [ 22.455321] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 22.463266] Call Trace: [ 22.465818] [] dump_stack+0xc1/0x128 [ 22.471147] [] panic+0x1bc/0x3a8 [ 22.476129] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 22.484324] [] ? preempt_schedule+0x25/0x30 [ 22.490257] [] ? ___preempt_schedule+0x16/0x18 [ 22.496454] [] kasan_end_report+0x50/0x50 [ 22.502227] [] kasan_report+0x167/0x360 [ 22.507820] [] ? sg_remove_request+0x103/0x120 [ 22.514016] [] __asan_report_load8_noabort+0x14/0x20 [ 22.520732] [] sg_remove_request+0x103/0x120 [ 22.526764] [] sg_finish_rem_req+0x295/0x340 [ 22.532784] [] sg_read+0xa1c/0x1440 [ 22.538024] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.544655] [] ? fasync_insert_entry+0x147/0x2e0 [ 22.551023] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 22.557652] [] __vfs_read+0x103/0x670 [ 22.563075] [] ? default_llseek+0x290/0x290 [ 22.569022] [] ? fsnotify+0x86/0xf30 [ 22.574349] [] ? fsnotify+0xf30/0xf30 [ 22.579765] [] ? avc_policy_seqno+0x9/0x20 [ 22.585613] [] ? selinux_file_permission+0x82/0x460 [ 22.592243] [] ? security_file_permission+0x89/0x1e0 [ 22.598961] [] ? rw_verify_area+0xe5/0x2b0 [ 22.604809] [] vfs_read+0x11e/0x380 [ 22.610052] [] SyS_read+0xd9/0x1b0 [ 22.615206] [] ? vfs_copy_file_range+0x740/0x740 [ 22.621578] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 22.628382] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.634927] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 22.641510] Dumping ftrace buffer: [ 22.645019] (ftrace buffer empty) [ 22.648694] Kernel Offset: disabled [ 22.652290] Rebooting in 86400 seconds..