[....] Starting enhanced syslogd: rsyslogd[ 12.606580] audit: type=1400 audit(1515416035.763:4): avc: denied { syslog } for pid=3167 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.21' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 19.450073] ================================================================== [ 19.457516] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.464586] Read of size 8 at addr ffff8801c96ce240 by task syzkaller514960/3326 [ 19.472083] [ 19.473681] CPU: 1 PID: 3326 Comm: syzkaller514960 Not tainted 4.9.75-g5f5e5d4 #7 [ 19.481268] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.490603] ffff8801c8767ab0 ffffffff81d93049 ffffea000725b380 ffff8801c96ce240 [ 19.498559] 0000000000000000 ffff8801c96ce240 ffff8801c878c438 ffff8801c8767ae8 [ 19.506523] ffffffff8153ca53 ffff8801c96ce240 0000000000000008 0000000000000000 [ 19.514477] Call Trace: [ 19.517041] [] dump_stack+0xc1/0x128 [ 19.522376] [] print_address_description+0x73/0x280 [ 19.529007] [] kasan_report+0x275/0x360 [ 19.534599] [] ? sg_remove_request+0x103/0x120 [ 19.540808] [] __asan_report_load8_noabort+0x14/0x20 [ 19.547551] [] sg_remove_request+0x103/0x120 [ 19.553583] [] sg_finish_rem_req+0x295/0x340 [ 19.559615] [] sg_read+0xa1c/0x1440 [ 19.564859] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.571498] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.578480] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.585116] [] __vfs_read+0x103/0x670 [ 19.590538] [] ? default_llseek+0x290/0x290 [ 19.596478] [] ? fsnotify+0x86/0xf30 [ 19.601808] [] ? fsnotify+0xf30/0xf30 [ 19.607318] [] ? avc_policy_seqno+0x9/0x20 [ 19.613179] [] ? selinux_file_permission+0x82/0x460 [ 19.619812] [] ? security_file_permission+0x89/0x1e0 [ 19.626534] [] ? rw_verify_area+0xe5/0x2b0 [ 19.632409] [] vfs_read+0x11e/0x380 [ 19.637668] [] SyS_read+0xd9/0x1b0 [ 19.642858] [] ? vfs_copy_file_range+0x740/0x740 [ 19.649257] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.656069] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.662624] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.669166] [ 19.670761] Allocated by task 0: [ 19.674089] (stack is not available) [ 19.677852] [ 19.679445] Freed by task 0: [ 19.682424] (stack is not available) [ 19.686098] [ 19.687692] The buggy address belongs to the object at ffff8801c96ce200 [ 19.687692] which belongs to the cache fasync_cache of size 96 [ 19.700313] The buggy address is located 64 bytes inside of [ 19.700313] 96-byte region [ffff8801c96ce200, ffff8801c96ce260) [ 19.711977] The buggy address belongs to the page: [ 19.716877] page:ffffea000725b380 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.725368] flags: 0x8000000000000080(slab) [ 19.729654] page dumped because: kasan: bad access detected [ 19.735337] [ 19.736932] Memory state around the buggy address: [ 19.741833] ffff8801c96ce100: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc executing program [ 19.749158] ffff8801c96ce180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.756482] >ffff8801c96ce200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.763808] ^ [ 19.769224] ffff8801c96ce280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.776547] ffff8801c96ce300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.783870] ================================================================== [ 19.791195] Disabling lock debugging due to kernel taint [ 19.797277] Kernel panic - not syncing: panic_on_warn set ... [ 19.797277] [ 19.804659] CPU: 1 PID: 3326 Comm: syzkaller514960 Tainted: G B 4.9.75-g5f5e5d4 #7 [ 19.813469] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.822793] ffff8801c8767a08 ffffffff81d93049 ffffffff84195be7 ffff8801c8767ae0 [ 19.830791] 0000000000000000 ffff8801c96ce240 ffff8801c878c438 ffff8801c8767ad0 [ 19.838752] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 19.846731] Call Trace: [ 19.849296] [] dump_stack+0xc1/0x128 [ 19.854630] [] panic+0x1bc/0x3a8 [ 19.859616] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.867820] [] ? preempt_schedule+0x25/0x30 [ 19.873760] [] ? ___preempt_schedule+0x16/0x18 [ 19.879962] [] kasan_end_report+0x50/0x50 [ 19.885730] [] kasan_report+0x167/0x360 [ 19.891326] [] ? sg_remove_request+0x103/0x120 [ 19.897526] [] __asan_report_load8_noabort+0x14/0x20 [ 19.904246] [] sg_remove_request+0x103/0x120 [ 19.910272] [] sg_finish_rem_req+0x295/0x340 [ 19.916298] [] sg_read+0xa1c/0x1440 [ 19.921546] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.928180] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.935161] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.941797] [] __vfs_read+0x103/0x670 [ 19.947215] [] ? default_llseek+0x290/0x290 [ 19.953159] [] ? fsnotify+0x86/0xf30 [ 19.958491] [] ? fsnotify+0xf30/0xf30 [ 19.963911] [] ? avc_policy_seqno+0x9/0x20 [ 19.969774] [] ? selinux_file_permission+0x82/0x460 [ 19.976496] [] ? security_file_permission+0x89/0x1e0 [ 19.983218] [] ? rw_verify_area+0xe5/0x2b0 [ 19.989071] [] vfs_read+0x11e/0x380 [ 19.994314] [] SyS_read+0xd9/0x1b0 [ 19.999473] [] ? vfs_copy_file_range+0x740/0x740 [ 20.005846] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.012656] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.019207] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.026199] Dumping ftrace buffer: [ 20.029708] (ftrace buffer empty) [ 20.033389] Kernel Offset: disabled [ 20.036983] Rebooting in 86400 seconds..