[....] Starting enhanced syslogd: rsyslogd[ 12.418035] audit: type=1400 audit(1516219189.848:4): avc: denied { syslog } for pid=3163 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.0.36' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 27.763825] ================================================================== [ 27.771218] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.778296] Read of size 8 at addr ffff8801cb586140 by task syzkaller234732/3328 [ 27.785800] [ 27.787409] CPU: 1 PID: 3328 Comm: syzkaller234732 Not tainted 4.9.77-g033d019 #14 [ 27.795085] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.804410] ffff8801c8ae7ab0 ffffffff81d941c9 ffffea00072d6180 ffff8801cb586140 [ 27.812390] 0000000000000000 ffff8801cb586140 ffff8801c8d32338 ffff8801c8ae7ae8 [ 27.820367] ffffffff8153db93 ffff8801cb586140 0000000000000008 0000000000000000 [ 27.828341] Call Trace: [ 27.830903] [] dump_stack+0xc1/0x128 [ 27.836242] [] print_address_description+0x73/0x280 [ 27.842879] [] kasan_report+0x275/0x360 [ 27.848476] [] ? sg_remove_request+0x103/0x120 [ 27.854679] [] __asan_report_load8_noabort+0x14/0x20 [ 27.861403] [] sg_remove_request+0x103/0x120 [ 27.867430] [] sg_finish_rem_req+0x295/0x340 [ 27.873458] [] sg_read+0xa1c/0x1440 [ 27.878708] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.885346] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.892329] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.898970] [] __vfs_read+0x103/0x670 [ 27.904389] [] ? default_llseek+0x290/0x290 [ 27.910328] [] ? fsnotify+0x86/0xf30 [ 27.915660] [] ? fsnotify+0xf30/0xf30 [ 27.921081] [] ? avc_policy_seqno+0x9/0x20 [ 27.926934] [] ? selinux_file_permission+0x82/0x460 [ 27.933570] [] ? security_file_permission+0x89/0x1e0 [ 27.940291] [] ? rw_verify_area+0xe5/0x2b0 [ 27.946145] [] vfs_read+0x11e/0x380 [ 27.951391] [] SyS_read+0xd9/0x1b0 [ 27.956551] [] ? vfs_copy_file_range+0x740/0x740 [ 27.962939] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.969749] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.976297] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.982842] [ 27.984440] Allocated by task 0: [ 27.987773] (stack is not available) [ 27.991459] [ 27.993058] Freed by task 0: [ 27.996043] (stack is not available) [ 27.999722] [ 28.001319] The buggy address belongs to the object at ffff8801cb586100 [ 28.001319] which belongs to the cache fasync_cache of size 96 [ 28.013944] The buggy address is located 64 bytes inside of [ 28.013944] 96-byte region [ffff8801cb586100, ffff8801cb586160) [ 28.025612] The buggy address belongs to the page: [ 28.030514] page:ffffea00072d6180 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.038740] flags: 0x8000000000000080(slab) [ 28.043029] page dumped because: kasan: bad access detected [ 28.048703] [ 28.050298] Memory state around the buggy address: [ 28.055197] ffff8801cb586000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.062532] ffff8801cb586080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.069860] >ffff8801cb586100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.077188] ^ [ 28.082605] ffff8801cb586180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.089939] ffff8801cb586200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.097264] ================================================================== [ 28.104591] Disabling lock debugging due to kernel taint [ 28.113175] Kernel panic - not syncing: panic_on_warn set ... [ 28.113175] [ 28.120554] CPU: 1 PID: 3328 Comm: syzkaller234732 Tainted: G B 4.9.77-g033d019 #14 [ 28.129449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.138773] ffff8801c8ae7a08 ffffffff81d941c9 ffffffff841970ff ffff8801c8ae7ae0 [ 28.146763] 0000000000000000 ffff8801cb586140 ffff8801c8d32338 ffff8801c8ae7ad0 [ 28.154741] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 28.162720] Call Trace: [ 28.165282] [] dump_stack+0xc1/0x128 [ 28.170622] [] panic+0x1bc/0x3a8 [ 28.175615] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.183815] [] ? preempt_schedule+0x25/0x30 [ 28.189758] [] ? ___preempt_schedule+0x16/0x18 [ 28.195963] [] kasan_end_report+0x50/0x50 [ 28.201734] [] kasan_report+0x167/0x360 [ 28.207330] [] ? sg_remove_request+0x103/0x120 [ 28.213533] [] __asan_report_load8_noabort+0x14/0x20 [ 28.220255] [] sg_remove_request+0x103/0x120 [ 28.226284] [] sg_finish_rem_req+0x295/0x340 [ 28.232310] [] sg_read+0xa1c/0x1440 [ 28.237558] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.244206] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 28.251202] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.257849] [] __vfs_read+0x103/0x670 [ 28.263271] [] ? default_llseek+0x290/0x290 [ 28.269215] [] ? fsnotify+0x86/0xf30 [ 28.274549] [] ? fsnotify+0xf30/0xf30 [ 28.279971] [] ? avc_policy_seqno+0x9/0x20 [ 28.285833] [] ? selinux_file_permission+0x82/0x460 [ 28.292468] [] ? security_file_permission+0x89/0x1e0 [ 28.299189] [] ? rw_verify_area+0xe5/0x2b0 [ 28.305044] [] vfs_read+0x11e/0x380 [ 28.310291] [] SyS_read+0xd9/0x1b0 [ 28.315456] [] ? vfs_copy_file_range+0x740/0x740 [ 28.321832] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.328640] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.335190] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 29.492786] Shutting down cpus with NMI [ 29.497223] Dumping ftrace buffer: [ 29.500733] (ftrace buffer empty) [ 29.504411] Kernel Offset: disabled [ 29.508007] Rebooting in 86400 seconds..