[....] Starting enhanced syslogd: rsyslogd[ 12.302552] audit: type=1400 audit(1519795142.340:4): avc: denied { syslog } for pid=3642 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.63' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 39.518581] ================================================================== [ 39.526001] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 39.533072] Read of size 8 at addr ffff8801bf40d140 by task syzkaller984743/3808 [ 39.540573] [ 39.542180] CPU: 1 PID: 3808 Comm: syzkaller984743 Not tainted 4.9.84-ge7f51a5 #45 [ 39.549854] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.559178] ffff8801d7617a60 ffffffff81d956b9 ffffea0006fd0340 ffff8801bf40d140 [ 39.567148] 0000000000000000 ffff8801bf40d140 ffff8801d77f0238 ffff8801d7617a98 [ 39.575124] ffffffff8153e1a3 ffff8801bf40d140 0000000000000008 0000000000000000 [ 39.583097] Call Trace: [ 39.585659] [] dump_stack+0xc1/0x128 [ 39.590995] [] print_address_description+0x73/0x280 [ 39.597635] [] kasan_report+0x275/0x360 [ 39.603227] [] ? sg_remove_request+0x103/0x120 [ 39.609429] [] __asan_report_load8_noabort+0x14/0x20 [ 39.616152] [] sg_remove_request+0x103/0x120 [ 39.622176] [] sg_finish_rem_req+0x295/0x340 [ 39.628203] [] sg_read+0xa16/0x1440 [ 39.633449] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 39.640083] [] ? fasync_insert_entry+0x147/0x2e0 [ 39.646454] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 39.653087] [] __vfs_read+0x103/0x670 [ 39.658505] [] ? default_llseek+0x290/0x290 [ 39.664445] [] ? fsnotify+0x86/0xf30 [ 39.669779] [] ? fsnotify+0xf30/0xf30 [ 39.675201] [] ? avc_policy_seqno+0x9/0x20 [ 39.681065] [] ? selinux_file_permission+0x82/0x460 [ 39.687698] [] ? security_file_permission+0x89/0x1e0 [ 39.694419] [] ? rw_verify_area+0xe5/0x2b0 [ 39.700273] [] vfs_read+0x11e/0x380 [ 39.705515] [] SyS_read+0xd9/0x1b0 [ 39.710671] [] ? vfs_copy_file_range+0x740/0x740 [ 39.717046] [] ? do_syscall_64+0x48/0x490 [ 39.722811] [] ? vfs_copy_file_range+0x740/0x740 [ 39.729181] [] do_syscall_64+0x1a4/0x490 [ 39.734860] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 39.741750] [ 39.743349] Allocated by task 0: [ 39.746679] (stack is not available) [ 39.750355] [ 39.751950] Freed by task 0: [ 39.754933] (stack is not available) [ 39.758613] [ 39.760209] The buggy address belongs to the object at ffff8801bf40d100 [ 39.760209] which belongs to the cache fasync_cache of size 96 [ 39.772829] The buggy address is located 64 bytes inside of [ 39.772829] 96-byte region [ffff8801bf40d100, ffff8801bf40d160) [ 39.784495] The buggy address belongs to the page: [ 39.789394] page:ffffea0006fd0340 count:1 mapcount:0 mapping: (null) index:0x0 [ 39.797617] flags: 0x8000000000000080(slab) [ 39.801903] page dumped because: kasan: bad access detected [ 39.807578] [ 39.809173] Memory state around the buggy address: [ 39.814076] ffff8801bf40d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 39.821403] ffff8801bf40d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.828737] >ffff8801bf40d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.836075] ^ [ 39.841494] ffff8801bf40d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.848823] ffff8801bf40d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.856147] ================================================================== [ 39.863471] Disabling lock debugging due to kernel taint [ 39.869123] Kernel panic - not syncing: panic_on_warn set ... [ 39.869123] [ 39.876461] CPU: 1 PID: 3808 Comm: syzkaller984743 Tainted: G B 4.9.84-ge7f51a5 #45 [ 39.885349] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.894679] ffff8801d76179b8 ffffffff81d956b9 ffffffff8419784f ffff8801d7617a90 [ 39.902647] 0000000000000000 ffff8801bf40d140 ffff8801d77f0238 ffff8801d7617a80 [ 39.910621] ffffffff8142f571 0000000041b58ab3 ffffffff8418b2c0 ffffffff8142f3b5 [ 39.918589] Call Trace: [ 39.921151] [] dump_stack+0xc1/0x128 [ 39.926485] [] panic+0x1bc/0x3a8 [ 39.931469] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 39.939669] [] ? preempt_schedule+0x25/0x30 [ 39.945609] [] ? ___preempt_schedule+0x16/0x18 [ 39.951811] [] kasan_end_report+0x50/0x50 [ 39.957575] [] kasan_report+0x167/0x360 [ 39.963170] [] ? sg_remove_request+0x103/0x120 [ 39.969368] [] __asan_report_load8_noabort+0x14/0x20 [ 39.976086] [] sg_remove_request+0x103/0x120 [ 39.982112] [] sg_finish_rem_req+0x295/0x340 [ 39.988135] [] sg_read+0xa16/0x1440 [ 39.993389] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 40.000025] [] ? fasync_insert_entry+0x147/0x2e0 [ 40.006397] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 40.013033] [] __vfs_read+0x103/0x670 [ 40.018449] [] ? default_llseek+0x290/0x290 [ 40.024387] [] ? fsnotify+0x86/0xf30 [ 40.029717] [] ? fsnotify+0xf30/0xf30 [ 40.035136] [] ? avc_policy_seqno+0x9/0x20 [ 40.040988] [] ? selinux_file_permission+0x82/0x460 [ 40.047622] [] ? security_file_permission+0x89/0x1e0 [ 40.054342] [] ? rw_verify_area+0xe5/0x2b0 [ 40.060194] [] vfs_read+0x11e/0x380 [ 40.065437] [] SyS_read+0xd9/0x1b0 [ 40.070595] [] ? vfs_copy_file_range+0x740/0x740 [ 40.076971] [] ? do_syscall_64+0x48/0x490 [ 40.082736] [] ? vfs_copy_file_range+0x740/0x740 [ 40.089110] [] do_syscall_64+0x1a4/0x490 [ 40.094788] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 40.102044] Dumping ftrace buffer: [ 40.105556] (ftrace buffer empty) [ 40.109234] Kernel Offset: disabled [ 40.112831] Rebooting in 86400 seconds..