[....] Starting enhanced syslogd: rsyslogd[ 11.209180] audit: type=1400 audit(1515409952.939:4): avc: denied { syslog } for pid=3176 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.27' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.037620] ================================================================== [ 19.045009] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.052169] Read of size 8 at addr ffff8801ca0e6140 by task syzkaller792413/3324 [ 19.059764] [ 19.061377] CPU: 1 PID: 3324 Comm: syzkaller792413 Not tainted 4.9.75-g5f5e5d4 #17 [ 19.069064] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.078406] ffff8801c8c8fa50 ffffffff81d93049 ffffea0007283980 ffff8801ca0e6140 [ 19.086404] 0000000000000000 ffff8801ca0e6140 ffff8801c88ba338 ffff8801c8c8fa88 [ 19.094376] ffffffff8153ca53 ffff8801ca0e6140 0000000000000008 0000000000000000 [ 19.102348] Call Trace: [ 19.104916] [] dump_stack+0xc1/0x128 [ 19.110257] [] print_address_description+0x73/0x280 [ 19.116910] [] kasan_report+0x275/0x360 [ 19.122523] [] ? sg_remove_request+0x103/0x120 [ 19.128740] [] __asan_report_load8_noabort+0x14/0x20 [ 19.135479] [] sg_remove_request+0x103/0x120 [ 19.141520] [] sg_finish_rem_req+0x295/0x340 [ 19.147544] [] sg_read+0xa1c/0x1440 [ 19.152786] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.159433] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.165818] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.172632] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.179274] [] __vfs_read+0x103/0x670 [ 19.184702] [] ? default_llseek+0x290/0x290 [ 19.190639] [] ? fsnotify+0x86/0xf30 [ 19.195990] [] ? fsnotify+0xf30/0xf30 [ 19.201423] [] ? avc_policy_seqno+0x9/0x20 [ 19.207292] [] ? selinux_file_permission+0x82/0x460 [ 19.213933] [] ? security_file_permission+0x89/0x1e0 [ 19.220651] [] ? rw_verify_area+0xe5/0x2b0 [ 19.226499] [] vfs_read+0x11e/0x380 [ 19.231755] [] SyS_read+0xd9/0x1b0 [ 19.236919] [] ? vfs_copy_file_range+0x740/0x740 [ 19.243291] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.249490] [] ? vfs_copy_file_range+0x740/0x740 [ 19.255860] [] do_fast_syscall_32+0x2f7/0x890 [ 19.261971] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.268610] [] entry_SYSENTER_compat+0x74/0x83 [ 19.274803] [ 19.276398] Allocated by task 0: [ 19.279726] (stack is not available) [ 19.283409] [ 19.285001] Freed by task 0: [ 19.287979] (stack is not available) [ 19.291651] [ 19.293243] The buggy address belongs to the object at ffff8801ca0e6100 [ 19.293243] which belongs to the cache fasync_cache of size 96 [ 19.305869] The buggy address is located 64 bytes inside of [ 19.305869] 96-byte region [ffff8801ca0e6100, ffff8801ca0e6160) [ 19.317544] The buggy address belongs to the page: [ 19.322460] page:ffffea0007283980 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.330684] flags: 0x8000000000000080(slab) [ 19.334973] page dumped because: kasan: bad access detected [ 19.340646] [ 19.342236] Memory state around the buggy address: [ 19.347129] ffff8801ca0e6000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.354457] ffff8801ca0e6080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.361781] >ffff8801ca0e6100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.369120] ^ [ 19.374553] ffff8801ca0e6180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.381892] ffff8801ca0e6200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.389225] ================================================================== [ 19.396560] Disabling lock debugging due to kernel taint [ 19.402186] Kernel panic - not syncing: panic_on_warn set ... [ 19.402186] [ 19.409534] CPU: 1 PID: 3324 Comm: syzkaller792413 Tainted: G B 4.9.75-g5f5e5d4 #17 [ 19.418433] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.427768] ffff8801c8c8f9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c8c8fa80 [ 19.435752] 0000000000000000 ffff8801ca0e6140 ffff8801c88ba338 ffff8801c8c8fa70 [ 19.443698] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 19.451656] Call Trace: [ 19.454212] [] dump_stack+0xc1/0x128 [ 19.459550] [] panic+0x1bc/0x3a8 [ 19.464541] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.472760] [] ? preempt_schedule+0x25/0x30 [ 19.478723] [] ? ___preempt_schedule+0x16/0x18 [ 19.484956] [] kasan_end_report+0x50/0x50 [ 19.490743] [] kasan_report+0x167/0x360 [ 19.496341] [] ? sg_remove_request+0x103/0x120 [ 19.502544] [] __asan_report_load8_noabort+0x14/0x20 [ 19.509274] [] sg_remove_request+0x103/0x120 [ 19.515314] [] sg_finish_rem_req+0x295/0x340 [ 19.521346] [] sg_read+0xa1c/0x1440 [ 19.526615] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.533264] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.539647] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.546467] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.553101] [] __vfs_read+0x103/0x670 [ 19.558527] [] ? default_llseek+0x290/0x290 [ 19.564581] [] ? fsnotify+0x86/0xf30 [ 19.569926] [] ? fsnotify+0xf30/0xf30 [ 19.575346] [] ? avc_policy_seqno+0x9/0x20 [ 19.581201] [] ? selinux_file_permission+0x82/0x460 [ 19.587840] [] ? security_file_permission+0x89/0x1e0 [ 19.594568] [] ? rw_verify_area+0xe5/0x2b0 [ 19.600416] [] vfs_read+0x11e/0x380 [ 19.605660] [] SyS_read+0xd9/0x1b0 [ 19.610816] [] ? vfs_copy_file_range+0x740/0x740 [ 19.617200] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.623425] [] ? vfs_copy_file_range+0x740/0x740 [ 19.629825] [] do_fast_syscall_32+0x2f7/0x890 [ 19.635949] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.642589] [] entry_SYSENTER_compat+0x74/0x83 [ 19.649275] Dumping ftrace buffer: [ 19.652793] (ftrace buffer empty) [ 19.656472] Kernel Offset: disabled [ 19.660064] Rebooting in 86400 seconds..